The SDF user interface can also be employed for user programs. For this purpose, SDF offers the following macro calls (for a detailed description see the “SDF-A” manual [4]):
CLSCALL CMDALLW CMDANALY CMDCST CMDMEM CMDRC CMDRETC CMDRST CMDSEL | Closes a syntax file hierarchy opened in the program Generates a list of permissible operations Generates EQUATEs for return codes Initiates a semantic error dialog Generates a transfer area for status information Sets a command return code Generates a DSECT for the command return code Reads and analyzes a statement and returns the results Creates a selection menu for defined objects and returns the selection |
CMDSTA CMDSTRUC | Provides information on active syntax files Generates a standardized transfer area for an analyzed statement in the |
CMDTA | Generates a standardized transfer area for an analyzed statement in the new format |
CMDTST CMDVAL CMDWCC CMDWCO CORSTMT | Analyzes a statement Checks whether a value matches a data type Checks wildcard syntax and compares the patterns Generates a name from a selector, a name and a constructor Initiates a semantic error dialog. |
OPNCALL | Opens a separate syntax file hierarchy at program level |
RDSTMT | Reads and analyzes a statement and returns the results. |
TRCMD | Analyzes a command input and generates from it the desired logging |
TRSTMT | Analyzes a statement. |