Setting up ISPF libraries

To set up libraries for developing and testing dialogs, follow these steps:

  1. Set up the panel, message, skeleton, table, and program libraries for the application. Allocate new partitioned data sets.
  2. Create a CLIST or REXX command procedure that contains the necessary ALLOCATE statements to allocate the libraries. Concatenate the application libraries ahead of the libraries required by ISPF, as described in Library concatenation.
    Note: You can use the LIBDEF service to dynamically allocate libraries instead of allocating them before invoking ISPF. For more information see the z/OS V2R2 ISPF Services Guide.
  3. Create the panels, messages, and skeletons by editing directly into the application libraries.
  4. Create the dialog functions and ensure that the load modules are in libraries accessible to ISPF.

    Functions coded as program modules must be link-edited. When a function is link-edited, the ISPLINK subroutine must be included (explicitly or by automatic call) in the load module. ISPLINK is distributed in load module format and can be placed in a system library for automatic call during link-edit.

  5. Invoke the application. To do this, add an ISPSTART command to the command procedure created in step 2. The ISPSTART command should start the application using the appropriate PANEL, CMD, or PGM parameter. Users can start the application by using this command procedure or by selecting the application from the master menu or another menu.