Remove job from AS400

5 pts.
Tags:
AS/400 jobs
Can anybody tell me how to remove job from AS400?

Answer Wiki

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

wrkjobq -then 4 delete

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
  • deepu9321
    Hi Niranjan, Wat do you mean by Removing a job from AS400. Do you want to Remove the Job from the scheduled Jobs? If yes, you can do it by taking Remove option at that particular job. Pradeep.
    3,870 pointsBadges:
    report
  • Jaymz69
    I use WRKJOBQ also
    765 pointsBadges:
    report
  • ankit2002
    Try WRKACTJOB Command and search for your job name and delete that job.
    770 pointsBadges:
    report
  • ambusy
    I have a list of scheduled jobs (some 50), that need to terminate at midnight. Jobs that wait for queues, that operate each ... minutes or so, jobs that wait for another as400 to terminate something. I do my backups and reschedule them at 4 in the morning. I'm looking for the command /api that works behind the screens when I enter 4 to end the job. Does that exist?
    20 pointsBadges:
    report
  • TomLiotta

    I’m looking for the command /api that works behind the screens when I enter 4 to end the job. Does that exist?

    Assuming that you are entering "4" on some system screen, you can probably see the command simply by pressing <F4> instead of pressing <Enter>.

    What are you expecting to do with it once you find it?

    It seems to me that the appropriate direction might be to change those jobs to respond to external control commands. Or other alternatives also seem better.

    For example, if they were set to run in their own subsystem, they would be much easier to control. You could use iSeries Navigator to open a list of jobs in that subsystem, select them all and end them all at once. You can create a shortcut on your desktop to open the list of jobs.

    In short, there are various ways of getting things accomplished. It's not always necessary to know commands or APIs.

    Tom

    125,585 pointsBadges:
    report
  • MDratwa
    If you want to run your backup and not have the job run from the queue. You can run "HLDJOBQ" or you can end the subsystem that the queues are assigned to. If these jobs are the only ones in a queue, you can run "CLRJOBQ" (but this deletes ALL jobs in the queue). If you want to do it manually, you can do "WRKJOB (jobname) and put a "4" in front of the scheduled jobd (but I assume that a backup is done when you are not there). Like the AS400, there are many ways to do a function.
    785 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