Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 IBEGENER RETURN CODE 12 anilkumar922 All Other Mainframe Topics 5 Wed Dec 13, 2017 11:41 am
No new posts Finding the plan when code compiled u... Ahemad DB2 1 Fri Dec 01, 2017 6:38 pm
No new posts Control-M restart instruction sonaliingle CA Products 2 Tue Nov 28, 2017 5:05 pm
No new posts Strange Code amitc23 COBOL Programming 6 Tue Nov 28, 2017 11:25 am
No new posts VBS and VB, COBOL syntax is the same ... natt.sut COBOL Programming 3 Sun Nov 12, 2017 6:36 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us