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 / arpan

Or we can use replace option with the copybook in the COBOl
PGM.

For e.g..
Copy Copybook1.
Copy Copybook2 replacing ADDRESS with ADDRESS1.

Correct me if I am wrong.

Is This Answer Correct ?    9 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a scope terminator give example?

651


i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?

885


If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly

2654


What kind of error is trapped by on size error option?

734


When is inspect verb is used in cobol?

669






How are the next sentence and continue different from each other?

755


i want a program using by if, evaluate , string, unstring, perform, occurs?

4037


) How do u handle errors in BMS macro?

1418


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

625


What do you understand by psb and acb?

659


Write a cobol program making use of the redefine clause.

722


What are different data types in cobol?

680


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

1642


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

696


Define cobol?

855