Difference b/w restart and resubmit

In this Mainframe Forum - You can post your queries on JCL, OS/390 JCL, MVS JCL, z/OS JCL, JES2 & JES3

Moderators: Frank Yaeger, DikDude, Moderator Group

Post Reply
abhicet2003
Member
Posts: 2
Joined: Fri Sep 29, 2006 10:46 pm

Difference b/w restart and resubmit

Post by abhicet2003 » Fri Oct 06, 2006 9:10 am

Hi all,
One of my job got abended due to dataset not created. Since the dataset created late, my job has taken yesterday's dataset and abended. so i have restarted the job after the new dataset created and again it failed due to GDG verification failed in CA-11 step. So again i resubmitted the job instead of restarting and job went fine. Could anyone please tell me what is the difference b/w restart and resubmit and why it failed during restart?

Thanks

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

Post by dbzTHEdinosauer » Sat Oct 07, 2006 2:44 am

abhicet,

RESTART implies 'Starting of the JCL at a point other than the begining'.

reSUBMIT means SUBMITing a job stream a second (or third ...) time, often a JOB is RESUBMITted when the JCL had an error and the job could not be run.

STEPs of a JOB rely on preceding STEPs to complete, normal completion. When a JOB is stopped due to abnormal completion of a JOB STEP, 3rd Party scheduling tools, such as CA-...., maintain a 'MUST BE RESTARTed' log.
A RESTART STEP is maintained, the influence of events occurring (update/creation/deletion) in the previous JOB RUN are considered 'unchanged' (data set existance, etc...), thus the JOB would 'start' at STEP 5 instead of STEP1.

Automated schedulers have a list of resources (datasets) used by the JOB (reads the JCL) and site level parameters that define operations for this site. When a JOB abends, based on site&job level parameters and the JCL, a scheduler will determine if the abending JOB must be RESTARTed (at a certain STEP) or reSUBMITted. There are much more exotic things that the scheduler can perform, and I suggest that you avail yourself to any and all documentation about your sites scheduler.
One of my job got abended due to dataset not created....
a serious answer would require that you cut&paste your sysmessges and JCLmsgs from the job. (cut&paste between quote or code BBCode.

I hope I have given you enough information so that you can start learning about your scheduler.
Dick Brenholtz
JCL, SQL and code in programs have an irritating habit of doing what you say,
not what you meant.

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