Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

sdfstmt Read statement name from transfer area

&pagelevel(5)&pagelevel

The sdfstmt function reads the internal name of a statement read beforehand with the sdfrd function from the standardized transfer area. It can also be used to query the number of operands in the statement.

Since the function has an optional parameter, there are 2 different formats.

Format 1:


int sdfstmt (char *area, STR8 stmt);


Format 2:


int sdfstmtn (char *area, STR8 stmt, int *num);


Description of the parameters

char *area

Pointer to the buffer in which the standardized transfer area was
stored (see sdfinit).

STR8 stmt

String for the internal name of the statement, 8 characters long,
with zero (’\0’) at the end.

int *num

Pointer to the number of operands in the statement read.

Result

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