RAMESH KRISHNA REDDY mainframe discussion forum - cobol, db2,cics,jcl,file-aid,changeman,interview questions
Online Tutorials   | PREV  | TOP  | NEXT



DRONA SERIES
COBOL STUDY MATERIAL


COBOL VERBS - MULTIPLY



   
 

COBOL VERBS - MULTIPLY



MULTIPLY Verb MULTIPLY verb. MULTIPLY statement multiplies numeric items. Format 1. MULTIPLY < literal-1 / data-item-1 > BY data-item-2 ... Format 2. MULTIPLY < literal-1 / data-item-1 > BY < literal-2 / data-item-2 > GIVING data-item-3 ... Examples - (a) MULTIPLY WS-A BY WS-B. In above example, values in WS-A & WS-B will be multiplied and the result will be stored in WS-B. (b) MULTIPLY WS-A BY WS-B GIVING WS-C. In the example (b), values in WS-A & WS-B will be multiplied and the result will be stored in WS-C. (C) MULTIPLY WS-A BY WS-B GIVING WS-C WS-D. In the example (c), values in WS-A & WS-B will be multiplied and the result will be stored in WS-C , WS-D.
    

NEXT CHAPTER TOPIC : COBOL


                                   



Previous chapter in COBOL tutorial Starting of COBOL tutorial Next chapter in COBOL tutorial


Visit COBOL books section in this site for good books




Home | Donations | Online Tutorials | Books | Entertainment | Contactme | privacy |  sql tutorial | jcl interview questions | JCL Tutorial | JCL Tutorial - chapter1 | JCL Tutorial - chapter2 | JCL Tutorial - chapter3 | JCL Tutorial - chapter4 | JCL Tutorial - chapter5 | JCL Tutorial - chapter6 | JCL Tutorial - chapter7 | JCL Tutorial - chapter8 | JCL Tutorial - chapter9 | JCL Tutorial - chapter10 | JCL Tutorial - chapter11