Rename
Entity-Related Operation Statement
The Rename statement changes the processing Entity name to the new Entity name. After a Rename statement is encountered, the Entity then searches forward in the process list and again from the beginning until a process is found at the current Location that has been defined for the new Entity type. No further logic is executed for the Entity under its original name. Use Rename to start collecting statistics for an Entity under a new name. Usually, the easiest and most efficient way to rename an Entity is by using the new name as the output Entity in the routing.
Syntax
Rename {As} <new entity name>
Examples
Rename EntB
Rename As EntB
Rename As Ent(Var2)
Parameters
<new entity name>
The Entity's new name.
Remarks
With Rename, statistics and cost continue on with the entity.
ProModel allows you to define the Rename action implicitly as part of the routing definition. To do this, define a route block with a different input and output name and the New Entity option unchecked.