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 / khbnaidu
Mallikarjun Ur answer is wrong because of WS-VARN is Numric
field & how will display the ABCDE result?
Is This Answer Correct ? | 2 Yes | 13 No |
Post New Answer View All Answers
What are the rules of the move verb?
how do you reference the fixed unblock file formats from cobol programs
What is a report item?
how can i see junk values in dclgen or in hostvariable of comp ?
Write down the divisions of cobol program?
How do define dynamic array in cobol.
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
What are the access modes of START statement?
What are all the divisions of a COBOL program?
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic
what is the use of outrecord?
What is the difference between comp and comp-3 usage?
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
i want a program using by if, evaluate , string, unstring, perform, occurs?
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?