home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
viscobv6.zip
/
vac22os2
/
ibmcobol
/
samples
/
putut
/
subutprg.cbl
< prev
next >
Wrap
Text File
|
1996-05-29
|
3KB
|
42 lines
PROCESS LIB SUB00010
************************************************************* SUB00020
* * SUB00030
* Licensed Material - Property of IBM * SUB00040
* * SUB00050
* 83H9095 (C) Copyright IBM Corp., 1996 * SUB00060
* All rights reserved * SUB00070
* * SUB00080
* US Government Users Restricted Rights - Use, * SUB00090
* duplication or disclosure restricted by GSA ADP * SUB00100
* Schedule Contract with IBM Corp. * SUB00110
* * SUB00120
************************************************************* SUB00130
* File SUBUTPRG COBOL SUB00140
IDENTIFICATION DIVISION. SUB00150
PROGRAM-ID. SUBUTPRG. SUB00160
ENVIRONMENT DIVISION. SUB00170
DATA DIVISION. SUB00180
SUB00190
WORKING-STORAGE SECTION. SUB00200
COPY RECOUT. SUB00210
SUB00220
01 CHECKVAR PIC 9(4). SUB00230
SUB00240
PROCEDURE DIVISION. SUB00250
SUB00260
DISPLAY 'SUBUTPRG BEGINS'. SUB00270
SUB00280
MOVE 2 TO COSTVAR. SUB00290
SUB00300
MOVE COSTVAR TO CHECKVAR. SUB00310
SUB00320
CALL 'ADD3' USING CHECKVAR. SUB00330
SUB00340
CALL 'SUB2PRG'. SUB00350
SUB00360
CALL 'ERRCHEK'. SUB00370
SUB00380
DISPLAY 'SUBUTPRG ENDS'. SUB00390
SUB00400
GOBACK. SUB00410