have in 100 records in a file i want to read first 3 records
and skip next 3 records and agan i want to read 3 records and
again i want to skip 3 records...
Answer Posted / santhosh
We can do it through JCL by using sort utility ..Through splitby=3 in outfil statement giving two different outputs..It will store two alternative records into two datasets alternatively
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the difference between PIC 9.99 and PIC9v99?
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
How you can read the file from bottom?
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?
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
What is the usage of comp fields in cobol?
how do you reference the printer file formats from cobol programs
how do you reference the rrds file formats from cobol programs
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
what is the use of outrecord?
i need a small 3d program using inline and outline.
how do you reference the variable block file formats from cobol programs
What are the pertinent COBOL commands?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?