can u give result for the fallowing example...
05 a pic 9(2)
05 b redifines a pic x(2).
move 'xy' to b.
display a,b.
Answer Posted / lakshmisudha
it display answer is xyxy
first xy for a and second xy for b.
only b will use same memory area it doesn't consider type of
datatype
Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What is the difference between Global and External Variables?
Define cobol?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
How do you reference the following file formats from cobol programs?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
Name the sections present in data division.
input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.
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)?
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
what are decleratives in cobol?
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
What is the Purpose of POINTER Phrase in STRING command 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
Have you used comp and comp-3 in your project? And how?
What is rmode(24)