HP 3000 Manuals

Improving Performance Under PROCMON [ HP RPG/iX Reference Manual ] MPE/iX 5.0 Documentation


HP RPG/iX Reference Manual

Improving Performance Under PROCMON 

If you're running a program that uses RSI under PROCMON, there are
several things that you can do to improve the program's performance:

   *   If you have a 2394A or 700/94 terminal, you can download RSI forms
       to terminal memory.  This saves time because the forms do not have
       to be transmitted to the terminal each time they are displayed.
       To download forms, enter a PROCMON DOWNLOAD command before
       executing the program.

   *   If your program is run frequently, you can suspend it at
       end-of-program rather than terminate it.  This saves time because
       the program does not have to be reloaded into memory and the files
       remain open.  To direct PROCMON to suspend a program, rather than
       terminate it, set the JCW RPGSUSP before executing the program.
       To rerun a suspended program, enter a RUN command for it.  For
       example, the following lines set "suspend mode" for program
       INV505P, run it for the first time, then rerun the program after
       it is suspended:

     :SETJCW RPGSUSP=1
     :RUN INV505P
       .
       .
       .
     :RUN INV505P

If a program is run in suspend mode as described above, you can save
additional time by downloading RSI forms.  When you do this, the forms
are downloaded once no matter how may times the program is executed.  It
is up to you to ensure that the forms in terminal memory remain unaltered
while the program is suspended.  To set suspend mode and to direct
PROCMON to leave the forms in terminal memory unaltered when the program
resumes, enter this command before executing the program:

     :SETJCW RPGSUSP=3

Additionally, if a program is run in suspend mode, you can direct PROCMON
to leave the function key labels unaltered when the program resumes.  To
activate the suspend feature and leave the function key labels unaltered,
enter this command before executing the program:

     :SETJCW RPGSUSP=5

To set suspend mode and leave both the forms and function keys unaltered
when the program resumes (to perform all of the functions discussed
above), enter this command:

     :SETJCW RPGSUSP=7

For additional information on the JCW RPGSUSP, see "Suspending an RPG
Program" under the SUSP Calculation Specification operation.


NOTE If your program behaves abnormally when running with RPGSUSP = 3, 5 or 7, the forms or function keys may have been altered while the program was suspended. If this happens, end the PROCMON session, then run it again.


MPE/iX 5.0 Documentation