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
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
how to move the records from file to array table. give with code example
What is the difference between comp and comp-3?
What is the default value(s) for an initialize and what keyword allows for an override of the default?
What is the difference between Global and External Variables?
What is the difference between perform … with test after and perform … with test before?
What is the difference between goback, stop run and exit program in cobol?
Can we redefine the field of x(200) to less than 200?
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
HOw can I get the negative sign while deduct high value from low value
How do you define a variable of comp-1 and comp-2?
i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
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 difference between binary search and sequential search?