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
Can you please let me know the centre name of INS certification in Kolkata.
How many sections are there in data division in COBOL?
) what is the difference between AID and HANDLE AID?
What is the problem of ordered sequential files access?
How do you reference the following file formats from cobol programs?
What is the utilization of copybook in cobol?
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?
In which area will you utilize 88 level items in cobol?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
How do define dynamic array in cobol.
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
how do you reference the rrds file formats from cobol programs
What is the local-storage section?
Are you comfortable in cobol or jcl?
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?