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

Mention the guidelines to write a structured cobol program?

1108


What are all the divisions of a COBOL program?

1227


Give some examples of command terminators?

1272


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

1214


Difference between array and sub-script ?

1672


What rules are to be followed while using the corresponding options?

1092


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

1256


input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.

2233


How you can read the file from bottom?

1162


What is a scope terminator give example?

1125


What is the utilization of copybook in cobol?

1207


1.give the details about WHEN OTHER. 2. how many form are available in evaluate.

2121


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

2388


What is the default value(s) for an initialize? What keyword will allow for an override of the default?

1134


What are the different data types in cobol?

1461