Previous Topic: Advanced Demo SessionNext Topic: Advanced Demo Session for COBOL


Advanced Demo Preliminaries

The advanced demo session uses the same program used in the basic demo session: CAMRASM for Assembler users, CAMRCOB2 or CAMRDMR2 for COBOL II and higher users, CAMRCOB or CAMRDMR for COBOL/VS users, and CAMRPLI for PL/I users. To begin the advanced demo session, you need to do the following setup steps:

After executing the program, you branch to the Demo Session Options Menu. The setup steps are described next.

Access the *Initial* Intercept Panel for the Demo Program

If you just completed the basic demo, the application brings you to the Execution Control panel, with your previous entries for the Basic Demo displayed. From this point, do the following actions

Action:

Press Enter.

Result:

The Monitor Control Entry panel displays with your previous entries.

Action:

Press Enter.

Result:

The Initial Intercept panel displays. Continue with the section, Split Your Screen.

If you have not just completed the basic demo, follow the beginning section of the appendix “Basic Foreground Demo Session” to get to the Initial Intercept panel. The sections to follow include:

Continue with the next section, Split Your Screen.

Split Your Screen

Action:

ISPF users:

Tab a few lines down your screen and press the SPLIT PF key defined in your ISPF profile (normally PF2).

CA Roscoe users:

Enter the CA Roscoe SPLIT sequence.

Result:

ISPF users:

The ISPF Primary Option Menu displays in the bottom half of your screen.

CA Roscoe users:

A second CA Roscoe panel displays.

The CAMRCOB2 Initial Intercept Panel with split-screen (ISPF users) is shown next.

CAMRCOB2 ---------- CA InterTest™ Batch *INITIAL* Intercept ------------------- COMMAND ===> SCROLL ===> CUR TRACE=> 000876 000875 PROCEDURE DIVISION USING PARAMETER-AREA. *--> 000876 START-PROGRAM. *--> 000877 OPEN OUTPUT REPORT-OUT. 000878 * -----------------------------------------------* 000879 * Welcome to the CA InterTest™ Batch COBOL II * 000880 * Demonstration Program. You are now at the * 000881 * Initial Breakpoint panel which is displayed * 000882 * upon entry to the first program to be tested. * 000883 * At this point, other breakpoints can be set * . . . . . . . . . . . . . . . . . . . . . . . . . . . ----- ------- ------ ISPF/PDF PRIMARY OPTION MENU                            ----------------------- VERSION 3 RELEASE 1 -------------------  OPTION ===>                                                                    USERID -xxxxxxx   0 ISPF PARMS - Specify terminal and user parameters TIME -14:37     1 BROWSE - Display source data or output listings TERMINAL -3278      2 EDIT - Create or change source data PF KEYS -24        3 UTILITIES - Perform utility functions DATE(G) -92/12/18  4 FOREGROUND - Invoke lang. processors in foreground DATE(J) -92.352    5 BATCH - Submit job for language processing                          6 COMMAND - Enter TSO command or CLIST                                  7 DIALOG TEST - Perform dialog testing                                     

Advanced Demo Data Sets

The advanced demo requires the following two additional data sets:

Use the user report data set to store the HISTOGRAM and XSUM reports, which are used in Option 7 of the advanced demo.

Create and Allocate INT1REPT Data Sets

Users must define their own INT1REPT data set. Create the INT1REPT data set using one of the following methods.

Method 1

  1. Use ISPF or CA Roscoe to enter the JCL shown in the sample INT1REPT Create in the following example:

    //yourjob JOB //ALLOC EXEC PGM=IEFBR14 //INT1REPT DD DSN=userid.INT1REPT,DISP=(,CATLG), // DCB=(RECFM=FBA,LRECL=131,BLKSIZE=6157), // UNIT=SYSDA, // SPACE=(TRK,(30,5))

  2. Submit the job to create the data set.
  3. Check the condition code of the job to verify that the INT1REPT data set was created.
  4. Perform one of the following commands to allocate the data set:
  5. Press Enter.

    TSO or CA Roscoe allocates the data set.

Method 2

  1. Use option 3.2 from the ISPF/PDF Primary Option Menu to create the INT1REPT data set.

    Use the information in the Method 1 JCL when allocating INT1REPT. In the Method 1 JCL, in the SPACE definition, 30 is the primary space and 5 is the secondary.

    For additional help using option 3.2, ISPF provides excellent online help that is accessible with the PF1 key.

  2. Check to verify that the INT1REPT data set was created.
  3. Perform one of the following commands to allocate the data set:
  4. Press Enter.

    TSO or CA Roscoe allocates the data set.

Method 3

Note: A CLIST, INT1REPT, exists that creates a user report data set.

INT1CLIB

The command library data set, which was created during the installation, can be shared by all users. The default name for this data set is CAI.CAISRC, but this may have been changed by your installer. INT1CLIB should be allocated automatically. Consult your installer to verify that this is the case.

Three of the members in the command library contain include commands to set the breakpoints required for the advanced demos. They are:

Allocate INT1CLIB Data Sets

INT1CLIB data sets should be allocated automatically. In case this does not happen, these instructions describe how to allocate command library data sets.

To allocate the INT1CLIB data set

  1. Key in one of the following commands:
  2. Press Enter.

    TSO or CA Roscoe allocates the data set.

    Note: Your system installer may have changed CAI to another high-level qualifier. Check with your installer.