Previous Topic: The Application Program Interface

Next Topic: Call the MIMAPI1 Module

Prepare the Interface

During installation, you unloaded the MIMAPI1 interface module and the sample routines and panels that are used with the MIMAPI1 module.

To use the interface

  1. Determine what routines and panels you want to use. All routines and panels are optional.

    The following sample source programs are installed into data set CAI.CBTDSAMP:

    API1SM01

    This is a sample source program that invokes the MIMAPI1 interface module and displays tape data on the two sample panels.

    API1SM02

    This is a sample source program that retrieves the local names or addresses of devices.

    The following sample ISPF panels are installed into data set CAI.CBTDPENU:

    API1PNL1

    This is an optional retrieval panel that lets you request information about devices.

    API1PNL2

    This is an optional display panel that shows you information about the devices that you have named.

  2. If you are using the API1PNL1 or API1PNL2 panels, then place them in an ISPF library that contains other ISPF panels.
  3. Tailor and submit the JCL contained in member API1JCL1 of the CAI.CBTDJCL data set. This JCL assembles and link-edits the two source programs and the MIMAPI1 routine.