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

How to code Restart JCL for a GSAM output GDG


IBM Mainframe Forums -> IMS DB/DC
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Hal2001

New User


Joined: 06 Jun 2006
Posts: 4

PostPosted: Fri Jun 16, 2006 7:12 pm
Reply with quote

If an application program coded with checkpoint/restart is writing to an output GSAM database defined as an MVS GDG, and the program abends and needs to be restarted, what needs to be changed in the JCL to run the restart?

On the initial run doing the checkpoint the GSAM GDG would look like this:
//GNFIXAOT DD DSN=TEST.GSAM.GDG.FILE.D00005(+1),
// DISP=(NEW,CATLG,CATLG),
// DCB=(DSORG=PS,RECFM=FB,BLKSIZE=0,LRECL=133),
// AVGREC=U,
// SPACE=(133,(500,100),RLSE)

If the restart will read the GSAM file to reposition the dataset, then it begins to write to the dataset, how does the DD need to look for the restart?
Back to top
View user's profile Send private message
Varinder

New User


Joined: 10 Jun 2006
Posts: 4

PostPosted: Sat Jun 17, 2006 2:36 am
Reply with quote

You need to change the DISP parameters
to DISP=Mod
Back to top
View user's profile Send private message
Varinder

New User


Joined: 10 Jun 2006
Posts: 4

PostPosted: Sat Jun 17, 2006 2:37 am
Reply with quote

You need to change the DISP parameters
to DISP=Mod, while restarting the job.
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 -> IMS DB/DC

 


Similar Topics
Topic Forum Replies
No new posts TRIM everything from input, output co... DFSORT/ICETOOL 1
No new posts run rexx code with jcl CLIST & REXX 15
No new posts Compile rexx code with jcl CLIST & REXX 6
No new posts Sortjoin and Search for a String and ... DFSORT/ICETOOL 1
No new posts Joinkeys - 5 output files DFSORT/ICETOOL 7
Search our Forums:

Back to Top