home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
viscobv7.zip
/
vac22os2
/
ibmcobol
/
macros
/
cbl.smp
< prev
next >
Wrap
Text File
|
1998-02-24
|
1KB
|
19 lines
000010 Identification Division. 00000010
000020* Sample COBOL file 00000020
000030K 00000030
000040 SKIP1.
000050 00000050
000060 Data Division. 00000060
000070 Working-Storage Section. 00000070
000080 05 pgm-id Pic X(10) Value "Program1". 00000080
000090 00000090
000100 Procedure Division. 00000100
000110 00000110
000120 Main-Program-Logic. 00000120
000130 00000130
000140 Compute x = function sin(a). 00000140
000150 COPY A REPLACING ==a== with ==b==. 00000150
000160 exec sql. 00000160
000170 end-exec. 00000170
000180 Stop Run. 00000180