Regarding Restart card in JCL

jcl interview questions

Moderator: Moderator Group

Post Reply
jsaravanaece
Member
Posts: 8
Joined: Tue Aug 31, 2010 7:19 pm
Location: Hyderabad
Contact:

Regarding Restart card in JCL

Post by jsaravanaece » Mon Aug 15, 2011 11:15 am

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

Anuj Dhawan
Moderator
Posts: 1625
Joined: Sat Aug 09, 2008 9:02 am
Location: Mumbai, India

Post by Anuj Dhawan » Mon Aug 15, 2011 3:14 pm

I, for one, did not understand your question quite well - rephrase it, please.

On the other hand - are you talking about RESTART of a Job? Then you use RESTART in your Job-card; there is no "Restart card in JCL" I'm aware of.
Regards,
Anuj

User avatar
dbzTHEdinosauer
Moderator
Posts: 981
Joined: Mon Oct 02, 2006 8:31 pm

Post by dbzTHEdinosauer » Mon Aug 15, 2011 3:34 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.
Dick Brenholtz
JCL, SQL and code in programs have an irritating habit of doing what you say,
not what you meant.

jsaravanaece
Member
Posts: 8
Joined: Tue Aug 31, 2010 7:19 pm
Location: Hyderabad
Contact:

Post by jsaravanaece » Sat Mar 24, 2012 10:01 pm

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.
Thanks for kind reply,

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

DikDude
Moderator
Posts: 1001
Joined: Fri Jul 22, 2011 8:39 am
Location: usa

Post by DikDude » Sat Mar 24, 2012 11:29 pm

here I have inserted the restart card inbetween (not at end of job card).
Where the RESTART is placed in the JOB statement will not change how the job executes.
if you run this program, what will happen.
Which program? I suspect you mean what will happen if this job is submitted :?

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

Anuj Dhawan
Moderator
Posts: 1625
Joined: Sat Aug 09, 2008 9:02 am
Location: Mumbai, India

Post by Anuj Dhawan » Mon Mar 26, 2012 2:51 pm

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.
Last edited by Anuj Dhawan on Mon Mar 26, 2012 6:56 pm, edited 1 time in total.
Regards,
Anuj

jsaravanaece
Member
Posts: 8
Joined: Tue Aug 31, 2010 7:19 pm
Location: Hyderabad
Contact:

Post by jsaravanaece » Mon Mar 26, 2012 3:25 pm

Thank you both of you.

now I got it

:) :)
Works @ Genpact

Anuj Dhawan
Moderator
Posts: 1625
Joined: Sat Aug 09, 2008 9:02 am
Location: Mumbai, India

Post by Anuj Dhawan » Mon Mar 26, 2012 6:59 pm

You're welcome, :)

Take care.
Regards,
Anuj

dmvishnu
Member
Posts: 1
Joined: Tue Oct 08, 2013 10:34 am

Restart card

Post by dmvishnu » Tue Oct 08, 2013 10:38 am

Hi Saravanan,

Retsart is a Key word parameter u can use in between any key word parameter in JOB card.

Thanks,
Vishhnu.

NicC
Active Member
Posts: 650
Joined: Sun Jul 24, 2011 5:27 pm
Location: Down on the pig farm

Post by NicC » Tue Oct 08, 2013 5:16 pm

u can use in between any key word parameter in JOB card.
Really? Have ypu tried puttiing it between jobname and JOB or JOB and accounting information?
Regards
Nic

gupta.deepti95
Member
Posts: 1
Joined: Tue Jan 07, 2014 11:11 pm
Location: GURGAON

hi NIcc

Post by gupta.deepti95 » Tue Jan 07, 2014 11:24 pm

Lol this ws gud 1 :lol:
Thanks
Deepti

Post Reply

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



Other References
Mainframe Tools and others