Screen conventions
In general, the first three lines of each display are formatted as follows:
Screen Title | Short Message or Db2 Subsystem ID |
Command or Option prompt | Scroll amount or Db2 Subsystem prompt |
Long Message |
Pattern characters
Many screens accept pattern characters. Valid pattern characters are:
Asterisk (*)—Matches all values. Valid for specifying objects, creators, tables, and members. Any characters following the asterisk (*) are disregarded, unless when searching for MVS objects in the MVS catalog, then the asterisk is treated the same as in ISPF dialogs.
Underscore (_)—Matches an occurrence of any single character. If an underscore is embedded in a string, the string must end with a percent sign (%). For example, xyz, xaz, and xbz all match x_z%. Valid for specifying Db2 objects only.
Percent sign (%)—Matches the occurrence of no characters or an unlimited number of characters. If a percent sign is embedded in a string, the string must end with a percent sign (%). For example, xyz, xz, and xmnoz all match x%z%. Valid for specifying Db2 objects only.
After you enter a pattern, File-AID/RDX displays a selection list. You can then select the appropriate name from the list.
Escape characters
Escape characters are required when you specify a creator or table name that does not conform to the Db2 alphanumeric character set. Escape characters are also required when you do not want uppercase translation of creator or table names.
Double-Byte Character Set (DBCS) support
File-AID/RDX supports the use of the Double-Byte Character Set (DBCS). Db2 must be installed with the mixed data option and your terminal must support the use of DBCS data.
File-AID/RDX enables you to do the following using DBCS:
- Specify tables whose names contain double-byte characters.
- Specify WHERE clause arguments on the Selection Criteria screen in Option 2, Extract.
If you have column names that contain DBCS characters, File-AID/RDX displays them enclosed in shift in and shift out characters on the Selection Criteria screen, the Relationship Information window, and the Column Relationships screen.
Table Names
You can specify table names that contain DBCS characters. Use the following syntax:
" > dbcs-string < "
where,
“ (double quote) | escape character |
> | Db2 shift out character |
< | Db2 shift in character |
dbcs-string | DBCS data |
You can use mixed strings to specify values in the Where field on the Selection Criteria screen. Use the following syntax for CHAR, VCHAR, and LVCHAR strings:
=’sbcs-string > dbcs-string < sbcs-string’
where,
= | any valid operator (see Where for a list of valid operators) |
’(apostrophe) | delimiter |
> | Db2 shift out character |
< | Db2 shift in character |
sbcs-string | DBCS data |
dbcs-string | DBCS data |
Use the following syntax for GRPH, VGRPH, and LVGRPH strings:
=G' > dbcs-string <'
where,
= | any valid operator (see Where for a list of valid operators) |
G | constant |
’(apostrophe) | delimiter |
> | Db2 shift out character |
< | Db2 shift in character |
dbcs-string | DBCS data |
Column Name Display
If you have column names defined using DBCS characters, File-AID/RDX will display them using DBCS enclosed in shift out and shift in characters.
Types of Screens
There are several types of screens in File-AID/RDX. These screen types are defined in the following sections.
Option Selection Screen
The Option Selection screen displays a list from which you select an option by entering the appropriate character(s) in the Option field and pressing Enter. The File-AID/RDX Primary Option Menu shown in the following figure is an example of an Option Selection screen.
Option Selection Screen Example
OPTION ===>
USERID - PFHGHG0
0 PROFILE - Select, Create or Change Profiles DATE - 23/03/24
1 RELATIONSHIPS - Relationship Facilitator TIME - 13:19
2 EXTRACT - Extract from Related Objects TERMINAL - 3278
3 LOAD - Load Data Records CCSID - 01047
4 DELETE - Delete Extracted Rows from Db2 Tables and/or MVS Files
5 DATA PRIVACY - Data Privacy Menu
6 UTILITIES - Utility Functions
G GLOBAL DEFAULTS - Define User Parms
FD FADB2 - Transfer to File-AID for Db2
T TUTORIAL - Information about File-AID/Related Data XPERT
X EXIT - Exit File-AID/Related Data XPERT
Profile ===> RDXMENU RDXMENU - DISPLAY ALL OF THE MENU OPTIONS
Type ===> PFHGHG0 (SITE, USER or prefix)
(c) Copyright 1994-2023 BMC Software, Inc.
Option Information Screen
The Option Information screen enables you to specify information necessary to perform the function selected. The Db2 Relationship Facilitator screen shown in the following figure is an example of an Option Information screen.
Option Information Screen Example
Option ===> Scroll ===> CSR
SITE Profile: RDXMENU
Primary commands: menu-option, MVS Relationship Facilitator
1 BROWSE ALL - Browse all existing Relationships
2 EDIT AR - Edit existing Apllication Relationships
3 ADD AR - Add new Application Relationships
4 LIST RDX - List Db2 objects from RDX Relationship File
5 LOAD RI - Load RI Relationships from Db2 Catalog tables
6 LIST Db2 - List Db2 objects from Db2 Catalog
A ALLOCATE - Allocate Relationship File
L BATCH RI LOAD - Batch Job to Load RI Relationships
P PRINT - Print the Relationship File
Specify a Table Name or pattern:
SSID ===> DSN (* or pattern for selection list)
Location ===> (* or pattern for selection list)
Creator ===> TSOID01 (* or pattern for selection list)
Table Name ===> ORD* (* or pattern for selection list)
See Db2 Relationship Facilitator for a description of this screen example.
Scrollable Data Screen
The Scrollable Data screen shows information about multiple relationships and allows up/down scrolling. The Relationship Detail screen shown in the following figure is an example of a scrollable data display.
Scrollable Data Screen Example
COMMAND ===> SCROLL ===> CSR
Relationships for: LOCATION.FRSAMP.ORDER_TABLE
Line Commands: S - Select Relationship to Modify D - Delete Relationship
A - Add Application Relationship I - Relationship Information
Obj Rel
CMD Parent/Dependent Type Type Status
--- ---------------------------------------------- ---- ----- -----------------
_ LOCATION.FRSAMP.CUSTOMER_TABLE Db2 AR
LOCATION.FRSAMP.ORDER_TABLE Db2
_ LOCATION.FRSAMP.ORDER_TABLE Db2 RI
LOCATION.FRSAMP.ORDER_LINE_TABLE Db2 ORDLORD
_ LOCATION.FRSAMP.CUSTOMER_TABLE Db2 RI ASSOCIATED REL.
LOCATION.FRSAMP.CONTACT_TABLE Db2 CONTCUST
_ LOCATION.FRSAMP.PART_TABLE Db2 RI ASSOCIATED REL.
LOCATION.FRSAMP.ORDER_LINE_TABLE Db2 ORDLPRT
_ LOCATION.FRSAMP.PART_TABLE Db2 RI ASSOCIATED REL.
LOCATION.FRSAMP.SUPPLIER_TABLE Db2 SUPPPART
******************************* Bottom of data *************************
See Relationship Detail for a description of this screen example.
Pop-Up Windows
File-AID/RDX uses several types of pop-up windows to perform functions such as displaying a selection list and displaying detailed information about a single relationship.
Selection Pop-Up Window
The selection pop-up window displays a scrollable list of items from which you can select one or more entries. This type of window displays minimal information about the items on the list. The Table List shown in the following figure is an example of a selection pop-up window.
Selection Pop-Up Window Example
Information Display Screen
The information display screen displays information about an object or a relationship. The Relationship Information window shown in the following figure is an example of an information display screen.
Information Display Screen Example
COMMAND ===> SCROLL ===> CSR
Parent Name: LOCATION.FRSAMP.ORDER_TABLE Type: Db2
Dependent Name: LOCATION.FRSAMP.ORDER_LINE_TABLE Type: Db2
Relationship Details:
Description: RI - ORDLORD
Status: Not in Dataset
Created: User:
Last Modified User:
Parent Columns /Type(Length) Dependent Columns /Type(Length)
----------------------------------------- ------------------------------------
ORDER_NUMBER ORDER_NUM
CHAR(6) CHAR(6)
*** End Of Columns *** *** End Of Columns ***
See Relationship Information Screen for a description of this screen example.
Scrolling
When a scrollable data display or pop-up window is displayed, the information to be displayed may exceed the screen or window size. The scrolling commands enable you to move the information up or down relative to the screen or window allowing you to view all displayable data. You can scroll through the data by using the UP and DOWN commands.
UP | Causes scrolling toward the top of the data by the specified scroll amount. |
DOWN | Causes scrolling toward the bottom of the data by the specified scroll amount. |
Only the Selection Criteria screen and scrollable fields (see also Scrollable Fields for Db2 Long Names) permit left and right scrolling. You can use the LEFT and RIGHT commands to scroll through the data.
LEFT | Causes scrolling toward the first column of data by the specified amount. |
RIGHT | Causes scrolling toward the last column of data by the specified amount. |
The scrolling commands have the following syntax:
Valid scroll amounts are:
Valid Scroll Amount Values
Value | Description |
---|---|
Number from 1 to 9999 | Scroll the specified number of lines. |
PAGE | Scroll one logical page. |
HALF | Scroll half of one logical page. |
MAX | Scroll to the top or bottom of data (depending on the scroll command used). |
DATA | Scroll one logical page less one line. |
CURsor | Scroll such that the line on which the cursor is positioned moves to the top or bottom of the screen, depending on the scroll command used. If the cursor is not in the body of the data or is already on the top or bottom line of the screen, a full-page scroll occurs. |
For scrolling purposes, a “page” is defined as the amount of information currently visible on the logical screen. A pop-up window, for example, might have 10 lines of scrollable data. In this case a scroll amount of HALF would scroll 5 lines.
Scrollable fields for Db2 long names
Table and Creator names, for example, can be up to 128 characters long. File-AID/RDX supports Db2 long names and uses scrollable fields to display them on panels.
Long Name Indicator
When the complete table or creator (schema) name fits in the viewable field on a panel, the field name is followed by “===>”, but when there are more data in the field, the panel will show the “+++>” long name indicator instead. This should alert you to scroll or expand the field to view the name in its entirety. In the following figure, the long name indicator “+++>” for Table Name alerts that EMP_GENERATED_TIMESTAMP_HIDD is longer than displayed EMP_GENERATED_TIMEST.
Long Name Indicator Example
Command ===>
Specify Parent Db2 Table for Relationship Definition:
Location ===> DSNLOCAT
Creator ===> FRSAMP (* or pattern for selection list)
Table Name +++> EMP_GENERATED_TIMEST (* or pattern for selection list)
You can view the long names in two ways:
- Using the LEFT and RIGHT commands to scroll through the long name within an existing field
- Using the EXPAND command to display the long name in a separate window
The ZCLRSFLD command (PF24), introduced in z/OS 1.8, clears the contents of the scrollable field to blanks without having to EXPAND the scrollable field.
Scrollable fields are a standard ISPF feature. Refer to the “ISPF Dialog Developer’s Guide” for more information about scrollable fields.
Using the LEFT and RIGHT Commands
In order to view a long name in File-AID/RDX, use the LEFT and RIGHT commands to scroll in the field on the panel. A “Start of field” or “End of field” message displays in the upper right-hand corner of the screen, when the beginning or end of the field is reached.
Scrollable fields are not supported within dynamic display panels. The following is a list of the most commonly used dynamic display panels:
- Graphical Relationship Display
Use the KEYS command to set LEFT and RIGHT commands to a PF key (see also Assign PF Keys).
Using the EXPAND Command
The EXPAND command enables you to view a long object name in a separate window from the panel of the field. In order to view a long name, type EXPAND in the command line of the panel, move the cursor into the field to expand, and press ENTER (see the following figures for an example).
Use the KEYS command to set the EXPAND command to a PF key (see also Assign PF Keys).
EXPAND Command in Scrollable Field
Command ===> EXPAND SCROLL ===> CSR
Line Commands: A = Add Application Relationship B = Browse Relationship
E = Edit Application Relationship L = Load RI Relationships
Relation
CMD Object Name Type SSID
--- -------------------------------------- ------ ----
_ DSNLOCAN.TSOID01.ORDER_TABLE AR/RI Db28
_ DSNLOCAN.TSOID01.table_name_up_to_128_ catlg Db28
******************************* Bottom of data ********************************
EXPANDed Field