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...

If there are two copybooks which have same variables and we
are using both the copybooks in our program. will there be
an error and if i move values to the variable which copybook
varibales gets the values i move in.

Answer Posted / lu

you write like this :
01 Copybook1.
02 ADDRESS pic x(03).
01 Copybook2.
02 ADDRESS pic x(03).

move 'AAA' to ADDRESS OF copybook1
move 'BBB' to Address OF copybook2

never forget the 'OF'

Is This Answer Correct ?    17 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Are you comfortable in cobol or jcl?

1034


I have a File that has duplicate records. I need only those records that occur more than thrice.?

9858


What is static and dynamic call in cobol?

1054


What are declaratives and what are their uses in cobol?

1194


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.

2139


explain sorting techniques in cobol program?

1187


Differentiate between structured cobol programming and object-oriented cobol programming.

1139


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

5363


In COBOL programming, what is PERFORM? What is VARYING?

1140


How arrays can be defined in COBOL?

1202


) How do u handle errors in BMS macro

2025


how can i see junk values in dclgen or in hostvariable of comp ?

2989


How do you define a variable of comp-1 and comp-2?

1194


What is cobol?

1234


How do you reference the following file formats from cobol programs?

1149