se_1581
asked on
AS400 scheduled job in another subsystem
Hi,
I have a few scheduled jobs that I would like them to run in subsystem qbatch2 that I created and not the regular qbatch. I have some jobs that freeze in qbatch like a bad tape during a backup and I dont want to hold these other scheduled jobs. Can you please provide the command.
Thanks.
I have a few scheduled jobs that I would like them to run in subsystem qbatch2 that I created and not the regular qbatch. I have some jobs that freeze in qbatch like a bad tape during a backup and I dont want to hold these other scheduled jobs. Can you please provide the command.
Thanks.
ASKER
Murph,
I created the jobq under the qbatch2 subsystem but I don't know how to change the job to the new jobq. The scheduled job is in *JOBD. I tried to change it with CHGJOB but it says it finds duplicates, the last 2 days when it ran. I selected one of the jobs but still did not change.
Thanks,
Steli
I created the jobq under the qbatch2 subsystem but I don't know how to change the job to the new jobq. The scheduled job is in *JOBD. I tried to change it with CHGJOB but it says it finds duplicates, the last 2 days when it ran. I selected one of the jobs but still did not change.
Thanks,
Steli
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
That did it.
Thanks.
Thanks.
Use command ADDJOBQE (Add Job Queue Entry) to add the new JobQ to a specific subsystem.
e.g.
ADDJOBQE SBSD(MYLIB/QBATCH2) JOBQ(MYLIB/MYJOBQ) MAXACT(2)
Regards,
murph