Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

sdfcor Initiate semantic error dialog

&pagelevel(5)&pagelevel

The sdfcor function causes SDF to initiate a dialog with the user, providing the opportunity to correct a semantic error in a statement. Immediately beforehand, SDF analyzes the statement and transfers it to the program as syntactically correct. For detailed information, see the description of the CORSTMT macro ("CORSTMT Initiate semantic error dialog").

Format:


int sdfcor (char *area, char *msg);


Description of the parameters

char *area

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

char *msg

Pointer to a message to be output in the error dialog.
SDF internally converts the string into a variable length
record no more than 400 characters long.
If a NULL pointer is specified, no message is displayed.

Result

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