Previous Topic: (DQDA0) Directory of Tables (SQL Mode)Next Topic: (DQDP0) Define Descriptive Text


(DQDL0) Define Variable List

=> ENTER THE VALID VALUES FOR THE VARIABLE BELOW --------------------------------------------------------------------------DQDL0 DATAQUERY: DEFINE VARIABLE LIST ------------------------------------------------------------------------------- NAME VARIABLE ID: ? PROMPT FOR VARIABLE: ------------------------------------------------------------------------------- ------------------------------------------------------------------------------- <PF1> HELP <PF2> RETURN <PF3> DELETE <PF4> SAVE <PF5> NOT USED <PF6> NOT USED <PF7> BACKWARD <PF8> FORWARD

Description

The optional Define Variable List panel permits you to provide a list of valid substitutes for a character or alphabetic dialog or JCL PROC variable that you are creating. Twenty-five fields are available for listing substitutes for the current variable definition. An overview on completing this panel appears in the CA Dataquery User Guide.

Action

Enter a list of valid values for this variable, including the default for the variable. Save the list and return to the Define Variable panel.

Sample

The following sample shows a typical Define Variable List panel containing information in the display fields. The entry fields' lengths are identical to the default variable length, although the values you enter need not be the full length.

=> ENTER THE VALID VALUES FOR THE VARIABLE BELOW --------------------------------------------------------------------------DQDL0 DATAQUERY: DEFINE VARIABLE LIST ------------------------------------------------------------------------------- NAME AAA-SAMP-DIALOG VARIABLE ID: 1 ? PROMPT FOR VARIABLE: TYPE THE NAME OF THE CITY FOR WHICH YOU WANT A COMPLETE LIST OF CUSTOMERS 'DALLAS ' ________________ ________________ ________________ ________________ ________________ ________________ ________________ ________________ ------------------------------------------------------------------------------- <PF1> HELP <PF2> RETURN <PF3> DELETE <PF4> SAVE <PF5> NOT USED <PF6> NOT USED <PF7> BACKWARD <PF8> FORWARD

Display Fields

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

NAME

Name of the dialog or JCL PROC.

VARIABLE ID:

Number you assigned to this variable, followed by the site dialog symbol (a question mark in the example).

PROMPT FOR VARIABLE:

Prompt you wrote to appear when this variable is shown on the prompt panel during dialog/PROC execution. Maximum length is 77 characters.

default variable

The default appears after the prompt. (DALLAS is the prompt in this sample.) Maximum length is 77 characters.

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

______

N

All valid values
using any character except underscores
and using apostrophes where required. If alphabetic type, only letters A-Z are allowed.

Site-specific default variable

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 panel.

<PF3> DELETE

Deletes the list definition.

<PF4> SAVE

Saves the list definition.

<PF7> BACKWARD

Scrolls the variable list backward.

<PF8> FORWARD

Scrolls the variable list forward.