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 / neeraj
I think this logic is sufficient to fullfill this req:
// pgm=dfsort
/*
sort fields=copy,skiprec=55000
*/
//srtin dd dsn=orig-file
//sortout dd dsn=newfile
| Is This Answer Correct ? | 18 Yes | 0 No |
Post New Answer View All Answers
What are the different rules to perform a Search?
what is s000 u4087 error? please give the all error codes in cobol,jcl.
how do you define single dimensional array and multidimensional array in your cobol?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
What is amode(31)
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
How do define dynamic array in cobol.
how to move the records from file to array table. give with code example
Explain what you understand by passing by value.
What guidelines should be followed to write a structured cobol prgm?
Discuss about changing dataset name in proc.
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
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?