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 / saveen
ws-varx will have 12345fghij
ws-varn will have 12345.
pls kindly post ur views. am a beginner.
| Is This Answer Correct ? | 4 Yes | 11 No |
Post New Answer View All Answers
When is inspect verb is used in cobol?
what is s000 u4087 error? please give the all error codes in cobol,jcl.
what is the use of outrecord?
What are declaratives and what are their uses in cobol?
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
How many sections are there in data division in COBOL?
What are the different rules of SORT operation?
How do you differentiate between cobol and cobol-ii?
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.
Define cobol?
how do you reference the fixed unblock file formats from cobol programs
How do define dynamic array in cobol.
What are various search techniques in cobol? Explain.
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
What is the default value(s) for an initialize and what keyword allows for an override of the default?