|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.ims.base.IMSInfo
The IMSInfo class provides information about the application's current execution environment. This information is determined by making the System Service Call INQY with the ENVIRON subfunction. This includes the IMS identifier, release, region, program name, PSB name, transaction name, user identifier, group name, and status group indicator.
Method Summary | |
java.lang.String |
applicationRegionType()
Returns IMS active application region type. |
java.lang.String |
controlRegionType()
Returns the active IMS Control Region Type. |
static IMSInfo |
getIMSInfo()
Creates an IMSInfo object containing information about the IMS system. |
java.lang.String |
groupName()
Returns the Group Name. |
java.lang.String |
programName()
Returns the Application Program Name of the application program being run. |
java.lang.String |
psbName()
Returns the name of the PSB currently allocated |
int |
regionID()
Returns the IMS Region Identifier. |
int |
releaseLevel()
Returns IMS Release Level. |
java.lang.String |
statusGroupIndicator()
Returns the Status Group Indicator. |
java.lang.String |
systemID()
Returns the identifier from the execute parameters. |
java.lang.String |
transactionName()
Returns the name of the transaction. |
java.lang.String |
userID()
Returns the user ID derived from the PSTUSID field of the PST that represents the region making the INQY ENVIRON call. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public java.lang.String applicationRegionType()
BATCH
(IMS Batch),
BMP
(Batch Message Processing),
IFP
(IMS Fast Path)
or MPP
(Message Processing).public java.lang.String controlRegionType()
BATCH
(IMS Batch),
DB
(only the IMS Database Manager is active -- DBCTL system),
TM
(only the IMS Transaction Manager is active -- DCCTL system),
or DB/DC
(both the IMS Database and Transaction managers are active -- DB/DC system),public static final IMSInfo getIMSInfo() throws IMSException
IMSException
- if a non-blank status code is returned from the system callpublic java.lang.String groupName()
public java.lang.String programName()
public java.lang.String psbName()
public int regionID()
public int releaseLevel()
public java.lang.String statusGroupIndicator()
A
(INIT STATUS GROUPA call is issued),
B
(INIT STATUS GROUPB call is issued).public java.lang.String systemID()
public java.lang.String transactionName()
public java.lang.String userID()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |