Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

sdfsta Output information about syntax files

&pagelevel(5)&pagelevel

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
stored by SDF; must be aligned on a halfword boundary.

int lng

Length of transfer area for FORM=LONG (see CMDSTA
macro). The length must be greater than SDF_STATUS_SIZE_SHORT
(SDF_STATUS_SIZE_SHORT=530)

Result

The function returns an integer as its result (see "Description of the C functions").