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

Which is not true about evaluate statement

2413


How do you reference the fixed block file formats from cobol programs

1182


i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc

2549


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

1167


what is amode(24), amode(31), rmode(24) and rmode(any)?

1114


What are all the divisions of a COBOL program?

1173


Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning

1059


How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?

1162


What are the different rules to perform a Search?

1066


How many sections are there in data division in COBOL?

1104


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.

2100


) How do u handle errors in BMS macro

1983


What is amode(24)?

1204


How to use the same COBOL program in Batch and CICS on lines? explain with an example

2339


State the various causes of s0c1, s0c5 and s0c7.

1041