com.ibm.cics.server

Class Program

  • All Implemented Interfaces:
    java.io.Serializable


    public class Program
    extends RemotableResource

    This Class provides the Java interface to CICS Program Control equivalent to the LINK command.

    In addition to the properties it inherits from RemotableResource, it defines the following properties:

    syncOnReturn
    A boolean which defines whether or not a remote program will commit its work as soon as it returns.
    transId
    A String which defines the name of the mirror transaction that should be used to run the mirror program on the remote system.
    See Also:
    com.ibm.cics.server.API for general restrictions on using the JCICS API., Serialized Form
    Since CICS TS version:
    1.3
    Since package version:
    1.0
    • Constructor Summary

      Constructors 
      Constructor and Description
      Program()
      Construct a Program bean.
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method and Description
      boolean getSyncOnReturn()
      Query whether this program always performs a SYNCPOINT when it returns.
      java.lang.String getTransId()
      Return the name of the CICS (mirror) transaction to be used to run the remote program.
      void link()
      Perform a simple link to the program without passing in a COMMAREA.
      void link(byte[] CA)
      Link to the program, passing in a COMMAREA.
      void link(byte[] CA, int DATALENGTH)
      Version of the link() method that takes the DATALENGTH parameter.
      void link(Channel chan)
      Perform a link to the program passing a CHANNEL.
      void link(com.ibm.record.IByteBuffer ibb)
      Deprecated. 
      This method has been retained for compatibility only; it was supplied for integration with the IBM Record Framework library, which came with VisualAge for Java, and may be removed in a future release.
      void link(com.ibm.record.IByteBuffer im, com.ibm.record.IByteBuffer om)
      Deprecated. 
      This method has been retained for compatibility only; it was supplied for integration with the IBM Record Framework library, which came with VisualAge for Java, and may be removed in a future release.
      void setSyncOnReturn(boolean syncOnReturn)
      Control whether the program always performs a SYNCPOINT when it returns.
      void setTransId(java.lang.String TRANSID)
      Set the transaction name to be used when running the program remotely, instead of CPMI.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait