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 am going to Display the WS-VARX and WS-
VARN?
Answer Posted / siva
WS-VARX = 12345FGHIJ
WS-VARN = 12345
| Is This Answer Correct ? | 1 Yes | 14 No |
Post New Answer View All Answers
how do you reference the fixed unblock file formats from cobol programs
What is redefines clause in COBOL?
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
What is the usage of comp fields in cobol?
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
What is a SSRANGE and NOSSRANGE?
i need a small 3d program using inline and outline.
What is an in line perform? When would you use it? Anything else you wish to say about it.
How do you reference the fixed block file formats from cobol programs
What is the difference between perform … with test after and perform … with test before?
What is the difference between Call and a Link?
What is length is cobol?
i want a program using by if, evaluate , string, unstring, perform, occurs?
What is the difference between structured cobol programming and object alternativelyiented cobol?
Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?