What is the size of s9(19)comp3? explain

Answers were Sorted based on User's Feedback



What is the size of s9(19)comp3? explain..

Answer / sreekanth

the size of s9(19)comp3 is 10.because in comp3 whenever the
size is odd then we can use the following formula.i.e
n+1/2.so 19+1/2 is 10 then the size of s9(19)comp3 is 10.

Is This Answer Correct ?    20 Yes 6 No

What is the size of s9(19)comp3? explain..

Answer / ajeet

I think the maximum numeric size allowed for numeric
is s9(18)comp-3.
correct me ?

Is This Answer Correct ?    12 Yes 2 No

What is the size of s9(19)comp3? explain..

Answer / jagan

NUMERIC DATA TYPE MAXIMUM SIZE IS 9(18)

Is This Answer Correct ?    4 Yes 0 No

What is the size of s9(19)comp3? explain..

Answer / bhaskar

It will occupy 10 bytes

Is This Answer Correct ?    3 Yes 0 No

What is the size of s9(19)comp3? explain..

Answer / kamal

numeric size only 9(18).so answer is we cant declare s9
(19).

Is This Answer Correct ?    6 Yes 4 No

What is the size of s9(19)comp3? explain..

Answer / bhaskar r

it is exactly 10byts

Is This Answer Correct ?    2 Yes 0 No

What is the size of s9(19)comp3? explain..

Answer / sekhar

numeric size only 9(18).
alphanumeric is x(3273).
alphabit is A(3273)

so answer is we cant declare s9(19)

Is This Answer Correct ?    2 Yes 2 No

What is the size of s9(19)comp3? explain..

Answer / vkw

If i have s9(20)comp3.the ans is 21/3=10.5 that means its
round off to 11.why it is rounded off and how it will
happen annd on what basis.

Is This Answer Correct ?    4 Yes 5 No

Post New Answer

More COBOL Interview Questions

01 A pic 9(100) find record length of it

6 Answers   TCS,


I have a table with 3 dimensions like this : 01 ws-table 04 ws-page occurs 3 08 ws-column occurs 2. 12 ws-record occurs 20 pic x(40). How to code with PERFORM varying with 3 dimension...I forgot..

2 Answers   EDS,


where did you see the information regarding abend codes in jcl?

1 Answers   Hewitt,


Hi All, Can anyone tell me how we can MOVE value of a X(19) variable to a S9(17) COMP-3 variable? Answer with an Example will be of great help.

6 Answers   EDS,


how we separate the cobol cics statements from cobol&cics programming?

1 Answers   Valtech,






1)what is the maximum limit for occurs? Eg: 01 A PIC X(10) OCCURS N TIME. What is the max value for N?

11 Answers   Wipro,


study the data discriptions and answer the questions given below i)01 ORDER RECORD 05 OUT-HEADER PIC X(50) 05 ITEM-COUNT PIC 99 05 OUT-ITEM PIC X(20) OCCURS 1 TO 20 DEPENDING ON ITEM-COUNT ii)01 NAME-AND-ADDRESS 05 N-AND-A-LINE OCCURES 5 05 LINE-LENGTH PIC P9 05 N-AND-A-CHAR PIC X OCCURS 1 TO 20 DEPENDING ON LINE-LENGTH iii)01 SALES-LIST 05 SALESMAN-COUNT PIC 99 05 SALES PIC 9(6) OCCURS 1 TO 100 DEPENDING ON SALESMAN-COUNT iv)01 ORDER-RECORD 05 NO-OF-BRANDS PIC 99 05 BRAND-PURCHASED OCCURS 1 TO 15 DEPENDING ON NO-OF-BRANDS which of the following is true? a.i) and iii) are valid b.i) and iv) are valid c.i) and iii) are not valid d.all are valid

4 Answers   TCS,


Why we should use cursor ?

3 Answers  


COBOL program to read the string ' BOMBAY' in reverse order as 'YABMOB'

8 Answers   Barclays, IBM,


can we use variable picture clause as xx.99 in cobol.

3 Answers  


What does MAXCC 3 means? It is used in one my codes.

2 Answers   Wipro,


what is the advantage of using redefines instead of delaring the variables ?

5 Answers   HCL,


Categories