![]() |
Notes on Procedures
If the SYSDTA input record is shorter than the expected mask entry, CFS will behave as though the input was terminated with < (End marker).
When entering commands via SYSDTA, the output portions of the mask will be displayed with WROUT. These can be suppressed by /SETSW ON=4 (reduced output volume).
Returning to the main CFS task after opening Connections:
The K2 key cannot be generated in the CFS procedure-controlled mode. The escape symbol, ^ , can be used to switch from a Connection to the CFS main task, without using the K2 key.
Example:
OC1/LOGON userid1,acct1,C'passw1'
^
OC2/LOGON userid2,acct2,C'passw2'
^
If a &(jv-name) clause appears in a procedure-controlled input, then the CFS input processor will substitute the current value of the Job variable at this position. It is thus possible to automate Connection processing to $DIALOG, where the current LOGON password is stored in a Job variable.
Example:
OC1/LOGON userid1,acct1,&($TSOS.DAILYPASSW)'
^
In this example, the $TSOS.DAILYPASSW Job variable contains as value a string C'....' or X'....'.
BS2000 commands that are entered from a Connection in procedure-controlled mode should be entered without the leading oblique (/).
Example:
OC1/LOGON userid,acct-nr,C'passw'
EXEC program
BS2000 commands must be preceded by a blank. If not, the End of File condition will be activated for SYSDTA.