|
| |
Screen Design Aid
Function Options
- F4=Prompt
Press F4 to have the Work with Fields display appear.
- F6=Condition
Press F6 to have the Condition Work Screen display appear.
- F9=Select additional records
Press F9 to select additional records to display on the Design
Image work screen.
- F10=Database
Press F10 to have the Select Database Files display appear.
- F11=Non-display selected fields
Press F11 to switch back and forth between two field lists that are
displayed on the bottom row of the work screen:
o Highlighted field list
The first list contains the database field names that you
selected from the database file. This list is highlighted
and changed as you design your display.
When you place a database field on the work screen, the
field name is removed from the list. When you remove a
database field or a user-defined field from the work screen,
the field name is added to the list.
o Original field list
The second list contains the field names that you originally
selected from the database file. This list is not
highlighted and does not change unless you select more
database fields.
- F12=Cancel
Press F12 to save your work and return to the Work with Display
Records display.
Note: Anything that you have typed since you last pressed
Enter is not processed.
- F13=Change defaults
Press F13 to change the user-defined defaults for SDA sessions
on the Change Defaults display.
- F14=Ruler
Press F14 to place a vertical and horizontal ruler on the Design
Image work screen where you position the cursor. The ruler does
not interfere with your data. Press F14 to remove the ruler.
Defining fields on the ruler may cause results that cannot be
predicted.
- F15=Subfile Prompt
This function will work only when a subfile exists. Press F15
to display a prompt on the bottom row of the Design Image work
screen that allows you to change the subfile line (SFLLIN) and
subfile page (SFLPAG) sizes that were in effect for the current
record being defined.
- F17=Print
Press F17 to print the current contents of the Design Image work
screen.
- F18=Tab
Press F18 to move the cursor to the attribute position of the
next field.
- F19=Back Tab
Press F19 to move the cursor to the attribute position of the
previous field.
- F20=Reverse Image constants
Press F20 to switch the reverse imaging of constants on and off.
This reverse imaging is temporary and does not affect the
compiled image.
Use F20 to determine the starting and ending points of the
constants. Constants which have the underline attribute (but
not the reverse image and highlight attributes) will not be
displayed in reverse image. Constants that are not currently
displayed will be highlighted and will appear in reverse image.
You can also use F20 to reverse image single- and
multiple-choice selection fields. The F20 key helps you to
determine the block on the screen in which it could overlap
other fields.
- F21=Display additional records
Press F21 to display the additional records with the primary
record. Press F21 again to display only the primary record.
Use F21 to determine which fields on the display belong to the
primary record. Only the fields of the primary record can be
changed.
- F22=System command
Displays a window in which you can type system commands.
Adding Fields
- To add a user-defined field, type + followed by I (input), O
(output), or B (both) for alphabetic fields, or followed by 3
(input), 6 (output), or 9 (both) for numeric fields and press Enter.
To add a floating point field, add a numeric field followed by E
(single-precision) or D (double-precision) and press Enter. You can
use uppercase or lowercase letters. You indicate the length of a field by
the number of characters following +, or by the length
specified in brackets after the first character.
The following examples illustrate user-defined fields:
+BBB or +b(3)
Three-character, alphabetic, both (input and output) field.
+66.66 or +6(4,2)
Four-character, numeric, output field with two decimal positions
(set by an edit word).
+3.33E or +3(3,2)e
Single-precision, input, floating-point field with three
significant digits and two decimal positions.
+99.999d or +9(5,3)D
Double-precision, both (input and output), floating-point field
with five significant digits and three decimal positions.
Adding Constants
You can add or change constants in the menu body by using the
following editing characters:
- Surround a constant that contains blanks or special characters
with single quotation marks to define it as a single constant.
- Type a constant. A blank character ends the constant.
- Surround several constants with single quotation marks to
redefine them as one constant.
- Use a double quotation mark to end one constant and start a new
constant while taking up only one position.
Note: The original constant must be surrounded by single
quotation marks.
o Use the @ sign in pairs to delimit a DBCS constant. The number
of characters between the delimiters must be even. You can only
use this on a DBCS display.
Note: If the characters that you use are blanks, the DBCS
constant (including the @ signs) has to be between quotation
marks.
When you press Enter, each pair of @ signs will be replaced with
a shift in and a shift out pair and the characters between the
delimiters will be replaced by underline (_) characters. You
can then type DBCS data on the underline characters between the
delimiters.
Note: You cannot use a DBCS insert key in the menu body.
- Type *DATE to create a field that shows the current session
date.
- Type *TIME to create a field that shows the system time.
- To add the user name, type *USER. To add the system name, type
*SYSNAME.
Note: *USER and *SYSNAME cannot be used in the System/38
Environment.
o Type +M(nn) to create a message constant field of length nn.
Note: You will be prompted for the message identifier and
the message file from which the first nn characters of test
are to be extracted.
- Type a question mark (?) in the attribute position of the message
constant to look at or change the message identifier and
the message file.
The following examples illustrate constant fields:
'xxx"YYY'
Defines two constant fields.
'xxx YYY zzz'
Combines three constant fields into one field.
+MMM or +(M3)
The Define Message Constant display appears.
Colors & Image Design
- H -H High intensity
- CB -CB Blue
- R -R Reverse image
- CG -CG Green
- S -S Column
- CP -CP Pink separators
- B -B Blink
- CR -CR Red
- N -N Nondisplay
- CT -CT Turquoise
- U -U Underscore
- CW -CW White
- -A Remove all
- -CA Remove all attributes colors
Adding Fields from a Database File
- The fields you select from a database file appear on the bottom row
of the Design Image work screen. You move fields from the bottom
line to your display by typing & followed by the field number, if
you are in multiple mode, and the column heading position and
pressing Enter. The fields begin in the position where you type &.
The following examples illustrate moving fields to your display:
Symbol
Single Field Multiple Field Field
Mode Mode Meaning
- & &n Places field. Does not add
column heading.
- &L &nL Places field. Adds a column
heading to the left of the field.
- &R &nR Places field. Adds a column
heading to the right of the field.
- &C &nC Places field. Adds a column above
the field. Left-aligns column
heading for an alphabetic field
and right-aligns column heading
for a numeric field.
- &P &nP Places the column heading only.
Field Movement
- Moving a field -, =
Type - in the attribute position of the field and type = where
you want the field to appear.
- Copying a field -, ==
Type - in the attribute position of the field and type == where
you want a copy of the field to appear.
- Deleting a field
Type D in the attribute position of the field or blank out the
entire field position starting from the attribute position.
- Moving a block of fields -, -, =
Type - in the upper left corner of the block of fields. Type -
in the lower right corner of the block of fields so the - is one
|