Verastream© Bridge Integrator 3.1

com.attachmate.cicsbridge
Class Diagnostics

java.lang.Object
  extended by com.attachmate.cicsbridge.Diagnostics

public class Diagnostics
extends java.lang.Object

Utilities for Attachmate support

Since:
1.0

Method Summary
static java.lang.String getTransactionSystemId(java.lang.String hostIP, int hostPort, java.lang.String transactionId)
          Get a text string containing the name of the CICS System Id (outSystemId) in which a given transaction Id (inTransactionId) executes.
static ModuleInformation queryLoadModuleInformation(java.lang.String hostIP, int hostPort, java.lang.String userId, java.lang.String password, java.lang.String loadModuleName)
          Returns the module size and the name of the Load Library that a given application program or BMS map resides in via the Verastream Bridge Integrator.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getTransactionSystemId

public static java.lang.String getTransactionSystemId(java.lang.String hostIP,
                                                      int hostPort,
                                                      java.lang.String transactionId)
                                               throws BridgeException
Get a text string containing the name of the CICS System Id (outSystemId) in which a given transaction Id (inTransactionId) executes. Returns outSystemId of all spaces if the transaction Id specified runs locally in the inHostIP inHostPort region.

Parameters:
hostIP - Text format IP address of the target host CICS region (for example, '234.164.88.1').
hostPort - Port corresponding to the target CICS region.
transactionId - Text format Transaction Id (1 to 4 characters).
Returns:
The name of the CICS System Id.
Throws:
BridgeException

queryLoadModuleInformation

public static ModuleInformation queryLoadModuleInformation(java.lang.String hostIP,
                                                           int hostPort,
                                                           java.lang.String userId,
                                                           java.lang.String password,
                                                           java.lang.String loadModuleName)
                                                    throws BridgeException
Returns the module size and the name of the Load Library that a given application program or BMS map resides in via the Verastream Bridge Integrator. The userId, encrypted password, and load module name are sent to the host. If the password is correct for the userId and the program is found then the 44 character DSN name in which the load module resides is returned.

Parameters:
hostIP - String with IP address of target CICS region in the form of nnn.nnn.nnn.nnn.
hostPort - integer TCP port address of target CICS region.
userId - String containing user identification one to eight bytes in length.
password - String existing password one to eight bytes in length for the given userId.
loadModuleName - String containing the program or BMS map name to locate.
Returns:
ModuleInfo
Throws:
BridgeException

Verastream© Bridge Integrator 3.1