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 is the use of outrecord?
) what is the difference between AID and HANDLE AID?
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
) How do u handle errors in BMS macro?
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
IF I mention stop run in CICS what happens?
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
) How do u handle errors in BMS macro
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
Write some characteristics of cobol as means of business language.
Can we redefine the field of x(200) to less than 200?
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
Which division and paragraphs are mandatory for a COBOL program?
explain sorting techniques in cobol program?