com.ibm.ims.base
Class AlternatePCB

java.lang.Object
  |
  +--com.ibm.ims.base.AlternatePCB

public final class AlternatePCB
extends java.lang.Object

The AlternatePCB class contains all the data attributes of the IMS Alternate Program Communication Block and the necessary getter and setter methods. Use alternate PCB to send output messages to terminal other than the originating terminal or to send messages to other application programs. Alternate PCBs can be found for a particular terminal or program, or they can be defined as modifiable. If the alternate PCB is modifiable, set the destination using the CHNG (Change) call. For further information, see the manual, IMS Application Programming: Transaction Manager.


Method Summary
 java.lang.String getMessageDestination()
          Returns the logical terminal name in this Alternate PCB.
 short getStatusCode()
          Returns the status code from the last DLI call using this Alternate PCB.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getMessageDestination

public java.lang.String getMessageDestination()
Returns the logical terminal name in this Alternate PCB.
Returns:
The Alternate PCB's logical terminal name.

getStatusCode

public short getStatusCode()
Returns the status code from the last DLI call using this Alternate PCB. See IMS Messages and Codes for information about IMS status codes.
Returns:
The Alternate PCB's IMS status code.


(C) International Business Machines Corporation 2004. All rights reserved.