home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
viscobv6.zip
/
vac22os2
/
ibmcobol
/
samples
/
putut
/
addutprg.cbl
< prev
next >
Wrap
Text File
|
1996-05-29
|
4KB
|
45 lines
PROCESS LIB ADD00010
************************************************************* ADD00020
* * ADD00030
* Licensed Material - Property of IBM * ADD00040
* * ADD00050
* 83H9095 (C) Copyright IBM Corp., 1996 * ADD00060
* All rights reserved * ADD00070
* * ADD00080
* US Government Users Restricted Rights - Use, * ADD00090
* duplication or disclosure restricted by GSA ADP * ADD00100
* Schedule Contract with IBM Corp. * ADD00110
* * ADD00120
************************************************************* ADD00130
* File ADDUTPRG COBOL ADD00140
IDENTIFICATION DIVISION. ADD00150
PROGRAM-ID. ADDUTPRG. ADD00160
ENVIRONMENT DIVISION. ADD00170
DATA DIVISION. ADD00180
ADD00190
WORKING-STORAGE SECTION. ADD00200
COPY RECIN. ADD00210
ADD00220
LINKAGE SECTION. ADD00230
ADD00240
01 CHECKVAR PIC 9(4). ADD00250
ADD00260
PROCEDURE DIVISION. ADD00270
ADD00280
DISPLAY 'ADDUTPRG BEGINS'. ADD00290
ADD00300
INITIALIZE INBUFVARDS. ADD00310
ADD00320
CALL 'ADD2PRG'. ADD00330
ADD00340
ENTRY 'ADD3' USING CHECKVAR. ADD00350
ADD00360
IF CHECKVAR > 0 ADD00370
DISPLAY 'CHECKVAR = ' CHECKVAR. ADD00380
ADD00390
CALL 'ERRCHEK'. ADD00400
ADD00410
DISPLAY 'ADDUTPRG ENDS'. ADD00420
ADD00430
GOBACK. ADD00440