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
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
Differentiate between structured cobol programming and object-oriented cobol programming.
In COBOL, what is the different between index and subscript?
) what is the difference between AID and HANDLE AID?
How can you get the ksds file records into your cobol program?
Which division and paragraphs are mandatory for a COBOL program?
I have a File that has duplicate records. I need only those records that occur more than thrice.?
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
For rewrite, why is it mandatory that file needs to be opened?
What is the difference between Call and a Link?
What kind of error is trapped by on size error option?
What rules are followed by the search verb.
Name the divisions, which are available in a cobol program?
Write the code implementing the perform … varying.