Some AS400 Jobs abort with FAULT_OTHER due to an error to the call to SBMJOB as OUTQ parameter is passed twice.
The following errors can be seen in the Agent log when this occurs:
U02006020 The command 'SBMJOB CMD(CALL PGM(UC4/PGNAME) PARM('UC4/TMP(JABC' '1' '0')) JOB(JOBNAME) LOG(4 0 *SECLVL) CPYENVVAR(*NO) LOGOUTPUT(*JOBEND) INLLIBL(*JOBD) OUTQ(*JOBD) JOBD(QGPL/QBATCH) JOBQ(LRSYS/LRIBATCH) HOLD(*YES) OUTQ(*JOBD) PRTDEV(*JOBD) USER(*JOBD)' failed."
U02002000 job 'JOBNAME.IS' could not be started. Error: 'CPF0001 - Error found in command SBMJOB. Cause . . . . : The system encountered errors in the command. Recovery: Review the messages previously listed in the job log. "
Agent AS400 24.4.0
DE171149
Update to a fix version listed below or a newer version if available.
Fix version:
Component(s): Agent AS400
Automation.Engine 24.4.1 - Available
Public description: A problem has been fixed where the OUTQ(*JOBD) parameter was being specified twice in the SBMJOB command for an OS/400 job. This duplication occurred because OUTQ(*JOBD) was defined by default in the INI file and was also explicitly included in the SBMJOB command string at execution. The OUTQ(*JOBD) parameter has now been removed from the SBMJOB command string, while its definition remains in the INI file.