Previous Topic: Prevent an AEIL AbendNext Topic: Resume Execution


Change the File Name

CA InterTest for CICS lets you dynamically change an incorrect file name in the middle of your test session. This feature lets you continue testing without recompiling your program. In this case, you can correct a simple typo in the demo program without interrupting your test session or changing your File Control Table.

To change the file name, you need to access the Replacement Options menu.

  1. Specify the RO command on the Source Listing Display command line.

    CA InterTest displays the Replacement Options menu.

    The Set Replacement Options menu lets you dynamically change a program name, file name, transient data queue name, or temporary storage ID.

  2. Tab to the Replace file name field.
  3. Specify the incorrect file name (proth) in the first column and the correct file name (prothlf) in the second column, and press Enter.

    CA InterTest MONITORING COMMAND BUILDER - REPLACEMENT OPTIONS 20 SET one or more options to replace one CICS resource name with another in: PROG=COBDEMO Replace program name: ________ with ________ Replace file name: PROTH___ with PROTHLF_ Replace TD queue name: ____ with ____ TS selection mask: ____________________________________ TS replacement mask: ____________________________________ Limit monitoring to your terminal - '*' or TERMID: ____ User ID (or .ANY) who will execute the program: .ANY PF1 Help 2 3 End 4 Return 5 6 PF7 8 9 10 11 12

    CA InterTest dynamically replaces the incorrect file name when the program executes. CA InterTest then redisplays the Program Monitoring menu.

  4. Press PF4 until the Source Listing Breakpoint Screen is redisplayed.