Remote command and distributed program call server

 

Identify the i5/OS™ exit point for the remote command and the distributed program call server

The remote command and distributed program call server has one exit point defined:

QIBM_QZRC_RMT format CZRC0100

The QIBM_QZRC_RMT exit point is defined to call a program for either remote command or distributed program call requests.

The format of the parameter fields differ according to the type of request.

 

Remote command requests for exit point QIBM_QZRC_RMT format CZRC0100

Offset Type Field Description
Dec Hex
0 0 CHAR(10) User profile name The name of the user profile that is calling the server
10 A CHAR(10) Server identifier For the remote command server, the value is *RMTSRV.
20 14 CHAR(8) Format name The user exit format name being used. For QIBM_QZRC_RMT, the format name is CZRC0100.
28 1C BINARY(4) Requested function The function being performed

X'1002' - Remote command

32 20 CHAR(10) Reserved Not used for remote command requests
42 2A CHAR(10) Reserved Not used for remote command requests
52 34 BINARY(4) Length of the next field The length of the following command string
56 38 CHAR (*) Command string Command string for remote command requests

 

Distributed program call requests for exit point QIBM_QZRC_RMT format CZRC0100

Offset Type Field Description
Dec Hex
0 0 CHAR(10) User profile name The name of the user profile that is calling the server
10 A CHAR(10) Server identifier For the distributed program call server, the value is *RMTSRV.
20 14 CHAR(8) Format name The user exit format name being used. For QIBM_QZRC_RMT, the format name is CZRC0100.
28 1C BINARY(4) Requested function The function being performed

X'1003' - Distributed program call

32 20 CHAR(10) Program name Name of the program being called
42 2A CHAR(10) Library name Library of the specified program
52 34 BINARY(4) Number of parameters The total number of parameters for the program call. This does not always indicate the number of parameters that follow.
56 38 CHAR(*) Parameter information Information about the parameters being passed to the specified program. All parameter strings have the following format regardless of the parameter usage type. The last field in the structure is specified for input/output parameter usage types.

  • BINARY(4) - Length of parameter information for this parameter

  • BINARY(4) - Maximum length of parameter

  • BINARY(2) - Parameter usage type

    • 1 - Input

    • 2 - Output

    • 3 - Input / output

  • CHAR(*) - Parameter string

 

Parent topic:

Exit program parameters