COMP?

Answers were Sorted based on User's Feedback



COMP?..

Answer / neeraj

comp,comp-4 both are same used for the binary
representation of the data fields.
Size of memory allocated will be based on
If 1-4 2 bytes
5-9 4 bytes
10-18 8 bytes

Pic clause is attached with COMP data types

Is This Answer Correct ?    2 Yes 0 No

COMP?..

Answer / vampire

comp had boundaries

1-4 halfword-2bytes-16bites-4nibbles
5-9 fullword-4bytes-32bites-8nibbles
10-18 doubleword-8bytes-64bites-16nibbles

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More COBOL Interview Questions

can any one give good example for cond 88 level number and for renames pls urgent dudes ?

3 Answers   DELL,


Have you used comp and comp-3 in your project? And how?

0 Answers   IBM,


what will happen if pass values more than 100 using PARM parameter?

1 Answers  


why 02 level number can't be use as a separate level number like 01 or 77 ?

3 Answers  


i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?

0 Answers  






Using string statement.Is coding three destination string from one source string possible in one code?or three codes for every destination string of one source string.?thank you

1 Answers   BPL,


what is sysncpoint?

1 Answers   IBM,


can any one help -s806

6 Answers  


How can we find out wether to declare the data items like Integer, Char,Comp? If comp types how can we decide wether it is Comp and Comp3.How it is? Please Explain... Cheers.

1 Answers   Syntel,


Define static linking and dynamic linking.

0 Answers  


Are you comfortable in cobol or jcl?

0 Answers  


here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?

2 Answers   IBM,


Categories