If my file contains 100,000 records and job abended at
55,000th records processing then how can i restart job from
that record onward by ignoring that record. I can not edit
the file as file size is big and it is getting browse
substituted?
Answer Posted / neeraj
I think this logic is sufficient to fullfill this req:
// pgm=dfsort
/*
sort fields=copy,skiprec=55000
*/
//srtin dd dsn=orig-file
//sortout dd dsn=newfile
| Is This Answer Correct ? | 18 Yes | 0 No |
Post New Answer View All Answers
What is perform what is varying?
How many bytes S(8) comp field occupy and its maximum value?
What is the compute verb? How is it used?
Why would you use find and get rather than to obtain?
IF I mention stop run in CICS what happens?
what is search and searchall?what is the diffrence between them?give an best example?
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
Write the code implementing the perform … varying.
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
What are the various section in data division and briefly explain them.
What is cobol?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
Whats the difference between search & search ALL?
explain sorting techniques in cobol program?
What is the difference between goback, stop run and exit program in cobol?