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

Explain how to differentiate call by context by comparing it to other calls?

693


)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?

1529


What is cobol?

752


Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.

1708


What are all the divisions of a COBOL program?

667






Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?

835


What are INPUT PROCEDURE and OUTPUT PROCEDURE?

699


What is a SSRANGE and NOSSRANGE?

836


What is the local-storage section?

691


What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?

685


What are the various section in data division and briefly explain them.

708


What is the Purpose of POINTER Phrase in STRING command in COBOL?

729


What is the compute verb? How is it used?

673


What do you understand by psb and acb?

674


How to traceback if I am getting SOC7 or SOC4 abend? List down the steps

1319