I hav vari declaration like.....
77 a pic s9(9).99.
77 b pic s9(9).99 comp.
77 c pic s9(9).99 comp-3.
if i use MOVE 123456789.99 to a,b,c what happen every one
working fine ?



I hav vari declaration like..... 77 a pic s9(9).99. 77 b pic s9(9).99 comp. 77 c pic s9(9).99 com..

Answer / sri

comp does not work fine becoz it does not support decimal format

Is This Answer Correct ?    10 Yes 0 No

Post New Answer

More COBOL Interview Questions

Which Search verb is equivalent to PERFORM…VARYING?

0 Answers  


Why occurs can not be used in 01 level ?

2 Answers   TCS,


How many times the loop runs here 01 a pic 9(2) value 10. perform para1 a times stop run. para1: move 20 to a.

3 Answers  


What are the functions like c or c++ in cobol?

2 Answers  


What is perform what is varying?

0 Answers  






) How do u handle errors in BMS macro

0 Answers   IBM,


Without using move verb how to move one variable to another.

5 Answers  


wht is the difference between goto and perform stmts

7 Answers   DELL,


What are the different open modes available in cobol?

0 Answers  


how to display the dataset information?

2 Answers  


u have passed sme charecters thru parm parameter in jcl. how do u code in cobol to recieve the values u gave in parm ?

2 Answers   IBM,


Re: 01 NAME1 PIC X(13) VALUE "COBOL PROGRAMMING". 01 NAME2 PIC X(13). now I want to display the value of NAME1 in reverse order i.e value should be displayed as "GNIMMARGORP LOBOC" HOW can I do that ??? please let me know if any one knows it.

2 Answers   IBM,


Categories