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
What are 77 levels used for?
What is the local-storage section?
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.
What is a SSRANGE and NOSSRANGE?
what is the difference between COBOL2 AND COBOL390?
Describe the cobol database components?
how do you reference the fixed unblock file formats from cobol programs
how to refer the data field?
What type of SDLC u followed? Why?
Can we change the password using ALTER? anyone tried and changed?
Difference between cobol and cobol-ii?
What is rmode(24)
How arrays can be defined in COBOL?
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
i need a small 3d program using inline and outline.