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
Are you comfortable in cobol or jcl?
I have a File that has duplicate records. I need only those records that occur more than thrice.?
What is static and dynamic call in cobol?
What are declaratives and what are their uses in cobol?
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.
explain sorting techniques in cobol program?
Differentiate between structured cobol programming and object-oriented cobol programming.
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
In COBOL programming, what is PERFORM? What is VARYING?
How arrays can be defined in COBOL?
) How do u handle errors in BMS macro
how can i see junk values in dclgen or in hostvariable of comp ?
How do you define a variable of comp-1 and comp-2?
What is cobol?
How do you reference the following file formats from cobol programs?