What will happen if a variable is declared as below..
Explain with an example? Working storage section:-
01 WS-VARX PIC X(10) VALUE 'ABCDEFGHIJ'.
01 WS-VARN REDEFINES WS-VARX PIC 9(5) VALUE '12345'.
What will happen I want Display WS-VARX and WS-VARN?
Answer Posted / reena
The Redefined clause cannot contain a Value Clause.
i.e. it should only be WS-VARN REDEFINES WS-VARX PIC 9(5).
| Is This Answer Correct ? | 12 Yes | 1 No |
Post New Answer View All Answers
What is the difference between structured cobol programming and object alternativelyiented cobol?
What are the pertinent COBOL
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
how do you reference the variable block file formats from cobol programs
How many sections are there in data division in COBOL?
) how do u code after getting data?
How do you define a variable of comp-1 and comp-2?
Can you please let me know the centre name of INS certification in Kolkata.
) what is the difference between AID and HANDLE AID?
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.
what happens if parmparameter passes zero bytes to the program
What are the different open modes available in cobol?
example for sub strings ? and refernce modifications whit output pls
What is the difference between comp and comp-3?