View previous topic :: View next topic
|
Author |
Message |
tirumalareddy maheswara Currently Banned New User
Joined: 24 Nov 2007 Posts: 7 Location: hyderabad
|
|
|
|
Hi
I have one file with 1 to 10000 records.I got abend at 5000 recored.I want to restart from 5001 th record .I want jcl for this query.
Normal jcl or using ICE TOOL is not a problem
Some infor : 1 to 10000 records in file1
after restart i want to move to temporary file and delete upto 5000 records and rename temporary file with input file.Please give some jcl to me
Thanks
T.Maheswara Reddy |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Search the DFSORT forum, or manual, for how to skip records.
This has been discussed many times before. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello T.Maheswara Reddy and welcome to the forums,
To properly handle restarting the abended process, there is more to consider than merely skipping records.
As the original process ran, was it producing some report? The continuation needs to be syncronized with what was done in the abended run. What about counters/accumulators - they too need to be dealt with.
Does the process write some output file(s)? Yup, those too need to be handled so that when the "re-start" is run, the output files have everything that would be in the file(s) had there been no abend.
Restart is not simply a matter of some jcl and skipping some records. . . |
|
Back to top |
|
|
|