SDF-SIM checks statements defined in the active syntax file hierarchy for syntax errors. The internal name of the program to which the statements to be simulated belong as well as the format of the standardized transfer area used for the statements must be specified in the preparatory phase for simulation (see DEFINE-TEST-OBJECT TEST-MODE=*STMT(PROGRAM-NAME=...,LAYOUT=*OLD/*NEW).
The statements are simulated in the environment defined by means of DEFINE-ENVIRONMENT. The MODIFY-SDF-OPTIONS statement can be used to influence simulation in the same way as in the command environment (guided or unguided dialog, form of logging, etc.).
On completion of the syntax analysis, a log and the standardized transfer area are output, if so requested by the user.