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 rmode(any) ?
how do you reference the esds vsam file formats from cobol programs
Discuss about changing dataset name in proc.
How do you reference the following file formats from cobol programs?
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
Explain what you understand by passing by value.
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
What are the cobol coding sheets?
What are the different rules of SORT operation?
How you can read the file from bottom?
In COBOL programming, what is PERFORM? What is VARYING?
what is amode(24), amode(31), rmode(24) and rmode(any)?
Write down the divisions of cobol program?
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?