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
Write a program to enter and display the names of students in a class using the occurs clause.
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
How you can characterize tables in cobol?
What rules are followed by the search verb.
How can you get the ksds file records into your cobol program?
What are literals?
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
Can you please let me know the centre name of INS certification in Kolkata.
What is the problem of ordered sequential files access?
What is the local-storage section?
Whats the difference between search & search ALL?
Explain the configuration section of a cobol program with examples of syntax.
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need