What is the difference between PIC 9.99 and 9v99?

Answer Posted / ajay kumar

pic 99.9 will allocate memory size to the '.' also
but in order to save memory, 99v9 is used wherever possible.
'v' is cosidered as assumed decimal, which is used for calculation by program internally.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is amode(24)?

680


How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.

3713


) How do u handle errors in BMS macro?

1425


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

727


Which division and paragraphs are mandatory for a COBOL program?

707






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.

1697


Which is not true about evaluate statement

1567


Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?

706


Write the code to count the sum of n natural numbers.

697


What is the problem of ordered sequential files access?

693


How do you define a variable of comp-1 and comp-2?

701


how do you reference the variable unblock file formats from cobol programs

743


What happens when we move a comp-3 field to an edited (say z (9). Zz-)?

769


What are the different rules of SORT operation?

691


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

711