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 can we find that module can be called – whether DYNAMICALLY or STATICALLY?
i need a small 3d program using inline and outline.
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
how do you define single dimensional array and multidimensional array in your cobol?
What is a SSRANGE and NOSSRANGE?
HOw can I get the negative sign while deduct high value from low value
Differentiate between structured cobol programming and object-oriented cobol programming.
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
Explain about different table spaces.
Write down the divisions of cobol program?
Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks
How to use the same COBOL program in Batch and CICS on lines? explain with an example
Write some characteristics of cobol as means of business language.
how do you reference the printer file formats from cobol programs