Is it possible to mutliply a comp variable with an comp-3
variable. Will there be any error if i do it?
Answers were Sorted based on User's Feedback
Answer / vikas pujar
Yes. Comp and Comp-3 are used to store numeric values so
operation is valid.
| Is This Answer Correct ? | 15 Yes | 1 No |
Answer / lu
yes, but never do it, you always multiply COMP with COMP
and COMP-3 with COMP-3....when you want to display : move
COMP to pic 9 (extend field) and comp-3 to pic 9 (extend
field)
| Is This Answer Correct ? | 9 Yes | 0 No |
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
What will happen if we try to create GDG (+2) generaton instead of (+1) generation?
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
I have a sequential file. How do I access a record in this sequential file randomly in my program ?
How will you find the currepted records in a file
Whtz the specialty of 77 level number ?
how to transfer the file from pc to mainframe??
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
What is the mode in which you will OPEN a file for writing?
how will u find out 3rd week's 2nd day using occurs ?
wht is the diff b/w if and evaluate stmts ?
What is cobol?