E9.2 Calling XXXX via a job does not work. (Job JXXX ) .something with the Job Scheduler setup but could not figure out what exactly it is.

xman2021

Member
Could you please help on the below issue .

Running the program via the version from command line , works well.
Calling XXXX via a job does not work. (Job JXXX ) .something with the Job Scheduler setup but could not figure out what exactly it is.

There’s a file object for F4101 available in QGPL for some reason.QGPL is on top of the library list of the scheduled job.
So the QGPL/F4101 gets picked up by the job, instead of LIBA/F4101.
 
Xman2021,
I'm not 100% sure, but are you trying to run a CL program via the AS400/IBM i job scheduler?
If so, you can create a specific job description with a specific library list that should achieve your goal. Create the job description with LIBA before QGPL and it should pick the correct table. Alternatively you could figure out whether the table in QGPL is needed (it's probably not) and delete it if permitted but the same thing could happen again in the future. Best to have a job description specifically for the task and attach that to the AS400 scheduler entry.
 
Back
Top