Previous Topic: PTERM Statement ParametersNext Topic: Example: PTERM Statement


PTERM Statement Usage

Cloning PTERM/LTERM uses a naming convention: the PTERM/LTERM name ends on a number of digits called the sequence number. This sequence number is incremented for each cloned PTERM and for its associated LTERM if it exists. SYSGEN makes sure that enough digits are available. It is the DBA's responsibility to ensure that a name conflict does not exist. For example, an existing PTERM/LTERM is defined with a name that equals the name of a cloned PTERM/LTERM. If a name conflict is encountered, a warning message is output, but cloning continues.

Note: A single record in the dictionary represents cloned PTERM/LTERMs. Cloning starts after all dictionary PTERM/LTERM records are read and their associated control blocks built. If there is a name conflict, the PTERM/LTERM with a conflicting name is built as defined by the dictionary record and the cloned PTERM/LTERM is discarded.