Schedule any JCL program at a specific time
Re: TWS job scheduling
Thanks a lot blackhorn....I wil try to implement this using automatic recovery statements in my job...for using automatic recovery statements ,we have to activate using option 9 from main menu and insert OPC recover statement between JOB and EXEC statements ..dats it r8??..sorry for troubling u again...
-
- Global moderator
- Posts: 3025
- Joined: Sun Jul 04, 2010 12:13 am
- Skillset: JCL, PL/1, Rexx, Utilities and to a lesser extent (i.e. I have programmed using them) COBOL,DB2,IMS
- Referer: Google
- Location: Pushing up the daisies (almost)
Re: TWS job scheduling
What is
mean?dats it r8??
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
Regards
Nic
Re: TWS job scheduling
I wanted to clarify if the procedure is right???
Re: TWS job scheduling
I want to copy the error information from spool to dataset when a job scheduled using OPC ends in error.i just wanted to know if the below automatic recovery statement will serve my purpose..
//*%OPC RECOVER RESTART=N,ADDAPPL=SPL
where SPL is an application which has an operation to copy the error information from spool to dataset.Should I add any selection parameters (errstep/jobcode/stepcode) to the above staement.I want automatic recovery for any error in the job.
//*%OPC RECOVER RESTART=N,ADDAPPL=SPL
where SPL is an application which has an operation to copy the error information from spool to dataset.Should I add any selection parameters (errstep/jobcode/stepcode) to the above staement.I want automatic recovery for any error in the job.
-
- Global moderator
- Posts: 3025
- Joined: Sun Jul 04, 2010 12:13 am
- Skillset: JCL, PL/1, Rexx, Utilities and to a lesser extent (i.e. I have programmed using them) COBOL,DB2,IMS
- Referer: Google
- Location: Pushing up the daisies (almost)
Re: TWS job scheduling
Why are you asking here and not your scheduling group who should have been trained in all this and can quickly give you the answer while you stand at their desks? Or over the phone?
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
Regards
Nic
-
- Global moderator
- Posts: 3006
- Joined: Fri Apr 18, 2008 11:25 pm
- Skillset: tso,rexx,assembler,pl/i,storage,mvs,os/390,z/os,
- Referer: www.ibmmainframes.com
Re: TWS job scheduling
most probably the TS is the scheduling group 

cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
-
- Posts: 130
- Joined: Tue Feb 01, 2011 7:12 pm
- Skillset: JCL, TWS, IBM Utilities
- Referer: Found on web
Re: TWS job scheduling
apru wrote:for using automatic recovery statements ,we have to activate using option 9 from main menu
That's only required if you don't have the RECOVERY(YES) parameter specified on the OPCOPTS statement. Otherwise there is no need to activate it using option 9.
Re: TWS job scheduling
Thanks a lot blackhorn.....
I want to copy the error information from spool to dataset when a job scheduled using OPC ends in error.
I inserted the below automatic recovery statement between JOB and EXEC in 2 scenatios.
1.A Program gives JCL error(duplicate dataset)
//*%OPC RECOVER RESTART=N,ADDAPPL=SPL
where SPL is an application which has an operation to copy the error information from spool to dataset.
2.A Program ends with Maxcc=16(sort utility->different ddname instead of sortout)
//*%OPC RECOVER STEPCODE=16,RESTART=N,ADDAPPL=SPL..
But in both the cases,I am getting the error "no automatic recovery because recover statement does not match this error"..
Please can you help me? [edited - shouting removed]
I want to copy the error information from spool to dataset when a job scheduled using OPC ends in error.
I inserted the below automatic recovery statement between JOB and EXEC in 2 scenatios.
1.A Program gives JCL error(duplicate dataset)
//*%OPC RECOVER RESTART=N,ADDAPPL=SPL
where SPL is an application which has an operation to copy the error information from spool to dataset.
2.A Program ends with Maxcc=16(sort utility->different ddname instead of sortout)
//*%OPC RECOVER STEPCODE=16,RESTART=N,ADDAPPL=SPL..
But in both the cases,I am getting the error "no automatic recovery because recover statement does not match this error"..
Please can you help me? [edited - shouting removed]
-
- Posts: 130
- Joined: Tue Feb 01, 2011 7:12 pm
- Skillset: JCL, TWS, IBM Utilities
- Referer: Found on web
Re: TWS job scheduling
Check what setting you have specified on the AROPTS initialisation parameter, in particular EXCLUDECC and EXCLUDERC.
By default, JCL errors are excluded from automatic recovery.
By default, JCL errors are excluded from automatic recovery.
Re: TWS job scheduling
The parameters of the AROPTS parameter are as follows:
AROPTS AUTHUSER(JCLUSER)
ENDTIME(2359)
EXCLUDECC(NOAR)
EXCLUDERC(6)
PREDWS(*)
STARTTIME(0000)
USERREQ(NO)
*****************************************
AROPTS AUTHUSER(JCLUSER)
ENDTIME(2359)
EXCLUDECC(NOAR)
EXCLUDERC(6)
PREDWS(*)
STARTTIME(0000)
USERREQ(NO)
*****************************************
-
- Similar Topics
- Replies
- Views
- Last post
-
-
How To display the count based on a specific string?
by Chintu333 » Fri Aug 19, 2022 12:59 am » in DFSORT/ICETOOL/ICEGENER - 3
- 2104
-
by sergeyken
View the latest post
Fri Aug 19, 2022 8:52 pm
-
-
-
Process file/records until a specific total is reached.
by chillmo » Thu Mar 24, 2022 6:18 am » in Syncsort/Synctool - 12
- 3847
-
by sergeyken
View the latest post
Wed Mar 30, 2022 10:12 pm
-
-
-
Calling Java program on UNIX/USS from a COBOL CICS program?
by zbius » Tue Nov 05, 2024 2:37 pm » in IBM Cobol - 2
- 2593
-
by zbius
View the latest post
Wed Nov 06, 2024 6:02 pm
-
-
- 3
- 2702
-
by engh
View the latest post
Mon Jan 09, 2023 2:23 pm
-
- 3
- 1795
-
by Blackthorn
View the latest post
Fri Mar 05, 2021 9:34 pm