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
When is inspect verb is used in cobol?
IF I mention stop run in CICS what happens?
What are the various section in data division and briefly explain them.
HOw can I get the negative sign while deduct high value from low value
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
how to convert the recors form vsam file to db2 table tru file aid
Define static linking and dynamic linking.
what is amode(24), amode(31), rmode(24) and rmode(any)?
How do define dynamic array in cobol.
How many bytes S(8) comp field occupy and its maximum value?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
What is the compute verb? How is it used?
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly
i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc