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
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
In COBOL, what is the different between index and subscript?
Difference between cobol and cobol-ii?
Can we change the password using ALTER? anyone tried and changed?
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
A table has two indexes defined. Which one will be used by the SEARCH?
What are different data types in cobol?
What is amode(24)?
i want a program using by if, evaluate , string, unstring, perform, occurs?
What is the difference between comp and comp-3?
What is rmode(any) ?
How are the next sentence and continue different from each other?
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
In COBOL programming, what is PERFORM? What is VARYING?
What is a SSRANGE and NOSSRANGE?