Monitor for qbatch job error

5 pts.
Tags:
AS/400
AS/400 jobs
QBATCH
How can I monitor for a qbatch job with an error?
1

Answer Wiki

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

You can monitor for an error in batch jobs by using the below condition :

yourCommand && (
  echo yourCommand was successful message
) || (
  echo yourCommand failed message
)

Discuss This Question: 1  Reply

 
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.
  • Brijesh
    Use the qstat command to check the status of your jobs.
    14,450 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.

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

Following

Share this item with your network: