OpenTP1 Version 7 Tester and UAP Trace User's Guide

[Contents][Index][Back][Next]

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
Item Position Length (bytes) Contents
Header Operating command result code 0 4 Result code value set in the stat argument of the dc_adm_call_command function
Character string length for standard output 4 4 Length of character strings (including null characters) output to standard output (0-2147483647)
Character string length for standard error output 8 4 Length of character strings (including null characters) output to standard error output (0-2147483647)
Character string for standard output 12 n Value 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 -- n Value 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