home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Sams Cobol 24 Hours
/
Sams_Cobol_24_Hours.iso
/
Cobol32
/
PowerCBL
/
powercbl.Z
/
powexcel.ocb
< prev
next >
Wrap
Text File
|
1996-01-29
|
5KB
|
78 lines
000010 IDENTIFICATION DIVISION.
000020 CLASS-ID. POWEXCEL.
000030 ENVIRONMENT DIVISION.
000040 CLASS SECTION.
000050 INHERIT POWFUND EXTERNAL. *> âNâëâXîpÅ│é╠ïLÅq
000060 DATA DIVISION.
000070 CLASS SECTION.
000080*//for win32:update
000090* 01 POW-SHEETNAME PIC X(128).
000095 01 POW-SHEETNAME PIC X(260).
000100* 01 POW-DATA64 PIC X(64).
000110* 01 POW-DATA128 PIC X(128).
000120* 01 POW-DATA256 PIC X(256).
000130 01 POW-TEXT PIC X(256).
000140 01 POW-TEXTN PIC N(128).
000150 01 POW-NUMERIC PIC S9(14)V9(4).
000160 PROCEDURE DIVISION.
000165*//for win32:update
000170* FUNCTION REFERENCE OF POW-SHEETNAME () IS EXTERNAL BY VALUE PIC X(128)
000175 FUNCTION REFERENCE OF POW-SHEETNAME () IS EXTERNAL BY VALUE PIC X(260)
000180 REPLACING NAME BY "XPOWEXCELGETSHEETNAME" .
000190* FUNCTION REFERENCE OF POW-DATA64 (INDEXED INDEXED) IS EXTERNAL BY VALUE PIC X(64)
000200* REPLACING NAME BY "XPOWEXCELGETD64DMS".
000210* FUNCTION REFERENCE OF POW-DATA128 (INDEXED INDEXED) IS EXTERNAL BY VALUE PIC X(128)
000220* REPLACING NAME BY "XPOWEXCELGETD128DMS".
000230* FUNCTION REFERENCE OF POW-DATA256 (INDEXED INDEXED) IS EXTERNAL BY VALUE PIC X(256)
000240* REPLACING NAME BY "XPOWEXCELDATA256DMS".
000250 FUNCTION REFERENCE OF POW-TEXT (INDEXED INDEXED) IS EXTERNAL BY VALUE PIC X(256)
000260 REPLACING NAME BY "XPOWEXCELGETD256DMS".
000270 FUNCTION REFERENCE OF POW-TEXTN (INDEXED INDEXED) IS EXTERNAL BY VALUE PIC N(128)
000280 REPLACING NAME BY "XPOWEXCELGETD256DMSN".
000290 FUNCTION REFERENCE OF POW-NUMERIC (INDEXED INDEXED) IS EXTERNAL BY VALUE PIC S9(14)V9(4)
000300 REPLACING NAME BY "XPOWEXCELGETNUMDMS".
000305*//for win32:update
000310* FUNCTION MOVE OF POW-SHEETNAME (BY CONTENT TYPE IS ALPHANUMERIC PIC X(128)) IS EXTERNAL
000315 FUNCTION MOVE OF POW-SHEETNAME (BY CONTENT TYPE IS ALPHANUMERIC PIC X(260)) IS EXTERNAL
000320 REPLACING NAME BY "XPOWEXCELSETSHEETNAME" .
000330* FUNCTION MOVE OF POW-DATA64 (BY CONTENT TYPE IS ALPHANUMERIC PIC X(64)
000340* INDEXED INDEXED) IS EXTERNAL
000350* REPLACING NAME BY "XPOWEXCELSETD64DMS".
000360* FUNCTION MOVE OF POW-DATA128 (BY CONTENT TYPE IS ALPHANUMERIC PIC X(128)
000370* INDEXED INDEXED) IS EXTERNAL
000380* REPLACING NAME BY "XPOWEXCELSETD128DMS".
000390* FUNCTION MOVE OF POW-DATA256 (BY CONTENT TYPE IS ALPHANUMERIC PIC X(256)
000400* INDEXED INDEXED) IS EXTERNAL
000410* REPLACING NAME BY "XPOWEXCELSETD256DMS".
000420 FUNCTION MOVE OF POW-TEXT (BY CONTENT TYPE IS ALPHANUMERIC PIC X(256)
000430 INDEXED INDEXED) IS EXTERNAL
000440 REPLACING NAME BY "XPOWEXCELSETD256DMS".
000450 FUNCTION MOVE OF POW-TEXTN (BY CONTENT TYPE IS ALPHANUMERIC PIC N(128)
000460 INDEXED INDEXED) IS EXTERNAL
000470 REPLACING NAME BY "XPOWEXCELSETD256DMS".
000480 FUNCTION MOVE OF POW-NUMERIC (BY CONTENT TYPE IS NUMERIC PIC S9(14)V9(4)
000490 INDEXED INDEXED) IS EXTERNAL
000500 REPLACING NAME BY "XPOWEXCELSETNUMDMS".
000510**
000520** CALL FUNCTIONS
000530**
000540 FUNCTION CONNECTEXCEL () IS EXTERNAL
000550 REPLACING NAME BY "XPOWEXCELCONNECT" .
000560 FUNCTION DISCONNECTEXCEL () IS EXTERNAL
000570 REPLACING NAME BY "XPOWEXCELDISCONNECT" .
000580 FUNCTION NEWEXCELSHEET () IS EXTERNAL
000590 REPLACING NAME BY "XPOWEXCELNEW" .
000595*//for win32:update
000600* FUNCTION OPENEXCELSHEET (BY CONTENT TYPE IS ALPHANUMERIC PIC X(128)) IS EXTERNAL
000605 FUNCTION OPENEXCELSHEET (BY CONTENT TYPE IS ALPHANUMERIC PIC X(260)) IS EXTERNAL
000610 REPLACING NAME BY "XPOWEXCELOPEN" .
000620 FUNCTION SAVEEXCELSHEET () IS EXTERNAL
000630 REPLACING NAME BY "XPOWEXCELSAVE" .
000635*//for win32:update
000640* FUNCTION SAVEASEXCELSHEET (BY CONTENT TYPE IS ALPHANUMERIC PIC X(128)) IS EXTERNAL
000645* FUNCTION SAVEASEXCELSHEET (BY CONTENT TYPE IS ALPHANUMERIC PIC X(260)) IS EXTERNAL
000650* REPLACING NAME BY "XPOWEXCELSAVEAS" .
000660 FUNCTION CLOSEEXCELSHEET () IS EXTERNAL
000670 REPLACING NAME BY "XPOWEXCELCLOSE" .
000680 END CLASS POWEXCEL.