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
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
What is the difference between goback, stop run and exit program in cobol?
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
Write a cobol program making use of the redefine clause.
Mention the guidelines to write a structured cobol program?
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
What is the difference between comp and comp-3 usage?
What are the various section in data division and briefly explain them.
Write a program to enter and display the names of students in a class using the occurs clause.
Write some characteristics of cobol as means of business language.
Which mode is used to operate the sequential file?
What are 77 levels used for?
What is the usage of comp fields in cobol?
What do you understand by psb and acb?