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 |
i want to enter the name 'pandu' into ur table how?
what is jcl approach for programming?
how would find total records in files using seqientional
What is the difference between SEARCH and SEARCH ALL?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
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
How to increase the logical record length of existing PS file?
i WANT ALL ERROR codes IN CICS and DB2
copy 100 records without using ibm utilities
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
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?
How can you declare the file ?