AS400 batch jobs

30 pts.
Tags:
AS/400 jobs
When any batch job is running in the AS400 system, Should we end the job immediately. What changes does these batch jobs bring on the running AS400 system?

Software/Hardware used:
AS400

Answer Wiki

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

Before you even think about ending all batch jobs, you need to answer these questions:
1. Why do I want to do this?
2. What is the batch job doing?
3. What is my recovery plan if this batch job is updating files?

Discuss This Question: 7  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.
  • deepu9321
    As Charlie suggested, Impact on the system will be based on the type of the Job. if the Job is updating files and Job ended in middle, You must be having a control in program for ROLLBACK the changed made to Database. Pradeep.
    4,605 pointsBadges:
    report
  • HMSSL2K
    Why do you want to end all the batch jobs for? Give us more information as to why you want to do this, that way we can give better advice.
    3,175 pointsBadges:
    report
  • infiniumpro
    The requester never suggested to end *ALL batch jobs! I believe he was asking: IF he Ends the job *IMMED, what will happen? My answer, is the program will stop processing immediately, and leave the file in the state that they were at when he ended the job. If the job would normally delete work files at the end of the job, then these files will still be on the system.
    325 pointsBadges:
    report
  • The Most-Watched IT Questions: November 8, 2011 - ITKE Community Blog
    [...] A member asks about ending batch jobs: The community warns this might not do what they want to [...]
    0 pointsBadges:
    report
  • Yorkshireman
    Don't do it unless you know the possible outcomes.


    6,085 pointsBadges:
    report
  • ToddN2000
    Not advisable unless there is an emergency and you have a recovery plan in effect. Ending *IMMED will cause partial file updates. This will make recovery even harder as your data may be out of sync.
    45,650 pointsBadges:
    report
  • TheRealRaven
    Should we end the job immediately.

    In nearly all circumstances, the answer is "No. For most jobs, they shouldn't be 'ended' at all; the job should end itself when it's done. Only in emergencies should jobs be ended *IMMED; otherwise specify *CNTRLD and give at least 10 to 30 seconds in case the job has methods to handle shutdown requests."

    What changes does these batch jobs bring on the running AS400 system?

    There's no way we can answer that. We need to know all of the programming that is active in the job at the time the end request is made. Essentially anything that a program could do might be in process.

    You need to tell us everything about a particular job first.
    18,995 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: