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 is s000 u4087 error? please give the all error codes in cobol,jcl.
what are decleratives in cobol?
Name the divisions, which are available in a cobol program?
Explain the configuration section of a cobol program with examples of syntax.
Write the code to count the sum of n natural numbers.
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)?
Mention the guidelines to write a structured cobol program?
What is redefines clause in COBOL?
How do get the result of your program directly on your pc?
What is the LINKAGE SECTION used in COBOL?
how do you reference the variable block file formats from cobol programs
Explain about different table spaces.
I have one ps file in which there are 3 fileds emp_no,emp_name and leave_app.this ps file information give the detail of employee which is going to apply for leave.suppose emp_no=113430,emp_name=ajay,leave_app=1 that means he is going to apply for 1 day leave.and accordingling the table in db2 will be updated means if he has that no of leave in his account then he will get dat leave and updated acc. in table(leave_balance=previous leave present in table-leave_app).Now i want to check whther the updated result is correct or not by comparing the two ps file using IEBCOMPARE or icetool so what is going to be the two ps file and how its is going to be compare.
Write a program to explain size error.
What is report-item in COBOL?