com.ibm.cics.server
Class IsCICS

java.lang.Object
  |
  +--com.ibm.cics.server.IsCICS

public class IsCICS
extends java.lang.Object

Class to call the JNI function ..._DTCisCICS () to, currently, obtain whether we're currently in CICS and/or we can use the CICS API.


Field Summary
static int CICS_REGION_AND_API_ALLOWED
           
static int CICS_REGION_BUT_API_DISALLOWED
           
static int NOT_CICS_REGION
           
static int UNABLE_TO_DETERMINE_STATUS
           
 
Constructor Summary
IsCICS()
           
 
Method Summary
static int getApiStatus()
          getApiStatus () returns the same result as DTCIsCICS (); If DFH3QSS can't be called for any reason, DTCIsCICS () returns UNABLE_TO_DETERMINE_STATUS and then getApiStatus () returns UNABLE_TO_DETERMINE_STATUS
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UNABLE_TO_DETERMINE_STATUS

public static final int UNABLE_TO_DETERMINE_STATUS

NOT_CICS_REGION

public static final int NOT_CICS_REGION

CICS_REGION_BUT_API_DISALLOWED

public static final int CICS_REGION_BUT_API_DISALLOWED

CICS_REGION_AND_API_ALLOWED

public static final int CICS_REGION_AND_API_ALLOWED
Constructor Detail

IsCICS

public IsCICS()
Method Detail

getApiStatus

public static int getApiStatus()
getApiStatus () returns the same result as DTCIsCICS (); If DFH3QSS can't be called for any reason, DTCIsCICS () returns UNABLE_TO_DETERMINE_STATUS and then getApiStatus () returns UNABLE_TO_DETERMINE_STATUS
Returns:
int