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 Incorrect output when trying to add n... monica1 PL/I & Assembler 10 Fri Jan 13, 2017 5:02 pm
No new posts How to Capture the Max return code of... anilkumar922 All Other Mainframe Topics 0 Thu Jan 12, 2017 12:02 pm
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
No new posts PL/I code tuning/Performance improvement Virendra Shambharkar PL/I & Assembler 4 Mon Dec 05, 2016 11:57 am
No new posts What is the code in CLIST to enable t... jackzhang75 CLIST & REXX 1 Fri Dec 02, 2016 3:02 am


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