COBOL Subtract

COBOL Subtract statement language references and Subtract in COBOL examples are provided.

>COBOL SUBTRACT Statement - IBM COBOL/400, iSeries
The COBOL SUBTRACT statement subtracts one numeric item, or the sum of two or more numeric items from one or more numeric items, and stores the result. The composite of all operands can have a maximum length of 30 digits. The COBOL SUBTRACT statement has three formats.

>COBOL SUBTRACT Statement - HP COBOL II/XL
The COBOL SUBTRACT statement subtracts one or more numeric data items from one or more numeric data items and stores the result in one or more data items. The COBOL SUBTRACT statement has three formats.

>COBOL SUBTRACT Statement - IBM Enterprise COBOL for z/OS
The COBOL SUBTRACT statement subtracts one numeric item, or the sum of two or more numeric items, from one or more numeric items, and stores the result.

>SUBTRACT in COBOL - IBM COBOL for AIX
The SUBTRACT in COBOL statement subtracts one numeric item, or the sum of two or more numeric items, from one or more numeric items, and stores the result. This explicit scope terminator serves to delimit the scope of the COBOL SUBTRACT statement.

>SUBTRACT in COBOL - Micro Focus Visual COBOL
The SUBTRACT in COBOL statement is used to subtract one, or the sum of two or more, numeric data items from one or more items, and set the values of one or more items equal to the results.

 

This website uses cookies to manage authentication, navigation, and other functions. By using our website, you agree that we can place these types of cookies on your device.

View e-Privacy Directive Documents

You have declined cookies. This decision can be reversed.

You have allowed cookies to be placed on your computer. This decision can be reversed.

Login

Who's Online

Member Login