The AS400 job is failing when it tries to end a program using STRSRVXI5 as shown below.
PKSBMJOB JOBNAME(IF26X0RPJ) PARMBR(STRSRVXI5) DELFLAG(N) WHSE(HAW) USER(PKMS)
Error message:
Program PKG0G1CL not found in library *LIBL.
However, the AS400 job that is stopping the program as shown below works fine.
PKSBMJOB JOBNAME(IF26X0RPJ) PARMBR(ENDSRVXI5) DELFLAG(N) WHSE(HAW) USER(PKMS)
Some libraries or environment variables are missing.
Release : 12.x
Component :
Make sure to have all the necessary setting and environment variables set up.
For example:
ADDLIBLE PKTOOL
SE HAW
PKSBMJOB JOBNAME(IF26X0RPJ) PARMBR(STRSRVXI5) DELFLAG(N) WHSE(HAW) USER(PKMS)