GDG question

jcl interview questions

Moderator: Moderator Group

Post Reply
anvesh.malladi
Member
Posts: 4
Joined: Sun Jun 19, 2011 10:56 am

GDG question

Post by anvesh.malladi » Sun Jun 19, 2011 11:19 am

In a JCL contains 2 steps,in step 1 GDG(+1) is created and in step 2 it is used.A abend occurred in step 2.while we restart the job we have to change
GDG(+1) to GDG(0) ? or any more changes to be done?

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

Post by dbzTHEdinosauer » Sun Jun 19, 2011 4:24 pm

your assumption is correct. the gdg during restart would now be(0),
even though during the job (when there is no restart) it is always refered to as (+1).

one way to avoid this restart problem is split up the job into two jobs.
then the second job (step2) would always be (0), regardless of restart or not.
Dick Brenholtz
JCL, SQL and code in programs have an irritating habit of doing what you say,
not what you meant.

anvesh.malladi
Member
Posts: 4
Joined: Sun Jun 19, 2011 10:56 am

Post by anvesh.malladi » Sun Jun 19, 2011 10:09 pm

Thank you

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