=> ENTER THE REQUIRED DATA AND PRESS THE APPROPRIATE PFKEY. --------------------------------------------------------------------------DQDV0 DATAQUERY: DEFINE VARIABLE NAME: ------------------------------------------------------------------------------- DESCRIPTION: STATUS: VARIABLE ID: ? ENTER THE PROMPT TO BE DISPLAYED FOR THIS VARIABLE: _______________________________________________________________________________ VARIABLE TYPE: _ C - CHARACTER N - NUMERIC A - ALPHABETIC VARIABLE LENGTH: VARIABLE DEFAULT VALUE: _______________________________________________________________________________ ------------------------------------------------------------------------------- <PF1> HELP <PF2> RETURN <PF3> CONTINUE <PF4> SAVE <PF5> RANGE/LIST <PF6> DELETE <PF7> PREV VARIABLE <PF8> NEXT VARIABLE
Description
The required Define Variable panel appears for each variable you enter on the Editor panel. It contains information about the variable you entered and provides two fields that you must complete: a prompt that appears during execution and the data type code that tells CA Dataquery what kind of data will appear as a result of executing the query with this variable. An overview on completing this panel appears in the CA Dataquery User Guide.
Action
Type a prompt that appears when this variable can be substituted during execution or validation. Choose a data type you want to allow for the substitute. Save the definition and go on to the next panel.
Sample
The following sample shows how a typical Define Variable panel appears containing information in the display fields.
=> Enter the required data and press the appropriate PFkey. --------------------------------------------------------------------------DQDV0 DATAQUERY: DEFINE VARIABLE NAME: AAA-SAMP-DIALOG ------------------------------------------------------------------------------- DESCRIPTION: SELECT CUSTOMER BY CITY STATUS: COMPLETE WITH CITY = 1?'DALLAS ' WITH PROD = 2?75042 PRINT TITLE1 'SAMPLE ORDER ENTRY DATABASE' VARIABLE ID: 2 ? ENTER THE PROMPT TO BE DISPLAYED FOR THIS VARIABLE: _______________________________________________________________________________ VARIABLE TYPE: _ C - CHARACTER N - NUMERIC A - ALPHABETIC VARIABLE LENGTH: 05 VARIABLE DEFAULT VALUE: 75042 ------------------------------------------------------------------------------- <PF1> HELP <PF2> RETURN <PF3> CONTINUE <PF4> SAVE <PF5> RANGE/LIST <PF6> DELETE <PF7> PREV VARIABLE <PF8> NEXT VARIABLE
Display Fields
Refer to the following for explanations of the display fields intended to contain variable data.
Name you assigned the dialog or JCL PROC on the Editor panel.
Description you assigned the dialog or JCL PROC on the Editor panel.
Status options are:
Two-digit ID assigned to the variable on the Editor panel.
Length of the default plus any dialog fill characters. This length may differ from the actual variable length if you have changed the variable on the Editor panel since the last time you saved this variable's definition. If so, delete the definition so that this display field contains the correct information. The maximum length of the variable is 77 characters.
Characters entered on the Editor panel following the two-digit variable ID and dialog symbol and excluding any dialog fill 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 |
|---|---|---|---|
|
Enter the prompt to |
Y |
Any characters |
No default |
|
VARIABLE TYPE: |
Y |
C - CHARACTER |
No default |
PF Keys
The following lists the PF keys for this panel, with a brief description of each function.
Displays Help information about the current panel.
Returns to the CA Dataquery Editor (DQD10).
Saves this definition and continues to the next step.
Saves this definition.
Displays Define Variable Range panel if variable is numeric, Define Variable List panel if variable is character type.
Deletes any saved definition for this variable.
Displays the Definition panel for the previous variable.
Saves the Definition panel for the next variable.
|
Copyright © 2014 CA.
All rights reserved.
|
|