The sdfcmd function calls a command without exiting the program mode. The sdfcmd
function is based on the CMD macro described in the “Executive Macros” manual [8 (Related publications)].
Format:
int sdfcmd (char *area, int sysout, int dialog, int list, char *cmdrc, char *buff);
Description of the parameters
char *area | Pointer to a string containing the command to be executed. SDF |
int sysout | Specifies whether the log is to be output to SYSOUT and/or the |
int dialog | Specifies whether an error dialog is to be initiated if syntactical |
int list | Specifies whether the area string contains more than one |
char *cmdrc | Pointer to a string (9 bytes) in which the command processor is |
char *buff | Pointer to a string into which the log is output (BUFMOD=SHORT, |
Result
The function returns an integer as its result (see "Description of the C functions").
„Executive Macros“ manual [6] is generated.