Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

sdfrc Set command return code

&pagelevel(5)&pagelevel

The sdfrc function enables a user program to save values it generates as command return codes; these are made available to the command processor as the official command return codes when the program is terminated and can then be used by other system functions such as SDF-P (see the “Commands” manual [4 (Related publications)]). The sdfrc function is based on the CMDRC macro (see "CMDRC Set command return codes").

Format:


int sdfrc (char *area);


Description of the parameters

char *area

Pointer to a string containing the command return code, must
be aligned on a halfword boundary. The predefined structure
type SDF_COMMAND_RC should be used
(see example on "Example of the use of the C functions").

Result

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