CA SOLVE

Different Models in Script NCLs

  • 1.  Different Models in Script NCLs

    Posted 12-05-2013 05:13 AM

    When logging on to an Application via SOLVE:Access it may happen that the application does send different number of screens depending on the Model used. To be able to react on that you can use System Variables &MAICCOLS (number of columns used by current screen) and &MAISROWS (number of lines used by current screen). With these variables you can determine the current Model and then react individually in the script NCL. Here is an example for Model5:

     

         &IF 0&MAICCOLS > 080 &THEN &DO
         <model5-processing>
      &DOEND
      &ELSE &DO
         <model2/3/4-processing>
      &DOEND