can we declare s9(9)v9(9) in cobol ? if yes how many bytes
it will occupy ?(urgent plz answer it)
Answer Posted / y@$w@nth
s9(9)v9(9)
Here v stands for assumed decimal point so it will occupy
only 18 bytes(9+9)...if instead of s9(9)v9(9) it is coded as
s9(9).9(9) then it is going to occupy 19 bytes ((9+9)+1)
the extra 1 byte for decimal point .........There is no way
of occupying 20 bytes storage.
| Is This Answer Correct ? | 47 Yes | 5 No |
Post New Answer View All Answers
what happens if parmparameter passes zero bytes to the program
What is cobol?
What is the difference between PIC 9.99 and PIC9v99?
What is the Purpose of POINTER Phrase in STRING command in COBOL?
How to print 10 to 1 if the input have only 10 digit number?
What type of SDLC u followed? Why?
What is the difference between goback, stop run and exit program in cobol?
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
What are all the divisions of a COBOL program?
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
How to use the same COBOL program in Batch and CICS on lines? explain with an example
How do define dynamic array in cobol.
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
Can you please let me know the centre name of INS certification in Kolkata.
if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.