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

How many sections are there in data division in COBOL?

676


Discuss about changing dataset name in proc.

757


What are the different rules for performing sort operation?

757


What is rmode(24)

676


What is difference between static and dynamic call in cobol?

772






) what is the difference between AID and HANDLE AID?

1630


What is the usage of comp fields in cobol?

651


how to refer the data field?

1802


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

663


what is s000 u4087 error? please give the all error codes in cobol,jcl.

17026


)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?

1520


How to remove 2 duplicate records and copy only one using job control language?

736


What do you understand by psb and acb?

659


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

667


What is the difference between structured cobol programming and object alternativelyiented cobol?

749