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
Explain what you understand by passing by value.
What is the problem of ordered sequential files access?
Write the code to count the sum of n natural numbers.
how can i see junk values in dclgen or in hostvariable of comp ?
Define static linking and dynamic linking.
how do you reference the esds vsam file formats from cobol programs
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 a program that uses move corresponding.
What is the difference between binary search and sequential search?
How you can read the file from bottom?
Write down the divisions of cobol program?
What are 77 levels used for?
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.
What are declaratives and what are their uses in cobol?
What is the difference between PIC 9.99 and PIC9v99?