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()
Disable main TRACE flag for the region
(Method is not supported in this release of CICS TS)
|
static void |
disableTrace(java.util.BitSet options)
Disable region trace flags
(Method is not supported in this release of CICS TS)
|
static void |
enableTrace()
Enable main TRACE flag for the region
(Method is not supported in this release of CICS TS)
|
static void |
enableTrace(java.util.BitSet options)
Enable region trace flags
(Method is not supported in this release of CICS TS)
|
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 |
setAPPLID(java.lang.String applid)
This method is not part of the API and is not supported for use by
application programs.
|
static void |
setCWA(byte[] data)
Update the contents of the CWA from an array of bytes.
|
static void |
setSYSID(java.lang.String SYSID)
This method is not part of the API and is not supported for use by
application programs.
|
public static void disableTrace()
public static void disableTrace(java.util.BitSet options)
options
- the BitSet options to useRegionTraceBits
public static void enableTrace()
public static void enableTrace(java.util.BitSet options)
options
- the BitSet options to useRegionTraceBits
public static java.lang.String getAPPLID()
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 setAPPLID(java.lang.String applid)
applid
- the APPLIDpublic static void setCWA(byte[] data)
data
- the new data to be copied into the CWA.public static void setSYSID(java.lang.String SYSID)
SYSID
- the SYSID