Have you ever tried to check CICS for OS/2 resources using the CECI command?  
Well, I did and was rather ....fed up.   Well, as I wanted to explore the ECI 
facility, and and also wanted to learn a little bit C programming, I went 
ahead and wrote a DLL that allows to access CICS resource information from a 
REXX program.  

Also, using VisPro/Rexx, I wrote a GUI program to work with the DLL. 

Installation:  Unzip the distribution file into an empty directory.  If you 
are using PKUNZIP2, include the -d switch to recurse into directories.  After 
unzipping the distribution file, there will be three directories  called
   CICSBIN
   LIBPATH
   EXE

1. Copy the files in CICSBIN to \CICS200\BIN or any other directory that 
   contains your CICS application programs

2. Copy the files in LIBPATH to any directory that is accessible from your 
   LIBPATH statement

3. Copy the files in EXE to any directory that contains your executable 
   programs

4. Invoke CEMTUTIL to test the supplied CEMTUTIL.DLL in a charactor mode 
   REXX program

5. Invoke CEMT2 to run the GUI version

Note:  The programs have been developped and tested under 
        -  CICS for OS/2 Version 2.0.1
        -  OS/2 Warp Version 3
        -  Personal Rexx (PREXX30) from Quercus Systems
        -  VisproRx Gold Version 2.03 from Hockware
       but should be running under other REXX implementations as well

Note:  The CICS default userid SYSAD and the password SYSAD must be enabled 
       in CICS for OS/2, and it must be enabled to run protected transactions

Note:  There is no excessive error checking in the programs, so, if there is 
       an ECI related error, you better have your CICS manuals ready to look 
       up the meaning of the error code.  Also, in case the server transaction 
       in CICS abend, only the abendcode is provided.


Disclaimer:

I am currently LEARNING to write C programs, and also this is my first attempt 
to work with ECI.  Therefore it is to be expected that the program supplied are
NOT ERROR FREE, and that, if you DO use them, you do so at your own risk.


If you have any comments, or if you would like to see additions or expanded 
functionality, please contact me at

CIS:        100015,3113
Internet:   vbandke@ibm.net
Voicephone: +49 4185 792042
Fax:        +49 4185 792043

regards

Volker Bandke
