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 / shailendra
i think the last ans will give som error due the same
varable name is declare in the same level in fd file3.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Difference between cobol and cobol-ii?
How you can read the file from bottom?
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 do u write test cases?
What is the difference between perform … with test after and perform … with test before?
What are the pertinent COBOL commands?
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic
What are various search techniques in cobol? Explain.
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
what is difference between cobol and cobol/400
I have a File that has duplicate records. I need only those records that occur more than thrice.?
How many bytes S(8) comp field occupy and its maximum value?
Explain the configuration section of a cobol program with examples of syntax.
What are the various section in data division and briefly explain them.
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.