Starting an application in an ISPF/TSO environment

You must have access to ISPF load module libraries to run the ISPF/CAF sample application.

Procedure

To start an application in a TSO environment:

  1. Enter a CALL command for option 6 of the ISPF primary option menu.
  2. To start the COBOL phone sample version of the connection manager, enter the following command:
    CALL 'prefix.RUNLIB.LOAD(DSN8SCM)'
  3. To start the PL/I phone sample version of the connection manager, enter the following command:
    CALL 'prefix.RUNLIB.LOAD(DSN8SPM)'

    After you enter one of these commands, Db2 displays the sample applications panel, which is shown in the following figure.

    Figure 1. Initial panel of the ISPF/CAF application
                DB2 SAMPLE APPLICATIONS MENU
    ===>
    
    Select one of the following options and press enter.
    
     1  COBOL PHONE SAMPLE     (DB2 ISPF COBOL Application)
     2  PL/I  PHONE SAMPLE     (DB2 ISPF PL/I  Application)
     3  COBOL ORGANIZATION     (DB2 ISPF COBOL Application)
    
     4  C   EMPLOYEE RESUME    (DB2 ISPF C Application)
     5  C   EMPLOYEE PHOTO     (DB2 ISPF & GDDM C Application)
    
     6  COBOL EMPLOYEE RESUME  (DB2 ISPF COBOL Application)
     7  COBOL EMPLOYEE PHOTO   (DB2 ISPF & GDDM COBOL Application)
    
    SPECIFY DB2 SUBSYSTEM NAME ===> DSN
    
    PRESS:   END TO EXIT

    Choosing option 1 or 2 on the sample applications panel during Phase 3 invokes either the COBOL or the PL/I version of the phone application. Choosing option 3 on the sample applications panel during Phase 6 invokes the COBOL organization application, which uses DRDA access to distributed data.

    Choosing options 4, 5, 6, and 7 on the sample applications panel during Phase 7 invokes the "Employee Resume" and "Employee Photo" applications, which processes LOB data. Options 4 and 5 access the C language sample applications, and options 6 and 7 access the COBOL language sample applications. You must run job DSNTEJ73 before you can access option 4. You must run job DSNTEJ75 before you can access option 5. You must run job DSNTEJ77 before you can access option 6. You must run job DSNTEJ78 before you can access option 7.