Previous Topic: DEFINE XID, XVAR—Define New ID Options or VariablesNext Topic: DEFINE VAR—Define Variables Using Existing Variables


DEFINE ID—Define Options Using Existing ID Options

When defining a new ID option, you can include multiple character strings or existing ID options, in any order. When printed, components are concatenated without intervening spaces.

To define new ID options using existing ID options, use the following syntax:

DEFINE ID newid [oldid [(start,length)]] ['string']...
ID

Requests the definition of a new ID option.

newid

Provides the name of the new ID option you want to define.

oldid

Specifies the name of an existing ID option you want to be a component of the new ID option.

start,length

Specifies the starting position (start) and length (length) of the part of the existing ID option you want to include in the new ID option. Use these variables if you do not want to include the entire existing ID option.

string

Defines a character string that you want as a component of the new ID option. Enclose the string in single quotes. The string can be one or more characters long, and it can include or consist entirely of blanks.