Subtract verb, COBOL Programming

SUBTRACT VERB:

The SUBTRACT verb is used to subtract one, or the sum of two or more numbers from one or more numbers and to store the result.

The form of the SUBTRACT verb is as shown below:

549_subtract verb.png

 

Posted Date: 10/16/2012 5:19:09 AM | Location : United States







Related Discussions:- Subtract verb, Assignment Help, Ask Question on Subtract verb, Get Answer, Expert's Help, Subtract verb Discussions

Write discussion on Subtract verb
Your posts are moderated
Related Questions
SEQUENTIAL FILE CREATION AND REWRITING: We have to write a program to create a student file with just two fields: sno i.e. Student Number and same i.e. Student Name. Add a few

PERFORM WITH TIMES OPTION: The format of a PERFORM TIMES statement is as shown below: Illustration:   A)  Perform the para-2 5 times. In this situation the specifie

Example of Write statement: Illustration: (i) WRITE TRANS-RECORD AFTER ADVANCING 3 LINES. This WRITE statement specified that the TRANS-RECORD is a record name of a fi

Comparison of Nonnumeric Operands: A nonnumeric operand can be compared to the other nonnumeric operand according to the rules as shown below: (i) Fields of Equal Sizes:

SUBTRACT VERB: The SUBTRACT verb is used to subtract one, or the sum of two or more numbers from one or more numbers and to store the result. The form of the SUBTRACT verb

Example of add verb: (a) ADD A TO B. This illustration represents that the value of A will be added to the value of B and the result will be stored in B.  The alignment of

UPDATING OF THE RELATIVE AND INDEXED FILES: The Sequential files are updated by creating a new master file from an existing old master file and a transaction file. Such an Upda

INDEXED TABLES: The OCCURS clause that is used to define tables can optionally have an INDEXED phrase. This phrase involves the names of data items which are to be used as sub

PROGRAM FOR PERFORM - THRU: We have to write a program to elaborate PERFORM ...THRU statement Identification division. Program- id.  Perfthru. Environment division.

Character Set: To study any language, first one should know the alphabets of the language and they are termed as character set in general. There are 50 different characters in