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
What is static and dynamic call in cobol?
Write the code to count the sum of n natural numbers.
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
What is the difference between next sentence and continue in cobol programing language?
Write a program to explain size error.
Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
How to print 10 to 1 if the input have only 10 digit number?
How can you get the ksds file records into your cobol program?
Explain the configuration section of a cobol program with examples of syntax.
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
How do you define a variable of comp-1 and comp-2?
Write down the divisions of cobol program?
Discuss about changing dataset name in proc.
Define static linking and dynamic linking.