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 is the difference between Global and External Variables?

1377


example for sub strings ? and refernce modifications whit output pls

2317


Difference between array and sub-script ?

1662


Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.

2147


Which Search verb is equivalent to PERFORM…VARYING?

1043


how do you reference the variable block file formats from cobol programs

1256


How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?

1246


What guidelines should be followed to write a structured cobol prgm?

1148


What is the difference between binary search and sequential search?

1089


What is a SSRANGE and NOSSRANGE?

1470


What do you understand by psb and acb?

1123


What is the utilization of copybook in cobol?

1194


What is the utilization of copybook in cobol? Could we utilize a similar copybook?

1233


What is the compute verb? How is it used?

1148


) How do u handle errors in BMS macro?

1970