*/cmd BS2000 Command
A BS2000 command cmd will be executed. Optional parameters can be used to enhance the command. Both cmd as well as param can contain CFS variables.
The messages or error messages displayed by the command can be queried by means of the CMDMSG variable, which is an internal CFS variable.
Example:
*&NAME='$CFS.CFS'
*/FSTAT &NAME
*WRITE '>&CMDMSG<'
Note:
The command * cannot be used to terminate CFS in procedures, since '*' is interpreted as a comment. Terminating the program from within a procedure is only possible by means of the END command, or by entering 'T' at the termination acknowledgement stage.