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 are the different open modes available in cobol?
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
how to access the file from prodution from changeman tool and to submit a file to production
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
What is an in line perform? When would you use it? Anything else you wish to say about it.
What are the different data types in cobol?
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
What is the problem of ordered sequential files access?
Give some examples of command terminators?
What is the difference between PIC 9.99 and 9v99 in COBOL?
Discuss about changing dataset name in proc.
how do you reference the ksds vsam file formats from cobol programs
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
Write a program that uses move corresponding.
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.