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 / anil
we cannot declare the group item with level no 02 it should
be declared with 01. so the question itself wrong
| Is This Answer Correct ? | 1 Yes | 8 No |
Post New Answer View All Answers
What is perform what is varying?
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
how to refer the data field?
What is the difference between external and global variables in COBOL?
What type of SDLC u followed? Why?
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
What is an in line perform? When would you use it? Anything else you wish to say about it.
State the various causes of s0c1, s0c5 and s0c7.
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
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
what is difference between cobol and cobol/400
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
Whats the difference between search & search ALL?
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 comp-1 and comp-2?