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.
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
Joined: 09 Aug 2008 Posts: 1631 Location: Mumbai, India
Posted: Mon Mar 26, 2012 2:51 pm Post subject:
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. _________________ Regards,
Last edited by Anuj Dhawan on Mon Mar 26, 2012 6:56 pm; edited 1 time in total
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum