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 / sj@iy
Code sort fields as
SORTIN DD *
OPTION COPY
SKIPREC(55000)
/*
This will skip all records upto and including 55000th record
OR
SORTIN DD *
OPTION COPY
OUTFIL STARTREC=550001,ENDREC=100000
/*
This will copy records from 550001 to 100000
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
In COBOL, what is the different between index and subscript?
How to know whether the module is dynamical or statistical?
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
What is the default value(s) for an initialize and what keyword allows for an override of the default?
what is s000 u4087 error? please give the all error codes in cobol,jcl.
What is perform what is varying?
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)?
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
how do you define single dimensional array and multidimensional array in your cobol?
I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
What are the different types of condition in cobol and write their forms.
What is cobol?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
What is Pic 9v99 Indicates in COBOL?