Class API

java.lang.Object
com.ibm.cics.server.API
Direct Known Subclasses:
Application, AsyncServiceImpl, AttachInitiator, CertificateInfo, Channel, CICSFuture, Container, ContainerIterator, Conversation, Document, EnterRequest, Event, FileBrowse, HttpClientRequest, HttpClientResponse, HttpResponse, HttpSession, Resource, Security, SynchronizationResource, Task, TcpipRequest, Terminal, WSAContext, WSAEpr

public abstract class API extends Object

This is the base class for all JCICS classes that interact with CICS.

Note that method calls on JCICS objects must be made from the same thread that constructed them.

Since CICS TS version:
1.3
  • Method Details

    • getCICSServerApiVersion

      public static Version getCICSServerApiVersion() throws CicsException
      Gets the version of the com.ibm.cics.server java package which is being used currently. The logic reads the manifest of the jar within which this code is packaged.
      Returns:
      A version object, detailing the version of the com.ibm.cics.server API being used.
      Throws:
      CicsException - The com.ibm.cics.server code is not packaged into a jar as expected, or the version of the com.ibm.cics.server package on the classpath could not be determined, possibly as a result of an I/O problem preventing the manifest of that jar being read and processed.
      Since CICS TS version:
      6.1