home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Sams Cobol 24 Hours
/
Sams_Cobol_24_Hours.iso
/
Cobol32
/
PowerCBL
/
powercbl.Z
/
powdrive.ocb
< prev
next >
Wrap
Text File
|
1996-01-29
|
2KB
|
33 lines
000010 IDENTIFICATION DIVISION.
000020 CLASS-ID. POWDRIVE.
000030 ENVIRONMENT DIVISION.
000040 CLASS SECTION.
000050 INHERIT POWFUND EXTERNAL. *> âNâëâXîpÅ│é╠ïLÅq
000060 DATA DIVISION.
000070 CLASS SECTION.
000080 01 POW-SELECT PIC S9(4) COMP-5.
000090 01 POW-COUNT PIC S9(4) COMP-5.
000100 01 POW-SELSTRING PIC X(64).
000110* 01 TEXTGROUP.
000120* 02 POW-LIST PIC X(16) OCCURS 10000 TIMES.
000130 PROCEDURE DIVISION.
000140 FUNCTION MOVE OF POW-SELECT (BY VALUE TYPE IS NUMERIC PIC S9(4) COMP-5) IS EXTERNAL
000150 REPLACING NAME BY "XPOWDRIVESETSELECT" .
000160 FUNCTION REFERENCE OF POW-SELECT () IS EXTERNAL BY VALUE PIC S9(4) COMP-5
000170 REPLACING NAME BY "XPOWDRIVEGETSELECT" .
000180 FUNCTION REFERENCE OF POW-COUNT () IS EXTERNAL BY VALUE PIC S9(4) COMP-5
000190 REPLACING NAME BY "XPOWDRIVEGETCOUNT" .
000200 FUNCTION REFERENCE OF POW-STRING (INDEXED) IS EXTERNAL BY VALUE PIC X(64)
000210 REPLACING NAME BY "XPOWDRIVEGETSTRING" .
000220 FUNCTION REFERENCE OF POW-SELSTRING () IS EXTERNAL BY VALUE PIC X(64)
000230 REPLACING NAME BY "XPOWDRIVEGETSELSTRING" .
000240 FUNCTION ADD OF POW-SELECT (BY VALUE TYPE IS NUMERIC PIC S9(4) COMP-5) IS EXTERNAL
000250 REPLACING NAME BY "XPOWDRIVEADDSELECT" .
000260 FUNCTION SUBTRACT OF POW-SELECT (BY VALUE TYPE IS NUMERIC PIC S9(4) COMP-5) IS EXTERNAL
000270 REPLACING NAME BY "XPOWDRIVESUBTRACTSELECT" .
000280 FUNCTION MOVE OF POW-PATH (BY CONTENT TYPE IS ALPHANUMERIC PIC X(260)) IS EXTERNAL
000290 REPLACING NAME BY "XPOWDRIVESETPATH" .
000300 FUNCTION REFERENCE OF POW-CWD () IS EXTERNAL BY VALUE PIC X(260)
000310 REPLACING NAME BY "XPOWDRIVEGETCWD" .
000320 END CLASS POWDRIVE.