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
How to know whether the module is dynamical or statistical?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
How do you reference the fixed block file formats from cobol programs
How do you get the data to code the BMS macro?
What is perform what is varying?
What are the access modes of START statement?
What are the different rules to perform a Search?
Write a program to enter and display the names of students in a class using the occurs clause.
What is the problem of ordered sequential files access?
Why would you use find and get rather than to obtain?
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
Differentiate between structured cobol programming and object-oriented cobol programming.
How do you reference the following file formats from cobol programs?
Difference between cobol and cobol-ii?
I have a File that has duplicate records. I need only those records that occur more than thrice.?