Regarding Restart card in JCL
Moderator: Moderator Group
-
- Member
- Posts: 8
- Joined: Tue Aug 31, 2010 7:19 pm
- Location: Hyderabad
- Contact:
Regarding Restart card in JCL
Hi
If you insert restart card inbetween any keyword paramater then what will happen
i dont have access to run any job on my Lpar.
Thanks,
Saravanan J
If you insert restart card inbetween any keyword paramater then what will happen
i dont have access to run any job on my Lpar.
Thanks,
Saravanan J
-
- Moderator
- Posts: 1625
- Joined: Sat Aug 09, 2008 9:02 am
- Location: Mumbai, India
- dbzTHEdinosauer
- Moderator
- Posts: 981
- Joined: Mon Oct 02, 2006 8:31 pm
Saravanan,
a simple look in the JCL Reference Manual and looking for the JOB 20.23 RESTART Parameter will provide the info which you need.
a simple look in the JCL Reference Manual and looking for the JOB 20.23 RESTART Parameter will provide the info which you need.
Dick Brenholtz
JCL, SQL and code in programs have an irritating habit of doing what you say,
not what you meant.
JCL, SQL and code in programs have an irritating habit of doing what you say,
not what you meant.
-
- Member
- Posts: 8
- Joined: Tue Aug 31, 2010 7:19 pm
- Location: Hyderabad
- Contact:
Thanks for kind reply,dbzTHEdinosauer wrote:Saravanan,
a simple look in the JCL Reference Manual and looking for the JOB 20.23 RESTART Parameter will provide the info which you need.
For example:
see the job card
//ABCDXYZA JOB CLASS=A,RESTART=PROCSTEP.STEPNAME,NOTIFY=ABCDXYZ
here I have inserted the restart card inbetween (not at end of job card).
if you run this program, what will happen.
please suggesst me
thanks in advance
Works @ Genpact
Where the RESTART is placed in the JOB statement will not change how the job executes.here I have inserted the restart card inbetween (not at end of job card).
Which program? I suspect you mean what will happen if this job is submittedif you run this program, what will happen.
Assuming the RESTART parameter is coded correctly, the job will begin execution at that point. If the job tests return codes, this must also be considered. Suggest you read all about RESTART in the JCL manual.
Have a good one
-
- Moderator
- Posts: 1625
- Joined: Sat Aug 09, 2008 9:02 am
- Location: Mumbai, India
It does not matter where you code the RESTART in Job-card, as DikDude indicates. RESTART is not a "positional keyword" for JCL. In Job-card, you can code it wherever you wish to, of-course without distrubing the other positional-parameters.
Most of the Production Support personnel code it at the 'end of Job card', just to make it easy for an on-looker. In a typical Production environment, you don't RESTART every job, it's an additional parameter you provide when one wants to restart a job after an abended state - and "addition" comes in the end, not in between -- this is just a behavior, usually followed, it's not a necessity of JCL.
Most of the Production Support personnel code it at the 'end of Job card', just to make it easy for an on-looker. In a typical Production environment, you don't RESTART every job, it's an additional parameter you provide when one wants to restart a job after an abended state - and "addition" comes in the end, not in between -- this is just a behavior, usually followed, it's not a necessity of JCL.
Last edited by Anuj Dhawan on Mon Mar 26, 2012 6:56 pm, edited 1 time in total.
Regards,
Anuj
Anuj
-
- Member
- Posts: 8
- Joined: Tue Aug 31, 2010 7:19 pm
- Location: Hyderabad
- Contact:
-
- Moderator
- Posts: 1625
- Joined: Sat Aug 09, 2008 9:02 am
- Location: Mumbai, India
Restart card
Hi Saravanan,
Retsart is a Key word parameter u can use in between any key word parameter in JOB card.
Thanks,
Vishhnu.
Retsart is a Key word parameter u can use in between any key word parameter in JOB card.
Thanks,
Vishhnu.
-
- Member
- Posts: 1
- Joined: Tue Jan 07, 2014 11:11 pm
- Location: GURGAON
FREE TUTORIALS
Tutorials
Free tutorials from mainframegurukul
- JCL Tutorial
Covers all important JCL concepts. - Cobol Tutorial
This tutorials covers all Cobol Topics from STRING to COMP-3. - DB2 Tutorial
DB2 Tutorial focuses on DB2 COBOL Programming. - SORT Tutorial
This Tutorial covers all important aspects of DFSORT with examples - CICS Tutorial
This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions
- Cobol Interview Questions
50+ Interview Questions - JCL Interview Questions
50+ Interview Questions - DB2 Interview Questions
100+ Interview Questions - CICS Interview Questions
70+ Interview Questions - VSAM Interview Questions
27 Interview Questions
Other References
Mainframe Tools and others
- XPEDITER Reference
Explains how we can debug a program - FILEAID Reference
Explains how to browse , edit and delete datasets - Change Man Reference
Quick Start tutorial on Changeman - Abend Reference
Important Abend codes explained - FaceBook Page
MainframeGurukul FaceBook Page - LinkedIn Page
MainframeGurkul Linkedin Page