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 / soumya santosini patnaik

soc7 abend occurs because according to move rules
alphaneumericfields can be moved to numeric fields only
when alphanumeric field consists of numeric data only.

Is This Answer Correct ?    0 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1616


Define static linking and dynamic linking.

765


i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?

981


What are the rules of the move verb?

813


What is a report item?

813






How do u write test cases?

1717


In COBOL, what is the different between index and subscript?

851


What rules are followed by the search verb.

719


What are INPUT PROCEDURE and OUTPUT PROCEDURE?

806


What do you understand by psb and acb?

752


Which is not true about evaluate statement

1844


Difference between array and sub-script ?

1251


What is the local-storage section?

762


HOw can I get the negative sign while deduct high value from low value

1876


What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?

803