Troubleshooting
Problem
Trying to run a command on one IBM i from a different IBM i is not working. Only a QSYSPRT spool file is generated and all that spool files says is Command x in library *LIBL not allowed Error found on x command. (where x is the command you are specifying on the RUNRMTCMD - the CMD parameter)
Symptom
The command you are trying execute via RUNRMTCMD is not running
Diagnosing The Problem
The most likely explanations are
1) The *USRPRF specified on the RUNRMTCMD's RMTUSER parameter does not have authority to run the command specified on RUNRMTCMD's CMD parameter (remember to check on the target IBM I)
2) The *USRPRF specified on the RUNRMTCMD's RMTUSER parameter needs it's password change (i.e. it is expired)
3) The *USRPRF specified on the RUNRMTCMD's RMTUSER parameter has *SIGNOFF specified for it's "Initial Menu" (INLMNU) setting
Resolving The Problem
Make sure you can sign on to the target IBM i with the *USRPRF specified on the RUNRMTCMD's RMTUSER parameter and execute the command
Was this topic helpful?
Document Information
Modified date:
18 December 2019
UID
nas8N1021699