i have two file, each file having :
file1 is having 2 fields
field1 field2
file2 is having 3 fields
field1 field2 field3
my req is to make it one file like:
field1 field2 field1 field2 field3
if anyone know please send me syntax, i tried this with
DFSORT but could not succeed.
Answer Posted / viks
Hi Asmara i think u didnt get my question asking
for.Actually my requirement is to not only merge all 5
fields but they shud come in 1 row(2 flds from file 1 and 3
flds from file 2) into file3(output file)
file1 is having 2 fields
field1 field2
123 234
file2 is having 3 fields
field1 field2 field3
456 678 789
output file3
Fld1 fld2 fld1 fld2 fld3
123 234 456 678 789
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
) what is the difference between AID and HANDLE AID?
how do you reference the variable block file formats from cobol programs
Explain the configuration section of a cobol program with examples of syntax.
Can we change the password using ALTER? anyone tried and changed?
1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?
IF I mention stop run in CICS what happens?
I have a File that has duplicate records. I need only those records that occur more than thrice.?
What is link edit in cobol?
What are the pertinent COBOL commands?
For rewrite, why is it mandatory that file needs to be opened?
What are different data types in cobol?
) How do u handle errors in BMS macro?
how to refer the data field?
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
What is the default value(s) for an initialize and what keyword allows for an override of the default?