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 it is possible output a SET value fro... Martylin JCL & VSAM 3 Fri Sep 22, 2017 7:08 am
No new posts Split 1 file into 10 output Files - S... Prasanth Kumar SYNCSORT 5 Sat Sep 16, 2017 12:02 am
No new posts BUILD OUTFIL based on condition other... balaji81_k DFSORT/ICETOOL 13 Fri Sep 08, 2017 11:06 pm
No new posts Hardcoded negative sign value in output scdinesh SYNCSORT 8 Fri Sep 08, 2017 5:28 am
No new posts SORT Trailer Count - LRECL Output co... amorante DFSORT/ICETOOL 5 Tue Aug 29, 2017 8:57 pm

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