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



can we declare s9(9)v9(9) in cobol ? if yes how many bytes it will occupy ?(urgent plz answer it)..

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

can we declare s9(9)v9(9) in cobol ? if yes how many bytes it will occupy ?(urgent plz answer it)..

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

can we declare s9(9)v9(9) in cobol ? if yes how many bytes it will occupy ?(urgent plz answer it)..

Answer / madhu

20

Is This Answer Correct ?    5 Yes 29 No

Post New Answer

More COBOL Interview Questions

how to move the records from file to array table. give with code example

0 Answers   ADP, Syntel,


Write some characteristics of cobol as means of business language.

0 Answers  


u have passed sme charecters thru parm parameter in jcl. how do u code in cobol to recieve the values u gave in parm ?

2 Answers   IBM,


What is the problem of ordered sequential files access?

0 Answers  


What does EXIT do ?

3 Answers   Deloitte,






what is level 66 means??

7 Answers  


Hi Guys, I have faced one interview question if I have requirement to add 5 new columns to existing table what are prerequisite do i need to take.

1 Answers  


Why do we use COMP-3 variables for computation, when we know that they are non displayable fields and require additional MOVE to numeric field before we populate it in output Reports?

1 Answers   Accenture,


What do you do to resolve SOC-7 error?

2 Answers   Sun Life, Wipro,


wht is load module and object module ?

2 Answers   DELL, TCS,


What is the meaning of 'Eject' verb in cobol?

2 Answers   TCS, Wipro,


01 text-data pic x(100). move 'xyzdbfrjjg u' to text-data. how to find the value of last index of text-data?

3 Answers   Mind Tree,


Categories