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
What are the different rules of SORT operation?
What is the compute verb? How is it used?
What is link edit in cobol?
How to know whether the module is dynamical or statistical?
What is length is cobol?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
What is amode(31)
) what is the difference between AID and HANDLE AID?
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
Write a program that uses move corresponding.
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
What is an in line perform? When would you use it? Anything else you wish to say about it.
What is difference between static and dynamic call in cobol?