1) I am trying to write a batch job which will bypass a job in an OPC on current plan.
I got the reference materials here:
https://www.ibm.com/support/pages/sched ... -batch-job
Inside, it gives an example
ACTION=MODIFY,RESOURCE=CPOP,ADID=MYAPP1,OPNO=020,
IA=0810010930,WSNAME=RLSE;
I follow it but my job errors:
EQQM933E WORK STATION RLSE NOT FOUND FOR OPERATION
2) I am trying to use the OPC RECOVER statement to rerun a job which has a status = C. Nothing happens.
Does the OPC RECOVER statement only work for job with status = E?
Thanks for your help.
Using batch job to bypass a job and to rerun a job in OPC
-
- Posts: 130
- Joined: Tue Feb 01, 2011 7:12 pm
- Skillset: JCL, TWS, IBM Utilities
- Referer: Found on web
Re: Using batch job to bypass a job and to rerun a job in OP
1) The error seems clear enough. The work-station RLSE does not exist. Do you believe that it does? RLSE is just an example work-station in the manual. Do you have a work-station of that name?
2) Yes. The purpose of the %OPC RECOVER statement is to recover a job that has failed. Hence they are only processed if the job ends in error.
On what basis does the batch job you are writing decide whether or not to bypass the other job? I would be inclined to set a return code and then use conditional dependencies to flush the other job. Much easier that coding up all the PIF statements.
2) Yes. The purpose of the %OPC RECOVER statement is to recover a job that has failed. Hence they are only processed if the job ends in error.
On what basis does the batch job you are writing decide whether or not to bypass the other job? I would be inclined to set a return code and then use conditional dependencies to flush the other job. Much easier that coding up all the PIF statements.
-
- Similar Topics
- Replies
- Views
- Last post
-
- 2
- 1804
-
by prino
View the latest post
Sun Jun 16, 2024 12:38 am
-
- 7
- 5176
-
by sergeyken
View the latest post
Fri Nov 13, 2020 1:24 am
-
- 2
- 2247
-
by Terry Heinze
View the latest post
Tue Feb 15, 2022 9:13 pm
-
-
RC's when running a REXX exec under ISPSTART in Batch
by golemis » Thu Nov 03, 2022 5:19 pm » in TSO & ISPF - 5
- 3466
-
by golemis
View the latest post
Fri Nov 04, 2022 2:19 pm
-