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
 

 

SORT -CHECK POINT ,RESTART

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
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    Post subject: SORT -CHECK POINT ,RESTART
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 Moderator


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

PostPosted: Tue Apr 19, 2005 7:59 pm    Post subject:
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    Post subject: Re: SORT -CHECK POINT ,RESTART
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 Moderator


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

PostPosted: Wed Apr 20, 2005 12:45 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Limit duplicate records in the SORT pshongal SYNCSORT 6 Mon Nov 21, 2016 12:54 pm
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 7 Fri Nov 18, 2016 1:48 pm
No new posts How to convert the VBM file to VB or... Sulabh Agrawal JCL & VSAM 4 Fri Nov 18, 2016 1:04 pm
No new posts Check System time(Minute) Using TIME1... balaji81_k DFSORT/ICETOOL 5 Fri Nov 11, 2016 10:53 am
No new posts Sort records based on numeric field. Alks SYNCSORT 2 Wed Oct 19, 2016 10:14 pm


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