Ending active jobs in AS/400

Tags:
AS/400
AS/400 jobs
How do I end active jobs in AS/400?


Software/Hardware used:
IBM iSeries Power 7 v7.1
1

Answer Wiki

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

It’s not clear whether you mean to end all active jobs, or merely and an active job. 

any of the commands to work with a job will allow you to end it, either in a controlled way or immediately. 
WRKACTJOB  is a popular way of seeing what’s running, what resources are being consumed, and then ending a job. 
if the job is interactive, then  (shift – ESC) will get you to DSPJOB, as mentioned, and you can end a wayward job.  

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.
  • azohawk
    ENDJOB <F4> and fill in the information about the job you want to end (job name, user, job number).  This can be done from a command line or in a CL program.
    4,055 pointsBadges:
    report
  • WoodEngineer
    Jobs can also be ended by using option 4 on WRKACTJOB screen.  Sometimes that is easier.  If you want to end immediate, press F4 after keying option 4.
    8,225 pointsBadges:
    report
  • ToddN2000
    BE careful when ending jobs with *IMMED or otherwise. You may leave data in files that needs to be cleared before another run. Flags to control job functions may be left with the wrong values. It is best to talk to the program developer and ask for recovery steps when jobs needs to be cancelled.
    134,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.

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

Following

Share this item with your network: