public class Region extends java.lang.Object implements RegionTraceBits
This class provides a set of methods and variables that correspond to a CICS region.
EI, NUMBER_OF_BITS, SYSTEM, USER| Constructor and Description |
|---|
Region() |
| Modifier and Type | Method and Description |
|---|---|
static void |
disableTrace()
Deprecated.
since CICS 6.1.
This method has been disabled in previous releases and will be removed
entirely in a future release of CICS.
|
static void |
disableTrace(java.util.BitSet options)
Deprecated.
since CICS 6.1.
This method has been disabled in previous releases and will be removed
entirely in a future release of CICS.
|
static void |
enableTrace()
Deprecated.
since CICS 6.1.
This method has been disabled in previous releases and will be removed
entirely in a future release of CICS.
|
static void |
enableTrace(java.util.BitSet options)
Deprecated.
since CICS 6.1.
This method has been disabled in previous releases and will be removed
entirely in a future release of CICS.
|
static java.lang.String |
getAPPLID()
Return the APPLID of the region.
|
static void |
getCWA(CWAHolder holder)
Return a copy of the Common Work Area (CWA).
|
static java.lang.String |
getSYSID()
Return the SYSID for the region.
|
static void |
setCWA(byte[] data)
Update the contents of the CWA from an array of bytes.
|
@Deprecated public static void disableTrace()
@Deprecated public static void disableTrace(java.util.BitSet options)
options - the BitSet options to useRegionTraceBits@Deprecated public static void enableTrace()
@Deprecated public static void enableTrace(java.util.BitSet options)
options - the BitSet options to useRegionTraceBitspublic static java.lang.String getAPPLID()
The APPLID can also be obtained through the
com.ibm.cics.jvmserver.applid system property, which can be
used when executing in a non-CICS environment or when CICS API calls are
not allowed.
String containing the APPLID.public static void getCWA(CWAHolder holder)
holder - a holder for the CWA.
If there is no CWA
defined for the region, a byte[] of length 0 is returned as the value of
the holder.public static java.lang.String getSYSID()
String containing the SYSID.public static void setCWA(byte[] data)
data - the new data to be copied into the CWA.