3.3.5 Operating command result data file

An operating command result data file stores the data returned to the UAP as the command execution result when using the operating command simulator. A single file contains all the data required for the number of executions of the dc_adm_call_command function in one service.

Create an operating command result data file for each service.

(a) File structure

[Figure]

(b) File contents
ItemPositionLength (bytes)Contents
HeaderOperating command result code04Result code value set in the stat argument of the dc_adm_call_command function
Character string length for standard output44Length of character strings (including null characters) output to standard output (0-2147483647​)
Character string length for standard error output84Length of character strings (including null characters) output to standard error output (0-2147483647​)
Character string for standard output12nValue set in the outmsg argument of the dc_adm_call_command function. (Includes the final null character. If no null characters are added, the last character is replaced with a null character.)
The specified value is ignored when zero is specified as the character string length for standard output.
Character string for standard error output--nValue set in the errmsg argument of the dc_adm_call_command function. (Includes the final null character. If no null characters are added, the last character is replaced with a null character.)
The specified value is ignored when zero is specified as the character string length for standard error output.
Legend:
--: Not applicable

(c) Notes