home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Sams Cobol 24 Hours
/
Sams_Cobol_24_Hours.iso
/
Cobol32
/
PowerCBL
/
powercbl.Z
/
powlist.ocb
< prev
next >
Wrap
Text File
|
1996-01-29
|
4KB
|
59 lines
000010 IDENTIFICATION DIVISION.
000020 CLASS-ID. POWLIST.
000030 ENVIRONMENT DIVISION.
000040 CLASS SECTION.
000050 INHERIT POWFUND EXTERNAL. *> âNâëâXîpÅ│é╠ïLÅq
000060 DATA DIVISION.
000070 CLASS SECTION.
000080 01 POW-SORT PIC S9(4) COMP-5.
000090 01 POW-SELECT PIC S9(4) COMP-5.
000100 01 POW-COUNT PIC S9(4) COMP-5.
000110 01 POW-STRING PIC X(64).
000120 01 POW-SELSTRING PIC X(64).
000130* 01 TEXTGROUP.
000140* 02 POW-LIST PIC X(64) OCCURS 10000 TIMES.
000150 PROCEDURE DIVISION.
000160 FUNCTION MOVE OF POW-SELECT (BY VALUE TYPE IS NUMERIC PIC S9(4) COMP-5) IS EXTERNAL
000170 REPLACING NAME BY "XPOWLISTSETSELECT" .
000180 FUNCTION REFERENCE OF POW-SELECT () IS EXTERNAL BY VALUE PIC S9(4) COMP-5
000190 REPLACING NAME BY "XPOWLISTGETSELECT" .
000200 FUNCTION REFERENCE OF POW-COUNT () IS EXTERNAL BY VALUE PIC S9(4) COMP-5
000210 REPLACING NAME BY "XPOWLISTGETCOUNT" .
000220 FUNCTION ADDSTRING (BY CONTENT TYPE IS ALPHANUMERIC PIC X(64)) IS EXTERNAL
000230 REPLACING NAME BY "XPOWLISTADDSTRING" .
000240 FUNCTION DELETESTRING (BY VALUE TYPE IS NUMERIC PIC S9(4) COMP-5) IS EXTERNAL
000250 REPLACING NAME BY "XPOWLISTDELSTRING" .
000260 FUNCTION REFERENCE OF POW-STRING (INDEXED) IS EXTERNAL BY VALUE PIC X(64)
000270 REPLACING NAME BY "XPOWLISTGETSTRING" .
000280 FUNCTION REFERENCE OF POW-SELSTRING () IS EXTERNAL BY VALUE PIC X(64)
000290 REPLACING NAME BY "XPOWLISTGETSELSTRING" .
000300 FUNCTION MOVE OF POW-ADDSTRING (BY CONTENT TYPE IS ALPHANUMERIC PIC X(64)) IS EXTERNAL
000310 REPLACING NAME BY "XPOWLISTADDSTRING" .
000320 FUNCTION MOVE OF POW-DELETESTRING (BY VALUE TYPE IS NUMERIC PIC S9(4) COMP-5) IS EXTERNAL
000330 REPLACING NAME BY "XPOWLISTDELSTRING" .
000340 FUNCTION ADD OF POW-SELECT (BY VALUE TYPE IS NUMERIC PIC S9(4) COMP-5) IS EXTERNAL
000350 REPLACING NAME BY "XPOWLISTADDSELECT" .
000360 FUNCTION SUBTRACT OF POW-SELECT (BY VALUE TYPE IS NUMERIC PIC S9(4) COMP-5) IS EXTERNAL
000370 REPLACING NAME BY "XPOWLISTSUBTRACTSELECT" .
000380 FUNCTION INSERTSTRING (BY CONTENT TYPE IS ALPHANUMERIC PIC X(64) BY VALUE TYPE IS NUMERIC PIC S9(4) COMP-5) IS EXTERNAL
000390 REPLACING NAME BY "XPOWLISTINSERTSTRING" .
000400 FUNCTION CLEARLIST () IS EXTERNAL
000410 REPLACING NAME BY "XPOWLISTRESETCONTENT" .
000420 FUNCTION FINDSTRING (BY CONTENT TYPE IS ALPHANUMERIC PIC X(64) BY VALUE TYPE IS NUMERIC PIC S9(4) COMP-5) IS EXTERNAL
000430 REPLACING NAME BY "XPOWLISTFINDSTRING" .
000440 FUNCTION MOVE OF POW-SELFLAG (BY VALUE TYPE IS NUMERIC PIC S9(4) COMP-5 INDEXED) IS EXTERNAL
000450 REPLACING NAME BY "XPOWLISTSETSELFLAG" .
000460 FUNCTION REFERENCE OF POW-SELFLAG (INDEXED) IS EXTERNAL BY VALUE PIC S9(4) COMP-5
000470 REPLACING NAME BY "XPOWLISTGETSELFLAG" .
001010 FUNCTION LOADFILE (BY CONTENT TYPE IS ALPHANUMERIC PIC X(260)) IS EXTERNAL
001020 REPLACING NAME BY "XPOWLISTOPENFILE" .
001030 FUNCTION SAVEFILE (BY CONTENT TYPE IS ALPHANUMERIC PIC X(260)) IS EXTERNAL
001040 REPLACING NAME BY "XPOWLISTSAVEFILE" .
001050 FUNCTION ADDSTRING256 (BY CONTENT TYPE IS ALPHANUMERIC PIC X(256)) IS EXTERNAL
001060 REPLACING NAME BY "XPOWLISTADDSTRING256" .
001070 FUNCTION REFERENCE OF POW-STRING256 (INDEXED) IS EXTERNAL BY VALUE PIC X(256)
001080 REPLACING NAME BY "XPOWLISTGETSTRING256" .
001090 FUNCTION REFERENCE OF POW-SELSTRING256 () IS EXTERNAL BY VALUE PIC X(256)
001100 REPLACING NAME BY "XPOWLISTGETSELSTRING256" .
001110 END CLASS POWLIST.