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
Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
I have a File that has duplicate records. I need only those records that occur more than thrice.?
Can a Search can be done on a table with or without Index?
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
what happens if parmparameter passes zero bytes to the program
Write a cobol program making use of the redefine clause.
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
Write a program to explain size error.
) How do u handle errors in BMS macro?
What is perform what is varying?
What is the difference between structured cobol programming and object alternativelyiented cobol?
What are different data types in cobol?
how to access the file from prodution from changeman tool and to submit a file to production
Explain the configuration section of a cobol program with examples of syntax.