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

What are the different open modes available in cobol?

1193


if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need

1351


how to access the file from prodution from changeman tool and to submit a file to production

7549


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

1095


What is an in line perform? When would you use it? Anything else you wish to say about it.

1076


What are the different data types in cobol?

1447


How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that

3234


What is the problem of ordered sequential files access?

1164


Give some examples of command terminators?

1262


What is the difference between PIC 9.99 and 9v99 in COBOL?

1334


Discuss about changing dataset name in proc.

1235


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

1193


how we sort two input files based on a common column and giving one o/p file please send me the coding logic?

2134


Write a program that uses move corresponding.

1149


There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.

1436