IBM AS/400E Network Router User Manual


 
The buffer where the instance names are placed. Specify a buffer name up to
10 characters (padded with blanks) as necessary.
buf_size
INPUT:BINARY(4)
The size of the buffer in bytes.
format
INPUT:CHAR(8)
The format of the data returned. The possible format names follow:
INSN0100
buf_actlen
OUTPUT:BINARY(4)
The length of all the instance names. Any data beyond the size specified in the
buf_size value is truncated by the system.
count
OUTPUT:BINARY(4)
The total number of instance names.
errcode
I/O:CHAR(*)
The structure in which to return error information.
INSN0100 Format
INSN0100 Format:
Offset Type Field
Dec Hex
0 0 CHAR(10) Instance name
10 0A CHAR(2) Reserved
12 0C BINARY(4) Running status
Field descriptions
Instance name
The 10 character name of the server instance, padded with blanks.
Running status
An integer value of 1 if this instance is currently running. An integer value
of 0 if this server instance is currently stopped.
Error messages
CPF3CF1 E
Error code parameter not valid.
CPF3C1D E
Input variable length in parameter &1 not valid.
CPF3C21 E
Format name &1 not valid.
Chapter 2. Application Programming Interfaces 57