home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Sams Cobol 24 Hours
/
Sams_Cobol_24_Hours.iso
/
Cobol32
/
PowerCBL
/
powercbl.Z
/
powfile.ocb
< prev
next >
Wrap
Text File
|
1996-01-29
|
4KB
|
69 lines
000010 IDENTIFICATION DIVISION.
000020 CLASS-ID. POWFILE.
000030 ENVIRONMENT DIVISION.
000040 CLASS SECTION.
000050 INHERIT POWFUND EXTERNAL. *> âNâëâXîpÅ│é╠ïLÅq
000060 DATA DIVISION.
000070 CLASS SECTION.
000080 01 POW-MASK PIC X(12).
000090 01 POW-ATTR PIC S9(4) COMP-5.
000100 01 POW-NORMAL PIC S9(4) COMP-5.
000110 01 POW-READONLY PIC S9(4) COMP-5.
000120 01 POW-HIDDEN PIC S9(4) COMP-5.
000130 01 POW-SYSTEM PIC S9(4) COMP-5.
000140 01 POW-ARCH PIC S9(4) COMP-5.
000150 01 POW-SELECT PIC S9(4) COMP-5.
000160 01 POW-COUNT PIC S9(4) COMP-5.
000170 01 POW-SELSTRING PIC X(64).
000180 01 POW-PATH PIC X(260).
000190* 01 TEXTGROUP.
000200* 02 POW-LIST PIC X(64) OCCURS 10000 TIMES.
000210 PROCEDURE DIVISION.
000220 FUNCTION MOVE OF POW-MASK (BY CONTENT TYPE IS ALPHANUMERIC PIC X(12)) IS EXTERNAL
000230 REPLACING NAME BY "XPOWFILESETMASK" .
000240 FUNCTION REFERENCE OF POW-MASK () IS EXTERNAL BY VALUE PIC X(12)
000250 REPLACING NAME BY "XPOWFILEGETMASK" .
000260 FUNCTION MOVE OF POW-ATTR (BY VALUE TYPE IS NUMERIC PIC S9(4) COMP-5) IS EXTERNAL
000270 REPLACING NAME BY "XPOWFILESETATTR" .
000280 FUNCTION REFERENCE OF POW-ATTR () IS EXTERNAL BY VALUE PIC S9(4) COMP-5
000290 REPLACING NAME BY "XPOWFILEGETATTR" .
000300 FUNCTION MOVE OF POW-NORMAL (BY VALUE TYPE IS NUMERIC PIC S9(4) COMP-5) IS EXTERNAL
000310 REPLACING NAME BY "XPOWFILESETNORMAL" .
000320 FUNCTION REFERENCE OF POW-NORMAL () IS EXTERNAL BY VALUE PIC S9(4) COMP-5
000330 REPLACING NAME BY "XPOWFILEGETNORMAL" .
000340 FUNCTION MOVE OF POW-READONLY (BY VALUE TYPE IS NUMERIC PIC S9(4) COMP-5) IS EXTERNAL
000350 REPLACING NAME BY "XPOWFILESETREADONLY" .
000360 FUNCTION REFERENCE OF POW-READONLY () IS EXTERNAL BY VALUE PIC S9(4) COMP-5
000370 REPLACING NAME BY "XPOWFILEGETREADONLY" .
000380 FUNCTION MOVE OF POW-HIDDEN (BY VALUE TYPE IS NUMERIC PIC S9(4) COMP-5) IS EXTERNAL
000390 REPLACING NAME BY "XPOWFILESETHIDDEN" .
000400 FUNCTION REFERENCE OF POW-HIDDEN () IS EXTERNAL BY VALUE PIC S9(4) COMP-5
000410 REPLACING NAME BY "XPOWFILEGETHIDDEN" .
000420 FUNCTION MOVE OF POW-SYSTEM (BY VALUE TYPE IS NUMERIC PIC S9(4) COMP-5) IS EXTERNAL
000430 REPLACING NAME BY "XPOWFILESETSYSTEM" .
000440 FUNCTION REFERENCE OF POW-SYSTEM () IS EXTERNAL BY VALUE PIC S9(4) COMP-5
000450 REPLACING NAME BY "XPOWFILEGETSYSTEM" .
000460 FUNCTION MOVE OF POW-ARCH (BY VALUE TYPE IS NUMERIC PIC S9(4) COMP-5) IS EXTERNAL
000470 REPLACING NAME BY "XPOWFILESETARCH" .
000480 FUNCTION REFERENCE OF POW-ARCH () IS EXTERNAL BY VALUE PIC S9(4) COMP-5
000490 REPLACING NAME BY "XPOWFILEGETARCH" .
000500 FUNCTION MOVE OF POW-SELECT (BY VALUE TYPE IS NUMERIC PIC S9(4) COMP-5) IS EXTERNAL
000510 REPLACING NAME BY "XPOWFILESETSELECT" .
000520 FUNCTION REFERENCE OF POW-SELECT () IS EXTERNAL BY VALUE PIC S9(4) COMP-5
000530 REPLACING NAME BY "XPOWFILEGETSELECT" .
000540 FUNCTION REFERENCE OF POW-COUNT () IS EXTERNAL BY VALUE PIC S9(4) COMP-5
000550 REPLACING NAME BY "XPOWFILEGETCOUNT" .
000560 FUNCTION REFERENCE OF POW-STRING (INDEXED) IS EXTERNAL BY VALUE PIC X(64)
000570 REPLACING NAME BY "XPOWFILEGETSTRING" .
000580 FUNCTION REFERENCE OF POW-SELSTRING () IS EXTERNAL BY VALUE PIC X(64)
000590 REPLACING NAME BY "XPOWFILEGETSELSTRING" .
000600 FUNCTION MOVE OF POW-PATH (BY CONTENT TYPE IS ALPHANUMERIC PIC X(260)) IS EXTERNAL
000610 REPLACING NAME BY "XPOWFILESETPATH" .
000620 FUNCTION ADD OF POW-SELECT (BY VALUE TYPE IS NUMERIC PIC S9(4) COMP-5) IS EXTERNAL
000630 REPLACING NAME BY "XPOWFILEADDSELECT" .
000640 FUNCTION SUBTRACT OF POW-SELECT (BY VALUE TYPE IS NUMERIC PIC S9(4) COMP-5) IS EXTERNAL
000650 REPLACING NAME BY "XPOWFILESUBTRACTSELECT" .
000660 FUNCTION REFERENCE OF POW-CWD () IS EXTERNAL BY VALUE PIC X(260)
000670 REPLACING NAME BY "XPOWFILEGETCWD" .
000680 END CLASS POWFILE.