I HAVE FOLLOWING DECLARATION.
02. A PIC X(10) VALUE 'XXXXXXXXXX'.
02. B REDEFINES A.
05. C PIC X(3).
05. D PIC X(3).
05. E PIC 9(3).
IN MY PROG, I HAVE
MOVE 1 TO E.
DISPLAY A.
WHAT WILL BE DISPLAYED AS A RESULT OF THIS?
PLEASE EXPLAIN THE ANSWER. THANKS.
Answer Posted / anil
we cannot declare the group item with level no 02 it should
be declared with 01. so the question itself wrong
Is This Answer Correct ? | 1 Yes | 8 No |
Post New Answer View All Answers
What are the different rules to perform a Search?
What is the difference between Call and a Link?
HOw can I get the negative sign while deduct high value from low value
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
What is the difference between comp and comp-3?
Explain about different table spaces.
Write down the divisions of cobol program?
What are the different rules of SORT operation?
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
) what is the difference between AID and HANDLE AID?
What is the difference between perform … with test after and perform … with test before?
What is amode(31)
What are the different data types in 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?
Which division and paragraphs are mandatory for a COBOL program?