Previous Topic: Resume ExecutionNext Topic: Option 02: Limit CICS Storage and Requests


ASMDEMO Displays the Record

Program ASMDEMO succeeded in reading a record from file PROTHLF, which is the CA InterTest for CICS Help file. ASMDEMO displays the first record in that file.

********************************************************************** **** **** **** CA InterTest Demo Session **** **** Replace File Control Identifications **** **** **** ********************************************************************** Record retrieved: * 0000000000 VE0301CA InterTest HELP Fa * * cility Master Menu * Record length = 0960 You have now successfully utilized the REPLACE option Press ENTER to continue or CLEAR to terminate

Replacing the incorrect file name in program ASMDEMO allowed you to continue testing that program without recompiling it. Of course, if one of your programs had an incorrect file name, you would eventually have to correct the file name in the original program and recompile it.

In this case, the error was caused by a simple typo. However, the Replacement Options are useful in many situations. For example, you can dynamically change a file name in order to test a program with a different file. This allows you to use a test file without altering the name of the production file coded in the program. Similarly, you can change a program name or transient data queue name to test a program or queue other than the ones that are hard coded.

You have now completed the Replace File Control ID section of the demo session.

  1. Press Enter to continue the test session, or Clear to end the session.