Previous Topic: (DQDP0) Define Descriptive TextNext Topic: (DQDV0) Define Variable


(DQDR0) Define Variable Range

=> ENTER A VALID RANGE FOR THE VARIABLE BELOW --------------------------------------------------------------------------DQDR0 DATAQUERY: DEFINE VARIABLE RANGE ------------------------------------------------------------------------------- NAME: VARIABLE ID: ? PROMPT FOR VARIABLE: RANGE FROM TO ------------------------------------------------------------------------------- <PF1> HELP <PF2> RETURN <PF3> DELETE <PF4> SAVE

Description

The optional Define Variable Range panel appears after you save a dialog or JCL PROC variable whose type you defined as numeric and press <PF5> RANGE/LIST. It allows you to describe the lower and upper values of a range of numbers that can be entered as substitutes for the variable. An overview of defining this panel appears in the CA Dataquery User Guide.

Action

Enter numbers for the low and high ends of the valid range you want to define for this variable. You can enter up to 18 digits, a sign (+ or -_), and a decimal point. Save the range definition and return to the Define Variable panel for this variable.

Entry Fields

Refer to the following chart for valid entries in the fields on this panel. Use the Tab and arrow keys to move the cursor. To change an entry, write or space over it. When entries are complete, press Enter or a valid PF key.

Field

Required?

Valid Entries

Default

FROM

Y

Low value

0

TO

Y

High value

0

Sample

The following sample shows you how a typical panel looks when it contains information in the display fields.

=> ENTER A VALID RANGE FOR THE VARIABLE BELOW --------------------------------------------------------------------------DQDR0 DATAQUERY: DEFINE VARIABLE RANGE ------------------------------------------------------------------------------- NAME: AAA-SAMP-DIALOG VARIABLE ID: 2 ? PROMPT FOR VARIABLE: ENTER A PRODUCT CODE IN THE DEFINED RANGE OR ACCEPT THE 75042 DEFAULT. RANGE FROM 75000 TO 75999 ------------------------------------------------------------------------------- <PF1> HELP <PF2> RETURN <PF3> DELETE <PF4> SAVE

Display Fields

Refer to the following for explanations of the display fields intended to contain variable data.

NAME:

Name you gave this dialog or JCL PROC.

VARIABLE ID:

The two-digit number you entered to identify this variable on the Editor panel.

PROMPT FOR VARIABLE:

Prompt assigned to the variable with the Define Variable panel.

PF Keys

The following lists the PF keys for this panel, with a brief description of each function.

<PF1> HELP

Displays Help information about the current panel.

<PF2> RETURN

Returns to Define Variable (DQDV0) panel for this variable.

<PF3> DELETE

Deletes a saved range.

<PF4> SAVE

Saves the range definition.