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.0
    • Constructor Summary

      Constructors 
      Constructor and Description
      Program()
      Construct a Program bean.
      Program(java.lang.String name)
      Construct a Program resource with a specific name.
    • Method Summary

      All Methods Instance Methods Concrete 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 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