What is COMP-1? COMP-2?
Answers were Sorted based on User's Feedback
Answer / mahathiaz
COMP-1 - Single precision floating point. Uses 4 bytes.
COMP-2 - Double precision floating point. Uses 8 bytes
| Is This Answer Correct ? | 19 Yes | 0 No |
Answer / karan
comp-1 is single floatig item where as
comp-2 is double floating item.
comp-1,comp-2 we are not using pic clause.
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / purushothr
comp 1:single precision floating point//4 bytes
comp 2:double precision floating point//8 bytes
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / jay
COMP1 - Single precision floating point. Uses 4 bytes.
COMP2 - Double precision floating point. Uses 8 bytes
| Is This Answer Correct ? | 0 Yes | 0 No |
what are the paramater we cannot use in procedure?how many instream we can write in single jcl?can we call instream to catalog and ctalog to instream?
I have a variable account-number declared as comp-3, s9(10) comp-3 in a file. How do i find a particular account number say 123456 in that file?
how can u pass the values into db2 values from cobol ?
COMP?
Why we are using comp and comp-3 in real time projects?
The disposition parameter in the jcl is share ( DISP+SHR ) and the program opens file in extend mode what will happen?
When would you use in-line perform?
What is redefines clause in COBOL?
What is 77 level used for ?
Hi all, I have a following requirement to write the cobol program. I have to load the 129 variables from input sequential file which are in excel sheet to the cobol inernal table. and after loading into table i have to compare this data with the business file. here compare means controlling the data whether the format(numeric,alpha) is same in the business file and in the table??? i have the same data in input and business file. could anyone please give me any idea of the logic?// i have all the 129 different variables(129rows,1 column)is there .
1) can we display the index?
i need a program by giving input as a abcd in any randem order but i need a output as 1234 related to abcd. i.e,. a for 1,b=2,c.....etc..