home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Sams Cobol 24 Hours
/
Sams_Cobol_24_Hours.iso
/
Cobol32
/
PowerCBL
/
powercbl.Z
/
powselbo.ocb
< prev
next >
Wrap
Text File
|
1996-01-29
|
4KB
|
67 lines
000010 IDENTIFICATION DIVISION.
000020 CLASS-ID. POWSELBO.
000030 ENVIRONMENT DIVISION.
000040 CONFIGURATION SECTION.
000050 SPECIAL-NAMES.
000060 SYMBOLIC CONSTANT IS EXTERNAL
000070**
000080** POW-XXXXXXX DEFINE THE FILE FORMAT FROM POWSELBO.
000090**
000100 POW-CSVFORMAT IS 1 *> CSVFORMAT
000110 POW-TEXTFORMAT IS 2 *> TEXTFORMAT
000120 CLASS SECTION.
000130 INHERIT POWFUND EXTERNAL. *> âNâëâXîpÅ│é╠ïLÅq
000140 DATA DIVISION.
000150 CLASS SECTION.
000160 01 POW-COUNT PIC S9(4) COMP-5.
000170 01 POW-CURFIELDNO PIC S9(4) COMP-5.
000171 01 POW-FILETYPE PIC S9(4) COMP-5.
000180 01 POW-TOUPPER PIC S9(4) COMP-5.
000190 01 POW-STRING PIC X(128).
000195*//for win32:update
000200* 01 POW-FILENAME PIC X(128).
000205 01 POW-FILENAME PIC X(260).
000210 01 POW-RECORDFORM PIC X(128).
000220 01 POW-SELRECORDSTR PIC X(128).
000230 01 POW-FIELD PIC X(128).
000240 PROCEDURE DIVISION.
000245*//for win32:update
000250* FUNCTION MOVE OF POW-FILENAME (BY CONTENT TYPE IS ALPHANUMERIC PIC X(128)) IS EXTERNAL
000250 FUNCTION MOVE OF POW-FILENAME (BY CONTENT TYPE IS ALPHANUMERIC PIC X(260)) IS EXTERNAL
000260 REPLACING NAME BY "XPOWSELBOSETFILENAME" .
000265*//for win32:update
000270* FUNCTION REFERENCE OF POW-FILENAME () IS EXTERNAL BY VALUE PIC X(128)
000275 FUNCTION REFERENCE OF POW-FILENAME () IS EXTERNAL BY VALUE PIC X(260)
000280 REPLACING NAME BY "XPOWSELBOGETFILENAME" .
000290 FUNCTION MOVE OF POW-STRING (BY CONTENT TYPE IS ALPHANUMERIC PIC X(128)) IS EXTERNAL
000300 REPLACING NAME BY "XPOWSELBOSETSTRING" .
000300 FUNCTION REFERENCE OF POW-STRING () IS EXTERNAL BY VALUE PIC X(128)
000310 REPLACING NAME BY "XPOWSELBOGETSTRING" .
000320 FUNCTION REFERENCE OF POW-SELRECORDSTR (INDEXED) IS EXTERNAL BY VALUE PIC X(128)
000330 REPLACING NAME BY "XPOWSELBOGETFIELDNODATA" .
000340 FUNCTION REFERENCE OF POW-FIELD (INDEXED INDEXED) IS EXTERNAL BY VALUE PIC X(128)
000350 REPLACING NAME BY "XPOWSELBOGETFIELDSTRING" .
000360 FUNCTION REFERENCE OF POW-COUNT () IS EXTERNAL BY VALUE PIC S9(4) COMP-5
000370 REPLACING NAME BY "XPOWSELBOGETCOUNT" .
000380 FUNCTION MOVE OF POW-FILETYPE (BY VALUE TYPE IS NUMERIC PIC S9(4) COMP-5) IS EXTERNAL
000390 REPLACING NAME BY "XPOWSELBOSETFILEFORMAT" .
000400 FUNCTION REFERENCE OF POW-FILETYPE () IS EXTERNAL BY VALUE PIC S9(4) COMP-5
000410 REPLACING NAME BY "XPOWSELBOGETFILEFORMAT" .
000420 FUNCTION MOVE OF POW-RECORDFORM (BY CONTENT TYPE IS ALPHANUMERIC PIC X(128)) IS EXTERNAL
000430 REPLACING NAME BY "XPOWSELBOSETFIELDINFO" .
000440 FUNCTION REFERENCE OF POW-RECORDFORM () IS EXTERNAL BY VALUE PIC X(128)
000450 REPLACING NAME BY "XPOWSELBOGETFIELDINFO" .
000460 FUNCTION MOVE OF POW-CURFIELDNO (BY VALUE TYPE IS NUMERIC PIC S9(4) COMP-5) IS EXTERNAL
000470 REPLACING NAME BY "XPOWSELBOSETDISPLAYFIELD" .
000480 FUNCTION REFERENCE OF POW-CURFIELDNO () IS EXTERNAL BY VALUE PIC S9(4) COMP-5
000490 REPLACING NAME BY "XPOWSELBOGETDISPLAYFIELD" .
000500 FUNCTION REFERENCE OF POW-TOUPPER() IS EXTERNAL BY VALUE PIC S9(4) COMP-5
000510 REPLACING NAME BY "XPOWSELBOGETBOOLCASE".
000520 FUNCTION MOVE OF POW-TOUPPER(BY VALUE TYPE IS NUMERIC PIC S9(4) COMP-5) IS EXTERNAL
000530 REPLACING NAME BY "XPOWSELBOSETBOOLCASE".
000540 FUNCTION REFERENCE OF POW-SELECT() IS EXTERNAL BY VALUE PIC S9(4) COMP-5
000550 REPLACING NAME BY "XPOWSELBOGETCURSELECT".
000560 FUNCTION MOVE OF POW-SELECT(BY VALUE TYPE IS NUMERIC PIC S9(4) COMP-5) IS EXTERNAL
000570 REPLACING NAME BY "XPOWSELBOSETCURSELECT".
000580 END CLASS POWSELBO.