Changing the alias and CICS program

You can use Decode to redirect a client request to another CICS® program.

CICS ONC RPC then ignores the original program name that was defined in the connection manager for the requested 4-tuple. To reroute a client request, specify a new CICS program name in the decode_server_program field in Decode . This facility allows a client to pass a CICS program name in the data it sends in the remote procedure call. The new CICS program must work with the same communication area format, converter, and XDR output routine as the original program.

You can use Decode to change the name of the alias transaction to run the CICS program by setting the decode_alias_transid output field. CICS ONC RPC then ignores the transaction ID that was defined in the connection manager for the requested 4-tuple. This facility allows a client to pass the alias transaction ID in the data it sends with the remote procedure call.