Jobs scheduled on the new server i720 end with endcode 20, while the same jobs run perfectly in i520.

75 pts.
Tags:
i5
iseries v5r4
iSeries V6R1
JOB SCHEDULER
Job scheduling
Hi, We are upgrading our server to an i720 (v6r1) from i520 (v5r4). Jobs scheduled on the new server i720 end with endcode 20, while the same jobs run perfectly in i520. The scheduled Jobs are used to call certain application program. when I check the job log, it says program not found in library list *LIBL. Both scheduled entries are exactly the same on both i520 and i720, so are the libray lists. Any ideas why this may be happening?

Software/Hardware used:
As400

Answer Wiki

Thanks. We'll let you know when a new response is added.

Hi Guys.. Thanks for your replies. But I found the resolution.

I manually submitted the jobs in job schedule entry (WRKJOBSCDE), and it used to end up with Error code 20 for testing purposes on the new server.

I then tried releasing the scheduled jobs and let them run at their scheduled times on the new server and that worked fine.
I am not sure why manually submitting did not work.

Discuss This Question: 6  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • TomLiotta
    it says program not found in library list *LIBL. Can you demonstrate that the program is in fact in the library list of the failing job? How have you demonstrated it? By showing us how you demonstrated it, we might spot something that you missed. If the error is logged that the program is not found in *LIBL, then you can start from the assumption that the message is correct. Either the library list of the job is incorrect or the program isn't in the libraries in that list. Tom
    125,585 pointsBadges:
    report
  • HMSSL2K
    Are the QUSRLIBL & QSYSLIBL system values the same as the old system?
    3,175 pointsBadges:
    report
  • WoodEngineer
    We get a better test when manually submitting a job schedule entry if we specify INLLIBL(*JOBD). Otherwise it uses the interactive session's library list which may be different than the library list in the jobD.
    6,875 pointsBadges:
    report
  • TomLiotta
    ...when manually submitting a job schedule entry if we specify INLLIBL(*JOBD). That should have some clarification. There is no INLLIBL() parameter on a job scheduler entry. But if by "manually submitting", we mean running the SBMJOB command, then it's not the job scheduler entry that is being submitted. To submit a job scheduler entry manually, use option 10='Submit immediately' from the job scheduler. Otherwise, different results are possible because the job attributes are not guaranteed to be the same... as this question apparently demonstrates. Tom
    125,585 pointsBadges:
    report
  • Splat
    Tom, if you use 10=Submit immediately from the Work with Job Schedule Entries you are presented with a standard Submit Job (SBMJOB) prompt and, assuming no changed defaults, presents with INLLIBL(*CURRENT). The job scheduler is (if it even uses SBMJOB as I assume it does) using INLLIBL(*JOBD) when submitting jobs per schedule, but 10=Submit immediately can not be depended on to use the same parameters.
    7,635 pointsBadges:
    report
  • TomLiotta
    @Splat: You're right. I have to learn to ignore what I see on some systems I work on. They aren't "normal". Ignore that previous comment of mine. Tom
    125,585 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following