What is difference between comp & comp-4?

Answers were Sorted based on User's Feedback



What is difference between comp & comp-4? ..

Answer / satishk

Hi friends,
The above answers are all wrong.
here is the right link for that to know.
try to make use of ibm-mannuals as much as possible, dont
go for all raw-materials, this is my strict warning to all
mainframes learners.
http://ibmmainframes.com/size.html

Is This Answer Correct ?    9 Yes 1 No

What is difference between comp & comp-4? ..

Answer / sachin

COMP-4 and comp is similar to Binary
COMP-5 is for display usage type.. termed as native binary

Is This Answer Correct ?    6 Yes 0 No

What is difference between comp & comp-4? ..

Answer / thoms

comp
comp4
comp5
all of above stated usage clauses are used by cobol prog's
to store numeric values in a binary data formate inorder to
efficiently use memory.

Is This Answer Correct ?    2 Yes 0 No

What is difference between comp & comp-4? ..

Answer / anil prajapati

comp and comp-4 are synonyms

Is This Answer Correct ?    3 Yes 8 No

What is difference between comp & comp-4? ..

Answer / pal

Comp is computational clause
nothing but using the memory in a efficient way
i think there is no comp-4

Is This Answer Correct ?    3 Yes 19 No

What is difference between comp & comp-4? ..

Answer / satya sivaji

Computational clauses allows cobol programe to efficiently
represent the data internally.There are 5 forms of
representing data which are
1).Display(default)
2).Comp
3).Comp-1
4).Comp-2
5).Comp-3.
And there is no Comp-4.

Is This Answer Correct ?    2 Yes 27 No

Post New Answer

More COBOL Interview Questions

i want to enter the name 'pandu' into ur table how?

1 Answers   Fidelity,


what is jcl approach for programming?

4 Answers   IBM,


how would find total records in files using seqientional

1 Answers   HSBC,


What is the difference between SEARCH and SEARCH ALL?

6 Answers   Cognizant,


Why is it necessary that file needs to be opened in I-O mode for REWRITE?

0 Answers  






Suppose i have a variable with s9(18)v99 comp3 . what is the size of variable . If s9(18) comp3 is 10 bytes . There should be some difference between two allocations ? Thanks krishna chaitanya

2 Answers   CSC,


How to increase the logical record length of existing PS file?

7 Answers  


i WANT ALL ERROR codes IN CICS and DB2

2 Answers  


copy 100 records without using ibm utilities

3 Answers  


I have two files , file1 is input file it contains 10,20,30,....,records but i want to display the records in file 2 as reverse order .how can we do by using jcl& cobol(dont use array) please any one can tell me the answer

3 Answers   GreenTree, IBM,


01rec1. 05 a pic 999v99 value 123.12 05 b pic 99v9 value 45.9 02 rec2. 05 x pic 999v99 05 y pic 99v99 05 z pic x(3) value 'abc' if rec1 is moved to rec2 then what is the value of rec2?

5 Answers   Amdocs,


How can you declare the file ?

1 Answers   Wipro,


Categories