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 / garry

Correct answer is : (As already explained and corrected by Duboisa )

C = xxx
D = xxx
e = 001
So A = xxxxxx001x

100% assured!!

Any difference can be routed or discussed at : thespider390@hotmail.com

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a report item?

745


For rewrite, why is it mandatory that file needs to be opened?

627


In COBOL programming, what is PERFORM? What is VARYING?

676


What is the compute verb? How is it used?

673


example for sub strings ? and refernce modifications whit output pls

1853






1.give the details about WHEN OTHER. 2. how many form are available in evaluate.

1620


How are the next sentence and continue different from each other?

772


What are the different open modes available in cobol?

726


How to know whether the module is dynamical or statistical?

666


INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?

431


how do you reference the rrds file formats from cobol programs

805


Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.

5071


Have you used comp and comp-3 in your project? And how?

2014


Give some examples of command terminators?

763


Write a program to enter and display the names of students in a class using the occurs clause.

659