dsridhar
New User
Joined: 18 Apr 2005 Posts: 5
|
|
|
|
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
/* |
|
Frank Yaeger
DFSORT Developer

Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
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. |
|
Frank Yaeger
DFSORT Developer

Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
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. |
|