Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?

2476


which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad

1506


I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?

2280


For rewrite, why is it mandatory that file needs to be opened?

1112


Why did you choose to work with ibm mainframe cobol programming?

1114


How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?

1209


What is rmode(any) ?

1274


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

2476


what are decleratives in cobol?

2264


In COBOL, what is the different between index and subscript?

1245


What is comp-1 and comp-2?

1232


How to traceback if I am getting SOC7 or SOC4 abend? List down the steps

5375


What is an in line perform? When would you use it? Anything else you wish to say about it.

1079


What is the difference between external and global variables in COBOL?

1469


How do you differentiate between cobol and cobol-ii?

1213