The sdfsta function outputs information concerning activated syntax files and the specifications applying to command/statement input and processing.
For a description of the transfer area for the information, see the CMDSTA macro ("CMDSTA List information on activated syntax files").
Since the function has an optional parameter, there are 2 different formats.
If format 1 is called, the short form is always output, i.e.:
activated syntax files, but no subsystem syntax files, plus the current options for the input and processing of commands and statements. The predefined structure type SDF_STATUS_SHORT should be used for area (see example on "Example of the use of the C functions").
If format 2 is called, the long form is output, i.e.:
activated syntax files (including subsystem syntax files) and the current options for the input and processing of commands and statements. The scope of information about subsystem syntax files depends on the amount of space available in the transfer area. If the subsystem information overflows the transfer area, an error code to the appropriate effect is output.
Format 1:
int sdfsta (char *area);
Format 2:
int sdfstal (char *area, int lng);
Description of the parameters
char *area | Pointer to the transfer area in which the information is to be |
int lng | Length of transfer area for FORM=LONG (see CMDSTA |
Result
The function returns an integer as its result (see "Description of the C functions").