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

SORT -CHECK POINT ,RESTART


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
dsridhar

New User


Joined: 18 Apr 2005
Posts: 5

PostPosted: Tue Apr 19, 2005 5:35 pm
Reply with quote

I want to know how to do check point restart in SORT .
1. Like i have the below JCL But it is still doing the blockset sort & not ignoring it.I understand that restart does not work if i have a COPY or MERGE alone & dont specify the WORK DATA SET. In this case i have SUM fields. I think i can have OUTREC & yet have be able to do check point restart.

2. Once it abends i want to know how to start it again. Any parameter to be passed or i just nee to resubmit from the SORT Step where the ABEND HAS OCCURED?

Pls help

//SORT02 EXEC PGM=SORT,COND=(0,LT)
//SYSOUT DD SYSOUT=*
//SRTMSGE DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SORTIN DD DSN=XO70.CWT.MH.CSCMEXT.CWI35.R01.CLONE,DISP=SHR
//SORTOUT DD DSN=XO70.MHT.CSCMEXT.CWI35.FUTURE.R01,DISP=SHR
//SORTWK01 DD DSN=XO70.SORTWK01,UNIT=DASD,SPACE=(CYL,(15,15))
// DISP=(NEW,DELETE,CATLG)
//SORTWK02 DD DSN=XO70.SORTWK02,UNIT=DASD,SPACE=(CYL,(15,15))
// DISP=(NEW,DELETE,CATLG)
//SORTCKPT DD DSNAME=XO70.TEMP,DISP=SHR
//SORTCKPT DD DSNAME=XO70.TEMP,UNIT=TEMP,
// RECFM=FB,LRECL=240,
// DISP=(NEW,CATLG,CATLG),SPACE=(CYL,(10,10))
//SYSIN DD *
SORT FIELDS=(8,1,CH,A)
SUM FIELDS=(1,3,PD)
OPTION CKPT,IGNCKPT=NO
/*
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Developer


Joined: 15 Feb 2005
Posts: 7129
Location: San Jose, CA

PostPosted: Tue Apr 19, 2005 7:59 pm
Reply with quote

IGNCKPT is an installation option only - you cannot override it at run-time. If your installation default is IGNCKPT=YES (DFSORT's shipped default), you cannot use CKPT. Actually, using CKPT for DFSORT jobs is a bad idea since it stops DFSORT from using its most efficient technique.
Back to top
View user's profile Send private message
dsridhar

New User


Joined: 18 Apr 2005
Posts: 5

PostPosted: Tue Apr 19, 2005 11:54 pm
Reply with quote

actually my isntallation default is not to ignore checkpoint since i could override it once. Do you recoomend that i dont use check pint even if my ims db has say 10 million records totally. Like suppose it abends for TEMP SPACE or VIO then i end up restarting the whole job. So i thought it is a better idea to have checkpoiting although i did not know how to do it
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Developer


Joined: 15 Feb 2005
Posts: 7129
Location: San Jose, CA

PostPosted: Wed Apr 20, 2005 12:45 am
Reply with quote

Unless you get frequent abends (in which case, you should be looking at how to correct that), the time you waste using the less efficient sort technique to do the checkpoints will most likely cost you more than the restarts will save you. We recommend not using CKPT and that's why we have IGNCKPT=YES as the shipped default.
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 -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts JCL sort card - get first day and las... JCL & VSAM 9
No new posts Point and Shoot )PTNS TSO/ISPF 0
No new posts SCOPE PENDING option -check data DB2 2
No new posts Check data with Exception Table DB2 0
Search our Forums:

Back to Top