Is it possible to mutliply a comp variable with an comp-3
variable. Will there be any error if i do it?
Answer Posted / 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 |
Post New Answer View All Answers
How to print 10 to 1 if the input have only 10 digit number?
What are the cobol coding sheets?
What is the problem of ordered sequential files access?
I have a File that has duplicate records. I need only those records that occur more than thrice.?
Explain the configuration section of a cobol program with examples of syntax.
What is static and dynamic call in cobol?
How many sections are there in data division in COBOL?
what is the difference between COBOL2 AND COBOL390?
what is search and searchall?what is the diffrence between them?give an best example?
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
How many bytes S(8) comp field occupy and its maximum value?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
What is the Purpose of POINTER Phrase in STRING command in COBOL?
What are different data types in cobol?
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?