What is the difference between PIC 9.99 and 9v99?

Answer Posted / mf buzz

there is a small correction in above example.
ex.
A PIC 9.99 VALUE 1.11
B PIC 9v99 VALUE 2.22

display A,B

RESULT

a= 1.11
b=222 ( decimal point is not displayed)

Is This Answer Correct ?    39 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

) How do u handle errors in BMS macro?

1425


what are decleratives in cobol?

1827


Name some of the examples of COBOl 11?

2676


what happens if parmparameter passes zero bytes to the program

1659


What is the utilization of copybook in cobol? Could we utilize a similar copybook?

710






In COBOL programming, what is PERFORM? What is VARYING?

668


Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

817


How you can read the file from bottom?

658


What are the different open modes available in cobol?

713


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?

892


input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.

1776


What is static and dynamic call in cobol?

590


Why did you choose to work with ibm mainframe cobol programming?

627


i want a program using by if, evaluate , string, unstring, perform, occurs?

4045


which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad

1019