IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

what are the GDG values if the job abended?


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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: 1448
Location: Chicago, IL

PostPosted: Mon Oct 16, 2006 9:26 am
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

Global Moderator


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

PostPosted: Mon Oct 16, 2006 6:36 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts Reorg abended with REASON=X'00E40347' DB2 2
No new posts Null values are considered in Total c... DFSORT/ICETOOL 6
No new posts Forcing a step to run (even if abended) JCL & VSAM 8
Search our Forums:

Back to Top