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?
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.
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
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.