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

Why we are using comp and comp-3 in real time projects?

4 Answers   IBM,


select TURE Statement(s) aboUt eject statemenet in cobol? a)The eject statememnt must be the only statement on the line b.It causes the program to edit abnormally c. eject statement can be written in either area A or area B d. specifies that the next source statement is to be printed at Top of the next page e.The EJECTstatement has no effect on the compilation of the source program itself

2 Answers  


What is the difference between external and global variables in COBOL?

0 Answers   Winsol Solutions,


i want to store 20 digits . h will u do it in cobol ?

4 Answers   TCS,


How do you reference the fixed block file formats from cobol programs

0 Answers  






01 a pic s9(5) value -12345, if we disply a , the sign will overpunched with last digit but i need to get the miuns sign in the result?

7 Answers  


What is the difference between COMP & COMP-3 ?

2 Answers  


How to use the same COBOL program in Batch and CICS on lines? explain with an example

0 Answers   IBM,


What are differences between Static Call and Dynamic Call?

10 Answers   IBM, KBC, Keane India Ltd, Verizon,


How to replace the GOTO statement in COBOL without changing the structure of program. e.g. consider following code... I.D. E.D. D.D. P.D. compute C = A + B. GOTO para 100-display. compute D = C - D. GOTO 200-display. some other logic...... ........ GOTO 300-para. ...... ...... GOTO 400-para. Now I want to replacce all GOTO statements without changing the structure and otput of program.

6 Answers   Accenture,


2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic

0 Answers  


what are the limitations of Inline Perform?

3 Answers   Zensar,


Categories