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 / hemant borase

// pgm=dfsort
/*
sort fields=copy,stopaft=55000,skiprec=55000
*/
//srtin dd dsn=orig-file
//sortout dd dsn=newfile
...

correct me if i am wrong because we need to skip only
55,000th record.
am i rt?

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what you understand by passing by value.

689


What is the problem of ordered sequential files access?

692


Write the code to count the sum of n natural numbers.

697


how can i see junk values in dclgen or in hostvariable of comp ?

2536


Define static linking and dynamic linking.

658






how do you reference the esds vsam file formats from cobol programs

625


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

696


Write a program that uses move corresponding.

668


What is the difference between binary search and sequential search?

634


How you can read the file from bottom?

654


Write down the divisions of cobol program?

663


What are 77 levels used for?

653


Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.

2047


What are declaratives and what are their uses in cobol?

702


What is the difference between PIC 9.99 and PIC9v99?

771