What will happen if a variable is declared as below..
Explain with an example?
Working storage section:-
01 WS-VARX PIC X(9) VALUE SPACES.
01 WS-VARN REDEFINES WS-VARX PIC 9(9).
Answer Posted / anna
WORKING-STORAGE SECTION.
01 WS-VARX PIC X(9) VALUE SPACE.
01 WS-VARN REDEFINES WS-VARX PIC 9(9) value zeros.
in this case you can used any data, by using right
field for numeric data ws-varN, for alphabetic /alphanumeric
ws--varX.
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
What is an in line perform? When would you use it? Anything else you wish to say about it.
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
What are declaratives and what are their uses in cobol?
What type of SDLC u followed? Why?
What is the problem of ordered sequential files access?
How do define dynamic array in cobol.
what are decleratives in cobol?
What is length is cobol?
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
Explain what you understand by passing by value.
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
What is the difference between external and global variables in COBOL?
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
what is amode(24), amode(31), rmode(24) and rmode(any)?