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


Please Help Members By Posting Answers For Below Questions

What is an in line perform? When would you use it? Anything else you wish to say about it.

645


Name the sections present in data division.

701


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

623


What is rmode(any) ?

686


What are the different rules for performing sort operation?

761






How many sections are there in data division in COBOL?

678


which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad

1023


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

688


Write a program that uses move corresponding.

673


What is the difference between comp and comp-3?

700


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

823


What is cobol?

744


how do you reference the rrds file formats from cobol programs

798


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?

896


What are the different rules to perform a Search?

617