01 var1 pic x(10)
01 var2 redefines var1 pic 9(10).
then in procedure division
move 'abcde' to var1 then waht is the value of var1 and var2
Answer Posted / adarsh562
abcde.....
0000000000
. indicates blank
Is This Answer Correct ? | 0 Yes | 6 No |
Post New Answer View All Answers
What are the different data types in cobol?
What kind of error is trapped by on size error option?
How to print 10 to 1 if the input have only 10 digit number?
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
What are the different open modes available in cobol?
Write down the divisions of cobol program?
How do define dynamic array in cobol.
What is the default value(s) for an initialize and what keyword allows for an override of the default?
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
What is the difference between Global and External Variables?
What are the pertinent COBOL
Write a program that uses move corresponding.
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 happens if parmparameter passes zero bytes to the program
Difference between array and sub-script ?