can we declare s9(9)v9(9) in cobol ? if yes how many bytes
it will occupy ?(urgent plz answer it)
Answers were Sorted based on User's Feedback
Answer / ramlal
before decimal point value stored in 9byted decimal point
does not occupy any space after decimal point total value
occupies only 1byte totally 9+0+1=10bytes.
| Is This Answer Correct ? | 4 Yes | 6 No |
Answer / vikash
we can declare.It will take total bytes based on formula=(n/2+1).
Thus, 9+9=18
Here n=18,
Thus number of bytes=18/2+1=10 bytes
| Is This Answer Correct ? | 1 Yes | 3 No |
suppose a cobol programme A calling programme B,C and D. If C undergoes some change what if A,B,C,D need to be recompiled or only C nee to be recompliled.
Determine the total no of bytes in the following. 01 rec1. 02 a pic x(6) 02 b redefines a. 03 c occus 6 times pic 9. 02 d occurs 6 times pic 9. 03 e pic x(5) 03 f pic 999.
how many bytes does s9(7)COMP-3 field occupies?
How to execute a set of JCL statements from a COBOL program?
which is better either static call or dynamic call? and why?
If I want to increase the Limit in GDG. What should I do?
why we are using set in searchall?
in real time what is the suitable exp where in-stream procedure is better then catalog procedure.
What is the difference between performing a SECTION and a PARAGRAPH?
what is subscript in cobol?give realtime example?
Minimum how many Number of Paragraphs are there in ID- Divison?
What is the difference between binary search and sequential search?