How we will know the failure of a batch job?

5 pts.
Tags:
AS/400
Out 10 of 1 of the batch job is failed to process further, how we will identify a particulr job was got failed to process in AS/400.

Answer Wiki

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

Hi,

Normally you should see an error message in the QSYSOPR message queue and the job should have created a joblog spooled file.

Regards,

Martin Gilbert.

=============================================================

That depends on what you mean by “failed”. If it means it encountered an error condition and ended abnormally from an *ESCAPE message, it will be very different from a job that ‘handled’ a problem and ended itself normally.

Without being told what failures are involved, we can’t guess how to recognize a failure.

Please describe some example conditions and we can provide more detailed replies.

Tom

Discuss This Question: 3  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
  • Tpinky
    Hello, You can always do a WRKJOB JOB(jobname). This will pull up several if the job has been run multiple times and you can look at the different dates to see the job log for each to find where the job failed. Teresa
    4,165 pointsBadges:
    report
  • NarasimhaReddy
    hi, WRKJOB gives the joblog only if the job is *ACTIVE. If the job is already ended with error, we can see the error message in QSYSOPR messages. Regards Reddy
    225 pointsBadges:
    report
  • Gilly400
    Hi, WRKJOB also lets you see the spooled files for the job, so if the job has created a joblog spooled file and it's still in the system then you can still see the joblog. Regards, Martin Gilbert.
    23,730 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