Previous Topic: Initiating/Terminating the Trace Facility (TRACEON/TRACEOFF)Next Topic: Command Examples


Replacing a Module or URT with a New Copy

To implement any changes you make to a module or URT, use the procedures described in this section to enable a new copy. A new copy of DBCVTPR cannot be enabled without shutting down CA Datacom CICS Services.

The CICS startup PLT contains an entry directing the system to load all modules and URTs needed for execution of CA Datacom CICS Services and mark them as being in use. A new copy of a module or URT cannot be used until the loaded version is deleted. A URT cannot be deleted until it is closed. A module cannot be deleted until all URTs are closed and all MUFs are disconnected. Because the process of enabling a new copy of a URT must be preceded by closing the URT and deleting the URT to be replaced, the process of enabling a new copy of a module must be preceded by closing all URTs, disconnecting all MUFs, and deleting the module to be replaced.

Use the steps described in the following chart to replace an existing module or URT with a new copy:

Module

URT

1. Disconnect all MUFs.

DBEC P,DISCONNECT(??)

Follow by pressing the CLEAR key.

Close the URT to be replaced.

DBOC CLOSE=urt

2. Delete the module to be replaced.

DBOC DELETE=modname

Delete the URT to be replaced.

DBOC DELETE=urt

3. Produce a new copy of the deleted module.

CEMT S PROG(modname) NEWCOPY

Produce a new copy of the URT.

CEMT S PROG(DBURTurt) NEWCOPY

or

CEMT S PROG(DBURnurt) NEWCOPY

4. Load new copy of the module and restore initial status of all the MUFs.

DBOC LOAD=modname

DBEC P,CONNECT(??)

If there are MUFs that you do not want connected because they were previously disconnected, you should instead do the following after the LOAD:

DBEC I,MUF(??)

and then use the C line command to selectively connect the MUFs that you want reconnected.

Load and open the new copy of the URT. (URT is implicitly loaded prior to opening.)

DBOC OPEN=urt