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
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
What is the difference between goback, stop run and exit program in cobol?
I have a File that has duplicate records. I need only those records that occur more than thrice.?
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
Can we change the password using ALTER? anyone tried and changed?
1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?
What is the difference between Global and External Variables?
What is rmode(24)
What is report-item in COBOL?
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
Write the code implementing the perform … varying.
What is perform what is varying?
What are the different open modes available in cobol?