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
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
Write a program to enter and display the names of students in a class using the occurs clause.
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
How many bytes S(8) comp field occupy and its maximum value?
What are declaratives and what are their uses in cobol?
how do you reference the rrds file formats from cobol programs
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
how do you reference the variable unblock file formats from cobol programs
What is the difference between external and global variables in COBOL?
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
I have one ps file in which there are 3 fileds emp_no,emp_name and leave_app.this ps file information give the detail of employee which is going to apply for leave.suppose emp_no=113430,emp_name=ajay,leave_app=1 that means he is going to apply for 1 day leave.and accordingling the table in db2 will be updated means if he has that no of leave in his account then he will get dat leave and updated acc. in table(leave_balance=previous leave present in table-leave_app).Now i want to check whther the updated result is correct or not by comparing the two ps file using IEBCOMPARE or icetool so what is going to be the two ps file and how its is going to be compare.
Write some characteristics of cobol as means of business language.
What are 77 levels used for?
Which is not true about evaluate statement
When is inspect verb is used in cobol?