com.ibm.cics.server
Class Region
- java.lang.Object
-
- 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.
- Since CICS TS version:
- 1.3
- Since package version:
- 1.0.0
-
-
Field Summary
-
Fields inherited from interface com.ibm.cics.server.RegionTraceBits
EI, NUMBER_OF_BITS, SYSTEM, USER
-
-
Constructor Summary
Constructors Constructor and Description Region()
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods 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.
-
-
-
Method Detail
-
disableTrace
@Deprecated public 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.Disable main TRACE flag for the region (Method is not supported in this release of CICS TS)- Since CICS TS version:
- 1.3
- Since package version:
- 1.0.0
-
disableTrace
@Deprecated public 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.Disable region trace flags (Method is not supported in this release of CICS TS)- Parameters:
options
- the BitSet options to use- See Also:
RegionTraceBits
- Since CICS TS version:
- 1.3
- Since package version:
- 1.0.0
-
enableTrace
@Deprecated public 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.Enable main TRACE flag for the region (Method is not supported in this release of CICS TS)- Since CICS TS version:
- 1.3
- Since package version:
- 1.0.0
-
enableTrace
@Deprecated public 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.Enable region trace flags (Method is not supported in this release of CICS TS)- Parameters:
options
- the BitSet options to use- See Also:
RegionTraceBits
- Since CICS TS version:
- 1.3
- Since package version:
- 1.0.0
-
getAPPLID
public static java.lang.String getAPPLID()
Return the APPLID of the region.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.- Returns:
- A
String
containing the APPLID. - Since CICS TS version:
- 1.3
- Since package version:
- 1.0.0
-
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.- Since CICS TS version:
- 1.3
- Since package version:
- 1.0.0
-
getSYSID
public static java.lang.String getSYSID()
Return the SYSID for the region.- Returns:
- A
String
containing the SYSID. - Since CICS TS version:
- 1.3
- Since package version:
- 1.0.0
-
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.- Since CICS TS version:
- 1.3
- Since package version:
- 1.0.0
-
-