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

By using move reference modification it is very simple.
first open 2 input files and 1 output file.read 2 input
files.write the logic as following.
move filerec1 to filerec3(1:10).
move filerec2 to filerec3(11:10).
write filerec3.

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the cobol coding sheets?

1243


What is the use of intialize verb?

1220


Explain the configuration section of a cobol program with examples of syntax.

1167


Can we redefine the field of x(200) to less than 200?

1349


) How do u handle errors in BMS macro

2013


How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?

2558


What is the difference between structured cobol programming and object alternativelyiented cobol?

1231


What are the various section in data division and briefly explain them.

1153


What is link edit in cobol?

1177


how to move the records from file to array table. give with code example

2654


what is difference between cobol and cobol/400

22871


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

1192


what is the difference between COBOL2 AND COBOL390?

3036


What are the different types of condition in cobol and write their forms.

1098


How you can read the file from bottom?

1133