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
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
how to refer the data field?
What are the various section in data division and briefly explain them.
i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this
Whats the difference between search & search ALL?
How do you reference the following file formats from cobol programs?
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
how do you reference the esds vsam file formats from cobol programs
Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
Write the code to count the sum of n natural numbers.
A table has two indexes defined. Which one will be used by the SEARCH?
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.
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
Write some characteristics of cobol as means of business language.