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 / mallikarjun
if you use redefines in your statement the numeric
declaration will be over rided and stored as charechter, i
have testing this practically
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
What are the different rules of SORT operation?
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue
What is a SSRANGE and NOSSRANGE?
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
Whats the difference between search & search ALL?
Write some characteristics of cobol as means of business language.
What guidelines should be followed to write a structured cobol prgm?
What is the default value(s) for an initialize and what keyword allows for an override of the default?
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
What is the utilization of copybook in cobol?
) How do u handle errors in BMS macro
how can i see junk values in dclgen or in hostvariable of comp ?
Define cobol?
How do get the result of your program directly on your pc?