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 / duboisa
for me you have
c = 'XXX'
d = 'XXX'
e = 001
and A = 'XXXXXX001'
Is This Answer Correct ? | 7 Yes | 3 No |
Post New Answer View All Answers
What is an in line perform? When would you use it? Anything else you wish to say about it.
Name the sections present in data division.
For rewrite, why is it mandatory that file needs to be opened?
What is rmode(any) ?
What are the different rules for performing sort operation?
How many sections are there in data division in COBOL?
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
Explain how to differentiate call by context by comparing it to other calls?
Write a program that uses move corresponding.
What is the difference between comp and comp-3?
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
What is cobol?
how do you reference the rrds file formats from cobol programs
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
What are the different rules to perform a Search?