LegacyJ CICS and COBOL technology for the J2EE Enterprise Environment

Products     Services     Support     Sales     News     Partners

  

Academic
Programs

Customer
Information

News &
Information

Technical
Information

White
Papers

About Us

LegacyJ FAQ

PERCobol using Eloquence - What are special considerations with using this database?

1.  The DLL name to call is 'image3k.dll'; the available functions are listed in the Eloquence manual, but they correspond directly to the MPE intrinsics.  (This may be a separate download, depending on how they're doing the downloads currently.)  Be sure that image3k.dll is in your PATH; it normally will be after installation of Eloquence.

2.  Be sure to build the PERCobol project using HP MPE/iX COBOL-II
compatibility.  (When you create a project, select it from under Compatibility).  This will set the datatypes to be exactly like HP COBOL-II.

3.  There is one addition, though, because Eloquence for Windows uses the reverse order for binaries from HP COBOL-II.  So, we don't want exact HP COBOL-II; we want it with the binary reversed.  To reverse binary numbers from HP COBOL-II order (into Eloquence order): select the project in the navigator, right-click, Properties, Cobol Compiler Settings, Datatype and Storage, and check 'BINARY is BINARY-REV'.

4.  Add a call to the DLL to initialize the DLL before any calls are made:

CALL "<path to image3k dll>\image3k.dll"

(NOTE:  I don't believe you need a path if it is in the system folder.)


5.  On the DBOPEN make sure to specify the remote server:


"  <server_name>:<port>/<dbname>"
 ^
 2 spaces

 

PERCobol

Home         About Us         Privacy        Legal        
© Copyright LegacyJ Corp. 1998, 2005
All Rights Reserved.

All trademarks are the properties of their respective owners or licensers.