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
 

 

How to code Restart JCL for a GSAM output GDG

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
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    Post subject: How to code Restart JCL for a GSAM output GDG
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    Post subject: You Need change the DISP
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> IMS DB/DC All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Problem reading GTF trace output danik56 ABENDS & Debugging 7 Thu Mar 16, 2017 1:02 pm
No new posts SORT VSAM file with each field one by... maxsubrat DFSORT/ICETOOL 6 Tue Mar 14, 2017 1:07 pm
No new posts JCL to Set Return code based on DB2 S... vinu78 DB2 17 Mon Mar 13, 2017 9:47 pm
No new posts How to get current date -1 and curren... murali.andaluri DFSORT/ICETOOL 3 Wed Mar 08, 2017 2:09 pm
No new posts IMS region inactive - User abend code... gthmrj IMS DB/DC 5 Tue Mar 07, 2017 12:29 pm


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