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
example for sub strings ? and refernce modifications whit output pls
what is the use of outrecord?
How arrays can be defined in COBOL?
How are the next sentence and continue different from each other?
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
Mention the guidelines to write a structured cobol program?
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
What is the difference between perform … with test after and perform … with test before?
When is inspect verb is used in cobol?
What is the difference between Call and a Link?
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.
i want a program using by if, evaluate , string, unstring, perform, occurs?