Previous Topic: Overriding an Online Program's SubschemaNext Topic: Debugging


Setting Up an Online Test Application

There are two typical online test configurations, although your site standards for online testing may be different. The two configurations are as follows:

For information on using extended architecture (z/OS) to test programs above the 31-bit line, see the appendix XA Considerations.

Dynamically Defining Programs and Tasks

Before your application can execute under CA IDMS, you must ensure that all of its programs and tasks are defined to CA IDMS. You can define programs and tasks either at system generation or dynamically by issuing DCMT VARY DYNAMIC PROGRAM and DCMT VARY DYNAMIC TASK commands. For example, to dynamically define the DCADDEMP program and its associated task, issue the following DCMT statements:

DCMT VARY DYNAMIC PROGRAM DCADDEMP QUASIREENTRANT .

DCMT VARY DYNAMIC TASK ADDEMP INVOKES DCADDEMP INPUT .

'CLIST'. Because an application can consist of many programs and task codes, it is a good idea to define an application's dynamic program and task definition statements as a module in the dictionary. This module can then be invoked as a command list (CLIST) from the online DC system.

For more information on command lists, see CA IDMS System Operations Guide.

'NEW COPY'. You may need to redefine a recompiled program or map if NEW COPY is defined as MANUAL at system generation. To mark a previously defined program to new copy, issue the following online CA IDMS command:

DCMT VARY PROGRAM DCADDEMP NEW COPY

Using a Test Load Library (z/OS only)

To execute your test application in a DC system that uses a test load library for such applications, perform the following steps:

  1. When coding is finished, compile the programs and link edit them into the load library that has been assigned the specified version number.
  2. Define the programs to the DC system either at sysgen or by issuing DCMT VARY DYNAMIC PROGRAM commands.
  3. Define the tasks to the DC system either at sysgen or by issuing DCMT VARY DYNAMIC TASK commands.
  4. Establish the run-time test version number by issuing a DCUF TEST command.
  5. Perform online application testing, as necessary.

Using an Application Dictionary

To execute your test application in a DC system that uses an application dictionary, perform the following steps:

  1. Link edit all programs into a load (core-image) library that has been defined to the DC system.
  2. Establish the application dictionary as the session default dictionary by issuing a DCUF SET DICTNAME command.
  3. Define the programs to the DC system either at sysgen or by issuing DCMT VARY DYNAMIC PROGRAM commands.
  4. Define the tasks to the DC system either at sysgen or by issuing DCMT VARY DYNAMIC TASK commands.
  5. Perform online application testing, as necessary.