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


Please Help Members By Posting Answers For Below Questions

What are the different rules to perform a Search?

617


What is the difference between Call and a Link?

697


HOw can I get the negative sign while deduct high value from low value

1790


How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?

1937


What is the difference between comp and comp-3?

700






Explain about different table spaces.

648


Write down the divisions of cobol program?

671


What are the different rules of SORT operation?

698


What is the utilization of copybook in cobol? Could we utilize a similar copybook?

719


) what is the difference between AID and HANDLE AID?

1635


What is the difference between perform … with test after and perform … with test before?

882


What is amode(31)

723


What are the different data types in cobol?

795


How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?

648


Which division and paragraphs are mandatory for a COBOL program?

709