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 / navatha

declare field1,field2(file3rec1) in 1 group then
field1,field2,feild3 in another group(file3rec2) then
declare it as whole record then using reference
modification u can do as
move filerec1 to file3rec1(1:10)
move filerec2 to file3rec2(1:10)
write file3


i think this will get ur answer............

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of intialize verb?

1256


What is the utilization of copybook in cobol?

1195


what is the difference between COBOL2 AND COBOL390?

3058


i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?

1329


Discuss about changing dataset name in proc.

1235


what is the use of outrecord?

2221


Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?

1357


What is the default value(s) for an initialize and what keyword allows for an override of the default?

1213


How arrays can be defined in COBOL?

1223


What is comp-1 and comp-2?

1230


how do you reference the ksds vsam file formats from cobol programs

1193


What is length is cobol?

1101


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

2472


How do get the result of your program directly on your pc?

2348


What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?

1111