9(2).99 how many bytes take? Why . consider as a byte?

Answers were Sorted based on User's Feedback



9(2).99 how many bytes take? Why . consider as a byte?..

Answer / paray2x

It does take 5 bytes. Here the "." is an explicit decimal
point. This format is generally used only for display and
not for computations.

Is This Answer Correct ?    10 Yes 0 No

9(2).99 how many bytes take? Why . consider as a byte?..

Answer / guest

5 bytes

Is This Answer Correct ?    7 Yes 2 No

Post New Answer

More COBOL Interview Questions

How do you sort in a COBOL program? Give sort file definition, sort statement syntax and meaning.

7 Answers   CGI, TCS,


I know my query will return more than one row but I don't want cursor what should I do?

1 Answers  


can we declare occurs in 01 level?

2 Answers   Temenos,


how to fetch the record before the last record in a cobol file( its a huge file and if the key field is not known)

5 Answers   IBM,


Can we move X(7) to S9(7) COMP?

1 Answers  






whn do i get soc7 abend while moving alphanumeric to numeric or while moving numeric to aplhanumeric please reply ASAP?

9 Answers  


A paragraph PARA-X is to be executed when none of the data names A, B and C have value of 1. Which of the following will achieve this ? (a) IF A NOT = 1 OR B NOT = 1 OR C NOT = 1 PERFORM PARA-X (B) IF NOT A= 1 AND B= 1 AND C = 1 PERFORM PARA-X (C) IF A NOT =1 IF NOT B = 1 OR C= 1 PERFORM PARA-X (C) IF A NOT = 1 AND B NOT = 1 AND C NOT = 1 PERFORM PARA-X

3 Answers   TCS,


whats the difference between search and search all?

4 Answers   Patni,


I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?

0 Answers   HCL,


In a COBOL program, 2 tables TABLE1 and TABLE2 are defined that are indexed by INDEX1 and INDEX2 respectively. Can we use INDEX1 with TABLE2 and INDEX2 with TABLE1?

1 Answers  


Whats the use of Examine command? can someone help me?

1 Answers   IBM,


given the following piece of code: CALL SUB-PGM USING A, B, C. CALL SUB-PGM USING A, C, C. (a) Both CALL statements will always produce same result. (d) Both CALL statements may produce different result. (c) Compile-time error because SUB-PGM is a dataname. (d) Compile-time error because A, B, C are used twice.

2 Answers   TCS,


Categories