can anyone explain me the concept of COMP-4 PLEASE??

Answers were Sorted based on User's Feedback



can anyone explain me the concept of COMP-4 PLEASE??..

Answer / sravani

comp& comp-4 are same. binary representation of data item. memory as like this
s9(1)-s9(4): half word that is 2 bytes
s9(5)-s9(9): full word that is 4 bytes
s9(10)-s9(18): double word that is 8bytes

Is This Answer Correct ?    6 Yes 0 No

can anyone explain me the concept of COMP-4 PLEASE??..

Answer / kannan

its similar to comp

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More COBOL Interview Questions

1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?

0 Answers   IBM,


If we use GO BACK instead of STOP RUN in cobol?

1 Answers   Temenos,


1.What is the default print format in cobol?

5 Answers   HSBC,


In my table having 3000 Records. How can I delete the 500th row? (we don't know what is data inside the table)

3 Answers   Keane India Ltd,


In COBOL, what is the different between index and subscript?

0 Answers   TryTechnicals Pvt Ltd,






what will happen if i give program name and member name as different? program runs successful or w'll abend?

5 Answers   CTS,


What are all the divisions of a COBOL program?

0 Answers  


If i got a job on mainframe technology, will i have a bright future?. Some people are discouraging me. Let me know, is it true? Please bring back me from the confusion.

2 Answers  


What is the Purpose of POINTER Phrase in STRING command

3 Answers  


Re: 01 NAME1 PIC X(13) VALUE "COBOL PROGRAMMING". 01 NAME2 PIC X(13). now I want to display the value of NAME1 in reverse order i.e value should be displayed as "GNIMMARGORP LOBOC" HOW can I do that ??? please let me know if any one knows it.

2 Answers   IBM,


Name the sections present in data division.

0 Answers  


i have n records in one file and in this file there is some fields and i want to count that how many sharma in my file so plz give the coding that how we read sharma ?

2 Answers  


Categories