IBM Support

RUNRMTCMD (REXEC) Does Not Use Library List in Job Descriptions

Troubleshooting


Problem

This document describes the use of a library list by RUNRMTCMD.

Resolving The Problem

The Remote Execution Server (REXEC), used in conjunction with Run Remote Command (RUNRMTCMD), has a limitation with library lists. If the user profile specified in the RUNRMTCMD command has a job description assigned that contains specific libraries, those libraries are not recognized. The REXEC server is designed to verify only the profile's current library that is defined in the user profile together with the QSYSLIBL and QUSRLIBL system values.

An example of this follows:

User profile REMOTE has a job description called TESTJOBD. The TESTJOBD job description has an Initial library list value of LIBRARY1, LIBRARY2, and LIBRARY3. These libraries are not defined in the QSYSLIBL or QUSRLIBL system values on the server system. If the RUNRMTCMD command is run to this system, and the REMOTE user profile is used, none of the previously mentioned libraries will be found. If either of the libraries are added as the Current library for the REMOTE user profile, that library will be found.

Because some profiles are configured to have custom job descriptions and libraries, the REXEC server might appear to be failing due to errors such as Program N in library *LIBL not found and Errors occurred in command.

The REXEC server is working as designed.

[{"Product":{"code":"SWG60","label":"IBM i"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"Communications-TCP","Platform":[{"code":"PF012","label":"IBM i"}],"Version":"Version Independent","Edition":"","Line of Business":{"code":"LOB57","label":"Power"}}]

Historical Number

29634316

Document Information

Modified date:
18 December 2019

UID

nas8N1016646