can u give result for the fallowing example...
05 a pic 9(2)
05 b redifines a pic x(2).
move 'xy' to b.
display a,b.
Answer Posted / karthik
a=00
b=xy
| Is This Answer Correct ? | 14 Yes | 9 No |
Post New Answer View All Answers
I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?
What are the different data types in cobol?
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 redefines clause in COBOL?
how do you reference the variable unblock file formats from cobol programs
Can we change the password using ALTER? anyone tried and changed?
explain sorting techniques in cobol program?
What is the difference between comp and comp-3?
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
What are declaratives and what are their uses in cobol?
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
A table has two indexes defined. Which one will be used by the SEARCH?
What is the difference between goback, stop run and exit program in cobol?
What is the use of intialize verb?
how to move the records from file to array table. give with code example