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
How to print 10 to 1 if the input have only 10 digit number?
What are the different rules of SORT operation?
What are the cobol coding sheets?
How are the next sentence and continue different from each other?
What is the difference between a binary search and a sequential search what are the pertinent cobol?
) what is the difference between AID and HANDLE AID?
) how do u code after getting data?
How many bytes S(8) comp field occupy and its maximum value?
What do you understand by psb and acb?
What is the difference between goback, stop run and exit program in cobol?
i need a small 3d program using inline and outline.
How do get the result of your program directly on your pc?
Why would you use find and get rather than to obtain?
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
what happens if parmparameter passes zero bytes to the program