Link to home
Start Free TrialLog in
Avatar of se_1581
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.
Avatar of Theo Kouwenhoven
Theo Kouwenhoven
Flag of Netherlands image

Hi  se_1581,

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
Avatar of se_1581
se_1581

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
ASKER CERTIFIED SOLUTION
Avatar of berman
berman
Flag of Israel image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of se_1581

ASKER

That did it.

Thanks.