I have program P1 which calls file F1 which has 100 records
and following structure
001 ..................
002 ..................
003 ..................
098 ....................
099 ...................
100 ....................
Now I want to read these files and write these records in
file F2 in following manner.
001 ...... 051 .....
002 ...... 052 .....
003 ...... 053 .....
.......... .......
.......... .......
.......... .......
048 ........ 098 ......
049 .......... 099 .......
050 .... 100 ......
Answer Posted / vaneesh
Hi Krishnan A
How will how will you split the file into 50-50. Please let
me know with the sort card.
Vaneesh
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are different data types in cobol?
What is rmode(any) ?
how do you reference the esds vsam file formats from cobol programs
What is the difference between PIC 9.99 and 9v99 in COBOL?
can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech
What are the different rules of SORT operation?
What are the different open modes available in cobol?
What is the Purpose of POINTER Phrase in STRING command in COBOL?
What are the different types of condition in cobol and write their forms.
What is inspect in cobol ?
How do you reference the following file formats from cobol programs?
How to remove 2 duplicate records and copy only one using job control language?
Which mode is used to operate the sequential file?
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
For rewrite, why is it mandatory that file needs to be opened?