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


Please Help Members By Posting Answers For Below Questions

What are the different data types in cobol?

776


What kind of error is trapped by on size error option?

730


How to print 10 to 1 if the input have only 10 digit number?

802


)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?

1513


What are the different open modes available in cobol?

711






Write down the divisions of cobol program?

659


How do define dynamic array in cobol.

659


What is the default value(s) for an initialize and what keyword allows for an override of the default?

682


how we sort two input files based on a common column and giving one o/p file please send me the coding logic?

1639


What is the difference between Global and External Variables?

654


What are the pertinent COBOL

2035


Write a program that uses move corresponding.

664


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?

1219


what happens if parmparameter passes zero bytes to the program

1650


Difference between array and sub-script ?

1149