Previous Topic: Demo Session ScenarioNext Topic: View the Source Listing Profile


Select the Source Program from the ITST Menus

Begin your session by selecting the source listing of the COBDEMO demonstration program from the ITST Primary Option Menu.

  1. Sign on to CICS.
  2. Type ITST on a clear screen.
  3. Press Enter.

    CA InterTest for CICS displays the Primary Option Menu.

    ‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑ CA InterTest for CICS V9.1 PRIMARY OPTION MENU ‑‑‑‑‑‑‑‑‑‑‑‑‑‑ OPTION ===> 1 Source ‑ Display/select program source files/listings 2 Monitoring ‑ Display/modify CA InterTest monitoring/activity 3 Main storage ‑ Display/modify CICS storage areas 4 Auxiliary storage ‑ Display/access databases/files/queues 5 Dump analysis ‑ Invoke CA SymDump CICS dump/trace capture facility 6 Product help ‑ Invoke CA InterTest product help facility 7 Status/Maintenance ‑ Product status and maintenance functions 8 What's new? ‑ Display information about CA InterTest V9.1 X Exit ‑ Terminate menu processing CA InterTest for CICS V9.1 Copyright 2014 CA, Inc. ALL RIGHTS RESERVED PF1 Help 2 3 End 4 Return 5 6 PF7 8 9 10 11 12

Notice the PF keys have conventional assignments for ISPF‑like navigation:

Now we can take a look at the source listing of the program we will be debugging.

  1. Type 1 in the Option field.
  2. Press Enter.

    The CA InterTest Source Menu is displayed.

    ‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑ CA InterTest for CICS V9.1 SOURCE MENU ‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑ OPTION ===> 1 Select a member list type, specifying optional criteria below. 1 Source listings ‑ Display/select program source listings 2 Symbolic files ‑ Display/select program source SYMBOLIC files Type specific or generic program/file name(s): (Valid mask characters are * and/or +) c*______ ________ ________ ________ ________ ________ ________ ________ . . .

    Since we know that the COBOL demo programs all start with a c, we can filter for all members that begin with that letter.

  3. Type 1 in the Option field to search for program listings.
  4. Tab to the first entry field for file/program names, and type c*. The asterisk is a generic or wildcard character. It indicates that anything from this point on in a file name will satisfy the search criteria.
  5. Press Enter.

    The Source Listing Selection screen is displayed. It lists all program Source Listings beginning with the letter c.

    ------------ CA InterTest for CICS V9.1 SOURCE LISTING SELECTION ---------- COMMAND ===> Type S to select a source listing. More: + Name File Created Size Attributes _ COBDEML PROTSYM 08/01/2013 16:18 31 IBMCOB 3.2, no purge, composite s COBDEMO PROTSYM 08/01/2013 16:03 132 IBMCOB 3.2, no purge _ CSBIN25 PROTSYM 08/01/2013 16:12 21 IBMCOB 3.2, no purge PF1 Help 2 Refresh 3 End 4 Return 5 6 PF7 Backward 8 Forward 9 10 11 12

  6. Type an s in the field to the left of the program name and press Enter.

Note: If the list does not contain the name of the demo program indicated previously, it may be because the user who installed CA InterTest changed the name of the CA InterTest sample programs available to you. Check with that user to find the correct names.

CA InterTest for CICS V9.1 - PROTSYM FILE SOURCE LISTING DISPLAY COMMAND ===> Program= COBDEMO Option # Stmt # Margin= 01 Search= ------------------------------------------------------------------------------- YEARWINDOW(1900) ZWB 000001 ID DIVISION. 000002 PROGRAM-ID. COBDEMO. 000003 ENVIRONMENT DIVISION. 000004 DATA DIVISION. _ 000005 WORKING-STORAGE SECTION. _ 000006 77 S999-FIELD1 PIC S9(3). _ 000007 77 S999-FIELD2 PIC S9(3) VALUE +50. _ 000008 77 999-FIELD1 PIC 9(3). _ 000009 77 999-FIELD2 PIC 9(3) VALUE 50. _ 000010 77 COMMAREA-LEN PIC S9(4) COMP VALUE +59. _ 000011 77 LINK-COMMAREA-LEN PIC S9(4) COMP VALUE +59. _ 000012 77 TSQ-LEN PIC S9(4) COMP VALUE +59. _ 000013 77 REC-LEN PIC S9(4) COMP. _ 000014 77 NUM-CHOICES PIC S9(4) COMP VALUE +7. _ 000015 77 SUB PIC S9(4) COMP.

Note: The statement numbers on your screen may not match those shown in the illustrations. This will not hinder you from performing the test session.