com.ibm.cics.server
Class Region

java.lang.Object
  extended by com.ibm.cics.server.Region
All Implemented Interfaces:
RegionTraceBits

public class Region
extends java.lang.Object
implements RegionTraceBits

This class provides a set of methods and variables that correspond to a CICS region.

Version:
1.8.4.3
Author:
John Colgrave

Field Summary
 
Fields inherited from interface com.ibm.cics.server.RegionTraceBits
EI, NUMBER_OF_BITS, SYSTEM, USER
 
Constructor Summary
Region()
           
 
Method Summary
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.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Region

public Region()
Method Detail

disableTrace

public static void disableTrace()
Disable main TRACE flag for the region (Method is not supported in this release of CICS TS)


disableTrace

public static void disableTrace(java.util.BitSet options)
Disable region trace flags (Method is not supported in this release of CICS TS)

Parameters:
options - the BitSet options to use
See Also:
RegionTraceBits

enableTrace

public static void enableTrace()
Enable main TRACE flag for the region (Method is not supported in this release of CICS TS)


enableTrace

public static void enableTrace(java.util.BitSet options)
Enable region trace flags (Method is not supported in this release of CICS TS)

Parameters:
options - the BitSet options to use
See Also:
RegionTraceBits

getAPPLID

public static java.lang.String getAPPLID()
Return the APPLID of the region.

Returns:
a String containing the APPLID.

getCWA

public static void getCWA(CWAHolder holder)
Return a copy of the Common Work Area (CWA).

Parameters:
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.

getSYSID

public static java.lang.String getSYSID()
Return the SYSID for the region.

Returns:
a String containing the SYSID.

setAPPLID

public static void setAPPLID(java.lang.String applid)
This method is not part of the API and is not supported for use by application programs. Its behavior is undefined.

Parameters:
applid - the APPLID

setCWA

public static void setCWA(byte[] data)
Update the contents of the CWA from an array of bytes.

Parameters:
data - the new data to be copied into the CWA.

setSYSID

public static void setSYSID(java.lang.String SYSID)
This method is not part of the API and is not supported for use by application programs. Its behavior is undefined.

Parameters:
SYSID - the SYSID