The CCMD function calls a command without exiting the program mode. The CCMD function is based on the CMD macro described in the “Executive Macros” manual [8 (Related publications)].
Call
CALL SDF('CCMD',area,error,sysout,dialog,list,cmdrc,buff)
Description of the parameter list
Parameter | Data type | Input/ | Meaning |
CCMD | char(4) | in | Function name: keyword CCMD |
area | V-rec@ | in | Address of a variable-length record containing the command to be executed |
error | integer | out | Return code of the function |
sysout | integer | in | 1 : SYSOUT = YES |
dialog | integer | in | 1 : DIALOG = YES |
list | integer | in | 1 : LIST = YES |
cmdrc | char(9) | in | Address of an area, 9 bytes in length, into which the command processor will write the command return code. |
buff | V-rec@ | in | Address of a variable-length record for the output buffer |