What is difference between comp & comp-4?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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 |
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 |
Difference between file status codes 02 and 22.... since both are for duplicate key detection.
What is the file organization clause ?
When we code these comp,comp1,comp-2,comp-3 and comp4 values. I know the differnece.I mean when we will prefer if it is new program.Explain in detail with memory examples. Thanks in advance.
Is It Possible to Update or change in VIEW Mode?
after udatingg first 110 rows, my job abends. now how do i change my cobol program so that when i restart the Job it will start updating from 111th row ( i.e in next run I di=ont want to update those 110 rows which are already been updated in the first run before job abend)
Write a cobol program making use of the redefine clause.
I encountered an error when I move spaces to a numeric field?What should I do to move spaces on that field?help please.
In COBOL "BEFORE" advancing is there or not ?
What is the significance of the PROGRAM-ID paragraph? If this name doesnt match with the name of the COBOL program, does it make a difference? Is the name specified in the PROGRAM-ID paragraph used as a name for the load module or any such thing?
What is the difference between index and subscript?
what is the difference between occurs and occurs depending on? i dont think so there is the difference in storage..then why we should use occurs depending on?
how to check whether the open command of a sequential file is successful? or not?