CL Command Reference - CHGRTGE
CL Command List > CHGRTGE Reference
Description:
The Change Routing Entry (CHGRTGE) command changes a routing entry in the specified subsystem description. The routing entry specifies the parameters used to start a routing step for a job. The associated subsystem can be active when the changes are made.
Notes:
1. The job associated with an active subsystem can only find objects that exist in the system auxiliary storage pool (ASP) or in a basic user ASP. Therefore, objects that are referenced by this command should exist in the system ASP or in a basic user ASP.
Restrictions:
1. To use this command, you must have:
. object operational (*OBJOPR), object management (*OBJMGT), and read (*READ) authority to the specified subsystem description and execute (*EXECUTE) authority to the library containing the subsystem description.
Examples:
Example 1: Changing Class and Pool ID
CHGRTGE SBSD(LIB5/ORDER) SEQNBR(1478) CLS(LIB6/SOFAST) POOLID(3)
This command changes routing entry 1478 in the subsystem description ORDER found in library LIB5. The same program is used, but now it runs in storage pool 3 using class SOFAST in library LIB6.
Example 2: Changing the Name of the Program Called
CHGRTGE SBSD(T7/PGMR) SEQNBR(157) PGM(T7/INTDEV)
This command changes routing entry 157 in the subsystem description PGMR found in library T7. The program INTDEV in library T7 is now called whenever this routing entry is selected. The other routing entry parameters are not changed.