Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

what are the GDG values if the job abended?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
subbubannurutcs

New User


Joined: 15 Oct 2006
Posts: 11

PostPosted: Sun Oct 15, 2006 4:09 pm    Post subject: What are values for the GDGs in the job
Reply with quote

The job consists of 5 steps First step creating the GDG second step accesing the GDG third step writing the GDG fourth step deleting the GDG the job abended at second step is it restart the job from second step what are the GDG values if the ob abended?
Back to top
View user's profile Send private message

priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1452
Location: Chicago, IL

PostPosted: Mon Oct 16, 2006 9:26 am    Post subject: Re: what are the GDG values if the job abended?
Reply with quote

Quote:
The job consists of 5 steps First step creating the GDG second step accesing the GDG third step writing the GDG fourth step deleting the GDG

Code:
STEP1   Create GDG Generation.   DISP=NEW   (+01)
STEP2   Access GDG Generation. (Means READ Only)   DISP=SHR (+01)
STEP3   Write  GDG Generation. (Means Modifying)   DISP=MOD (+01)
STEP4   Delete GDG Generation.         DISP=MOD (+01)


Quote:
the job abended at second step is it restart the job from second step what are the GDG values if the ob abended?

I am not sure if I understood you completely here. I think you are asking If job was abended at second step and again was restarted from second step in this case what would be the GDG values in restarted job.

If this is the understanding... Then see below...
Code:
RESTART=STEP2
STEP2   Access GDG Generation. (Means READ Only)   DISP=SHR (+00)
STEP3   Write  GDG Generation. (Means Modifying)   DISP=MOD (+00)
STEP4   Delete GDG Generation.         DISP=MOD (+00)
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Mon Oct 16, 2006 6:36 pm    Post subject: Re: what are the GDG values if the job abended?
Reply with quote

Is it just me, or does this seem like an extremely inane exercise?
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SQL query to run through list of valu... Ni3-db2 DB2 14 Wed Dec 14, 2016 9:52 am
No new posts Overlaying one set of charater values... Kevin Lindsley SYNCSORT 7 Sat Nov 05, 2016 3:21 am
No new posts Low values Results from VARCHAR FORMAT balaji81_k DB2 10 Thu Oct 20, 2016 1:18 am
No new posts How can we create a flat file in JAVA... rakesh.v18 Java & MQSeries 7 Fri Sep 23, 2016 10:46 pm
No new posts Using 'parm' to vary SORTOUT record v... Sysaron DFSORT/ICETOOL 13 Wed Sep 07, 2016 9:24 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us