Previous Topic: COUNT Command—Define Number of RecordsNext Topic: DEFINE XID, XVAR—Define New ID Options or Variables


DEFINE Command—Define ID Options and Variables

The DEFINE command is a global command that creates new ID options and variables for use in reports. Any variables or ID options you define are in effect for all reports in the run.

Important! When you use the DEFINE command to create variables, consider specifying the FORMAT variable option with the variable in your report command. If you do not specify the FORMAT option, the decimal point is not included in the variable values.

You can define variables and ID options from scratch, or use existing variables or ID options as a template.

This command has the following syntax:

DEFINE ID|XID|XVAR
ID

Requests the definition of a new ID option using existing ID options.

XID

Requests the definition of a new ID option.

XVAR

Requests the definition of a new variable.

More information:

Variable Options