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 |
How do you come out of an EVALUATE statement?
What is the difference between SEARCH and SEARCH ALL?
Which is not true about evaluate statement
how do you reference the rrds file formats from cobol programs
How to find whether a Flat file is empty or not without Reading a file in COBOL Program. (not using JCL)
there is a file whose ORGANISATION is INDEXED.you want to read the records from the file in RANDOM fashion as well as sequentially.then which of the access mode would you specify? a.SEQUENTIAL b.RANDOM c.DYNAMIC D.ACCESS MODE has nothing to do with it
i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc
Difference between array and sub-script ?
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
input:- 12233344445555566666... output:- 1=1,2=4,3=9... Here firstno i.e 1 should be displayed and after that the alikeno.s should be added n displayed.i.e 2+2=4 like tat it goeson.
Suppose i have a Cobol field of 10 byte. it contains a decimal sign.How to know where is the point location?
Please let me know how the Eject verb works for page break.. I want to know the code, how it is used.