Previous Topic: Replacement OptionsNext Topic: Remove Replacement Options


Set Replacement Options

On the Monitoring submenu, enter the program names, transaction codes, or terminal names and the user ID option for whom the entry will be monitored. Then select the Replace option using S, and press Enter. The Replacement Options screen appears.

Specify the following options. The equivalent option used in CNTL transaction‑based commands is specified in parentheses.

Replace program name (RPC)—Lets a program name be replaced. Specify the original program name and the new name.

Replace file name (RFC)—Lets a file name be replaced. Specify the original file name and the new name. The sample screen shown previously specifies that program COBDEMO use file TFILE instead of PFILE.

Replace TD queue name (RTD)—Lets a transient data queue name be replaced. Specify the original TD queue name and the new name.

TS selection mask; TS replacement mask (RTS)—Lets a temporary storage ID be replaced. Specify the original temporary storage ID in the TS selection mask field and the new temporary storage ID in the TS replacement mask field. Specify both masks as eight bytes in either character (Cdata) or hexadecimal (Xdata) format.

Example

STORAGE2 replaces STORAGE1 in all temporary storage requests issued by the program.

TS selection mask:   C'STORAGE1'
TS replacement mask: C'STORAGE2'

Limit monitoring (TON)—Specifies that the program be monitored and that replacement options, if specified, take effect only when the program executes at the current terminal (*), a specific terminal (termid), or without a terminal (.NO).

User ID (or .ANY) who will execute the program—Specifies that the program be monitored and that replacement options, if specified, take effect only when the program is executed by any user (.ANY) or a specific user (a CICS user ID).

When you have specified the required information, press Enter. You are returned to the monitoring submenu where you selected the Replace option.