Syntax elements of the CFS procedure mode


*002                           : Input for the selection mask
.label                         : Define targets for SKIP
* remark                       : Remark
*/cmd                          : execute a BS2000 command
*&var=var / 'string' <.var /..>: Assign value to procedure variable
*CON SYSCMD                    : Switch input to SYSCMD
*DIA cmd                       : Switch to user dialog
*EXIT                          : Terminate procedure
*IF &var vgl 'string' / &var-2 : Query procedure variable
*IF SETSW ON/OFF=n cmd         : Query task switch
*IF %OUT=item cmd              : Test display
*LV file <,C/O>                : Load procedure variable from file
*ON                            : Latent conditions in CFS procedures
*ON %ABEND .....               : Define latent condition
*ON %CMD .......               : Define latent condition
*ON %END .......               : Define latent condition
*ON %IN=........               : Define latent condition
*ON %INP .......               : Define latent condition
*ON %LST .......               : Define latent condition
*ON %OUT=.......               : Define latent condition
*ON %TERM ......               : Define latent condition
*ON %TIME= .....               : Define latent condition
*K1-*K14,*F1-*F5,*DUE1,*DUE2   : Simulate a K/F/DUE key
*PROC x,(par,<"text">.....)    : Pre-load procedure variables
*PROMPT &var <,'text'>         : Request value for variable
*RDMASK format,&var1,&var2, ...: Modify procedure variable via FHS mask
*RET SYSCMD                    : Switch input to SYSCMD
*RESET %LST / %CMD / %TERM /...: Reset the ON conditions
*RUN module <param,> &var1,....: Call user-specific subprogram
*SCRUPD                        : Screen update:  Maske anzeigen
*SEND 'text'                   : Send a message to the CONSOLE
*SET TAB=x,NOC=y,PAR=z,EM=e    : Modify control chars. for CFS procedure
*SETSW ON/OFF=(....)           : Set/reset task switches
*SKIP .label                   : Unconditional jump
*STEP text                     : Modify CFS commands
*STOP 'text'                   : Continue processing after ENTER
*SV <&var><,file><,E>          : Save proc. variables to file/display
*WAIT n                        : Halt procedure for n seconds
*WRITE 'text'                  : Display on SYSOUT in line mode
*WRITESYS 'text'               : Display in system line (line 25)