What is the difference between PIC 9.99 and 9v99?

Answer Posted / pal

PIC 9.99 occupy 4 bytes
PIC 9v99 occupy 3 bytes

ex.
A PIC 9.99 VALUE 1.11
B PIC 9v99 VALUE 2.22

display A,B

RESULT

A=1.11
B=2v22

Is This Answer Correct ?    11 Yes 44 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?

1876


what is s000 u4087 error? please give the all error codes in cobol,jcl.

17039


How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?

2098


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

717


Why occurs cannot be used in 01 level in COBOL?

719






What is the difference between Call and a Link?

700


How do u write test cases?

1638


Explain how you can characterize tables in cobol?

638


How many bytes S(8) comp field occupy and its maximum value?

1632


What is a SSRANGE and NOSSRANGE?

820


Can we change the password using ALTER? anyone tried and changed?

1547


example for sub strings ? and refernce modifications whit output pls

1846


What is redefines clause in COBOL?

851


Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.

1701


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

4061