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
What are literals?
) How do u handle errors in BMS macro?
Difference between cobol and cobol-ii?
how do you reference the ksds vsam file formats from cobol programs
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
What is the use of intialize verb?
A table has two indexes defined. Which one will be used by the SEARCH?
Give some examples of command terminators?
Write a program to explain size error.
Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks
what is difference between cobol and cobol/400
What is the difference between comp and comp-3 usage?
How arrays can be defined in COBOL?
What rules are followed by the search verb.