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 / smiley
Can anybody explain...How C and D are having values as "XXX"
in answer ,though not initialized. Purpose of redefines
clause is to use the same storage space for different data.
I think answer posted by PRANAY2X is correct.
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
Write some characteristics of cobol as means of business language.
How to know whether the module is dynamical or statistical?
When is inspect verb is used in cobol?
What is redefines clause in COBOL?
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
What is the Purpose of Pointer in the string?
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
In COBOL programming, what is PERFORM? What is VARYING?
What is difference between static and dynamic call in cobol?
What is the default value(s) for an initialize and what keyword allows for an override of the default?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
Differentiate between structured cobol programming and object-oriented cobol programming.
Why occurs cannot be used in 01 level in COBOL?
Can you please let me know the centre name of INS certification in Kolkata.
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?