Like other utilities, SDF-SIM can also be called in procedures or batch tasks. However, this does not implicitly mean that commands or statements are automatically tested in simulated procedure or batch mode. This is only possible if the DEFINE-ENVIRONMENT statement with the operand PROC-MODE=*YES or TASK-TYPE=*BATCH is entered.
If the value QUESTION is specified explicitly or implicitly (as the default value) for the DISPLAY operand of the DEFINE-ENVIRONMENT statement, this has the same effect in procedures and batch tasks as DISPLAY=*NO.
In the case of commands or statements which are tested within a procedure or a batch task in procedure or batch mode, an asterisk (*) must be entered before the slash (/) or double slash (//). If this is not done, the entries will be interpreted as real commands or statements and will actually be processed.