DBU 7.0 GUI USER GUIDE
DATA BASE UTILITY
This software system consists of computer software and documentation. It contains trade secrets and confidential information which are proprietary to ProData Computer Services, Inc. ("ProData"). Its use or disclosure in whole or in part without the express written permission of ProData is prohibited.
This software system is also an unpublished work protected under the copyright laws of the United States of America. If this work becomes published the following notice shall apply:
Copyright@ 1993 ProData Computer Services, Inc.
All Rights Reserved
INTRODUCTION
Welcome to ProData Computer Service's Data Base Utility 7.0 GUI documentation. DBU is a file access utility that can be used to locate and update records from a single file or as many as four different files via logical paths or relative record numbers. It can be used to access journal receivers, data areas and user spaces. You can create DBU applications to act as programs to access your data. There are thousands of ways to use DBU, and you will find new uses for DBU as you go.
This release operates on Microsoft Windows 95 and later or IBM'S Network Station with TCP/IP connectivity. The interface was developed using JAVA and the JAVA virtual machine is distributed with the software.
Minimum requirement is a Pentium III with 128M RAM.
We recommend a Pentium IV with 256M RAM for optimum performance.
DBU requires 45M of disk space.
Access to the files and features follows the standards used in the standard windows GUI interface.
The first screen that appears when DBU 7.0 is started is displayed below.
This screen is composed of the following parts:
Values for Library:
Values for Type:
To prevent this dialog box from appearing when DBU is started, un-check Show this dialog on startup in the dialog box.
Open an object
Configurations to control DBU. See the DBU Configuration topic in this document.
Exit DBU
Tool Bar – toggles the Tool Bar on/off the screen.
Status Bar - toggles the Status Bar on/off the screen.
Web Update Log - shows any errors that have occurred during a Web Update.
Turn Tracing On/Off - shows the status of the Trace log. This log may be set using the Config... on the File menu above. It is only used in the case of problem determination, by a ProData technician.
IFS Update - Execute IFS Client GUI Update.
There are two ways to execute the IFS update.
Web Update - Download a new version to DBU70 and IFS on the iSeries.
Web Update is a DBU client feature that allows the user to conveniently update DBU/iSeries and DBU/client executables from a PC. There are 3 steps to using Web Update.
Designate an update store
The update store is an IFS directory on a specified iSeries machine where DBU keeps the latest version of the DBU/client. The first system added to DBU (on startup for the very first time) is designated as the update store. The update store can be changed on the Updates tab in the Configuration dialog. IMPORTANT: To keep the DBU/client versions in synch, each DBU/client must designate the same update store.
Execute a Web Update
Execute IFS Update There are two ways to execute the IFS update.
In both cases, DBU/client compares the IFS update and the current version to determine if an update is necessary. If so, the new files are transferred to the PC and DBU shuts down. Changes take effect upon subsequent startup.
Help Topics - Brings up on line documentation for DBU 7.0 GUI.
About DBU - Shows the current installation level of DBU GUI on the PC and the information needed to contact ProData.
Open a File
DBU Configuration - See the DBU Configurations topic.
On line Help – Brings up on line documentation for DBU 7.0 GUI
Since only the files in the currently active library list may be accessed through the tree structure, the user may want to change the library list to access files. Please note that any file in any library may be accessed (except for authority exceptions), using the Open File options on the Menu Bar and Tool Bar as well as the start-up dialog box.
To change the library list, from the navigation screen below:
Right click on the system name to get the dialog box.
Move the cursor over Library List to see the options.
Click to choose one of the predetermined library lists (*LIBL *CURLIB, etc.)
**OR**
Click on Change Library List to get all of the libraries currently in the list, as shown below.
To add a library to the library list, click on
to add it.
To remove a library from the library list, click on the library in the library list then click on
to remove it.
To move the library in the library list, click on the library then use
to move the library up or down within the library list.
For DBU70 to function properly the DBU70 library must be below the QTEMP library in the library list.
Click OK to complete the library list changes that have been selected.
DBU Applications are a way of defining the way a file is to be accessed, (what logical files, fields, arrangement of fields, etc), and then saving those preferences as an application. DBU Applications must still be created through green screen DBU, but can be accessed through GUI. Right Click On the iSeries system name to get the dialog box, and then click on DBU Applications and a list of all existing DBU applications will be shown.
Click on the desired application then click on Select to run the application.
Access the DBU configuration screens from the file menu on the Menu Bar. DBU configuration allows a user to:
The top half of this window is used to add/edit/delete other iSeries systems to the DBU screen.
To add a system, click on Add, and the following pop-up window will appear.
It may be necessary to get the IP or Host Name from the System Administrator. The Descriptive Name is whatever the user wants it to be, so long as it is meaningful.
To edit or delete, first click on the desired system to be worked on and then click on Edit or Delete. A pop-up window will allow the user to edit.
After editing click on the Add button to confirm the changes.
The bottom half of the window configures the defaults and controls the DBU updates.
Click on the Defaults tab to set up default values for DBU.
See the following table for configuration information.
|
Format |
Determines whether the screen comes up in single or multiple mode. If *DBUAUT is left as the default, the system checks the DBU authority file to determine whether it is single or multiple format which is used. |
|
Mode |
Determines if the screen comes up in Add, Change or Display mode. If *DBUAUT is left as the default, the system checks the DBU authority file to determine what Mode is used. |
|
Records To Display |
DBU uses this number to determine how many records to display at a time in multiple record mode. The max number is 50. |
|
Print Audit Log |
DBU has the ability to print a log of all operations performed to the file in DBU. This option can be turned off here, or the option can be controlled by the DBU Authority file. |
|
View Tool Bar |
This is a toggle to remove or add the Tool Bar to the Navigation Screen. |
|
View Status |
This is a toggle to remove or add the Status Bar at the bottom of the Navigation Screen. |
|
Trace ON |
This is a toggle to start tracing the GUI statements if there is an error. Most generally the user will not use this unless directed to by a technician. |
Click on the Updates tab to name the system to which updates will be downloaded.
If only one system has been defined, the Store update on box will not be active, and the value in it cannot be changed. In the preceding figure, the Store update on box is “grayed out” because only one system has been configured for DBU. With multiple systems configured, Store update on can be opened as a drop down box where a user can select the system where the updates from the DBU downloaded file, will be stored. This is important, because if there are multiple users in the shop, then only the first person needs to download the updates. The rest will be automatically updated from the IFS if the Check IFS for update on startup box is checked.
Click on the JD Edwards tab to configure for J.D. Edwards data conversion.
Click on the J.D. Edwards format check box to enable. Then use the Environment pull down box to select the desired J.D. Edwards environment. Click on OK to apply.
To access a file (or any of the other objects that DBU can access) through the tree structure, click on the + sign beside any system name on the Navigation Screen. All the libraries on that system, which the user has authority to, will be listed. Click on the + sign besides any library and all the objects that are accessible by DBU will be listed.
In this case DBU70 was selected and all the various objects which can be accessed by DBU appear under the library. Clicking on the + sign at this level will bring up all the objects of that particular type, as shown above. Or click on the folder and all the objects of that type will appear on the right frame.
From here right click on the file name and select Edit
*or*
click on the + sign on the object level to bring up the various information that can be accessed for each file. This second option is shown below.
As an example of working with a file, right click on file name DBPDEMO then click on Edit.
The file is now ready to work with.
After successfully finding the desired file, the initial DBU Screen will appear. For documentation purposes, five major sections of the screen below have been identified.
Header
Menu Bar
Tool Bar
Tab Panel
Record Display Area
This area denotes the Session number, System name, Library name, File name, Member name and Format name being accessed.
Close all – Will close all open DBU sessions
Position To…
This is valid for logical files only. Shows all keys on the logical file and sets DBU to point at the beginning of a specific key. Fill in the key(s) press OK. The file will be positioned at that key, or the next higher key if that key does not exist.
RDR – Retrieve Deleted Records
"RDR" is a toggle switch to set 'on' or 'off' the displaying of deleted records as they are encountered in the file. The records that are deleted appear highlighted in yellow as they are encountered. There will be a Reactivate button on the bottom of the screen; click on it and the record will be reactivated, and the next record in the file will be displayed. RDR is only valid if the file is a physical that is not keyed.
Config…
Configure DBU. See the DBU Configuration topic in this document.
Click on Print and the following dialog box appears. PC printer selections will be printed on the user’s default printer. For iSeries/AS400 selections the print out of the record goes to the OUTQ defined by the user job, or can be overridden to the OUTQ defined in DBU authority. When printing to a PC while in multiple record format mode, the number of records printed will be equal to the Records to display value selected in DBU Configuration.
Exit – Exits from the current DBU session
Use Copy and Paste just as in other windows applications to duplicate data.
The Toolbar and Status bar are toggle switches which allow the tool bar and the status bar (message bar at the bottom of the screen) to be removed from or restored to the screen.
Preferences… - Controls the layout of the screen fields, and the reading of the formats (see DBU Preferences below)
Single/Multiple - The screen may be toggled between Single or Multiple record mode
Character/Hex - The records displayed may be toggled between Character or Hexadecimal format
DBU Preferences
Fields Preferences
The Fields Preference allows the user to:
There are 3 pull down boxes at the top of the window
Text – the text of the field
Field Name – the field name
Both – in single record format only, the text description and the field name are both displayed
Alias – a name the user creates
The next portion of the window is used to make changes to the ways fields are presented and handled on the screen. All the fields in the file are initially shown.
Text - text defined for the field in DDS.
Field Name - name of the field as described in DDS. To move a field from its current position on the screen, click on the field and use the Up/Down keys to position the field on the screen.
Key Sequence - shows the keys in the file, numbered from 1 (highest key) to nth (lowest key).
Select - is a toggle to either select a field for the screen, or to not show the field on the screen.
Display Only - is a toggle to select whether a field may be updated or not.
Auto Dup - is a toggle to select whether this field may be duped using the dup key.
Upper Case - is a toggle to select whether only upper case characters may be keyed, or whether mixed case characters are allowed.
The rest of the fields are definition only:
Type - defines the field type, whether numeric, alpha, etc.
Length - the length of field.
Dec - if a numeric field, this is the decimal positions.
Loc - position in the file of the starting character of the field.
When all the desired changes have been made, click OK to apply the changes.
Sequencing the fields on the screen.
To arrange the fields on the screen in a different order, select the field by clicking on it and then use the up and down arrows to move the field to another position.
Import
Use the Import button to define a DBU application which will allow the user to work with a file that is not externally described as though it is externally described. Select Source File to pull the field descriptions from an RPG source file. An RPG program must exist which has “I” specs defining the file. Select Physical File to pull the field descriptions from an existing physical file.
Import – Source File selected
Checked – DBU will present the file on the screen as though it was externally defined by the “I” specs. The original layout will not be presented. All applicable DBU operations can be performed.
Not Checked – DBU will present the fields defined in the "I" specs after the file defined fields. This works as a data structure but the data will be presented twice. Updating either the original data field or the imported fields will update the file. All applicable DBU operations can be performed.
Import – Physical File selected
With this function a physical file description can be used to separate data in a data area into fields.
Export
Use the Export button to create/change the physical file member in a source file from the fields selected on the field selection screen. The fields will be ordered by the sequence number on the field selection screen. If no fields are selected, all fields will be copied. This may be used two ways:
1. Create source specs for an S/36 described file.
2. Create new source member for an existing externally described file
Caution: The default source member name is the file name of the externally described file. If using this method, change the source member name and/or the source and library name or the original physical file specification will be replaced
*SAME - do not change the text on an existing member.
Text - either change text on an existing member or define text for a new member. Text will not carry to new member if it is being created from an existing member.
Create Field
The Create Field button can be used two ways:
Click on the Create Field button and the following screen appears.
Fill in the boxes:
When all the boxes are filled in, press Add, and the new field will appear at the top of the Preferences screen. Create as many fields as desired. New fields will appear in order as they are created and will have a * in the field type to identify which are the created fields. The new fields can then be selected for a DBU application and all applicable DBU operations will apply. Fields are created for applications only. The source member of the physical file will not change.
Remove Field
The Remove Field button will work only for fields that have been created using the Create Field button. If no fields have been created the Remove Field button will be inactive. To remove a field, click on the field to be removed to highlight it and make the Remove Field button active, then click on Remove Field.
Sort Keys
The Sort Keys button is used with keyed physical and logical files. Pressing Sort Keys will reorder the displayed fields, placing the keyed fields at the top in key sequence order.
Headings Preferences
The Headings preference displays the column headings for each field.
Formats Preferences
The Formats preference allows the user to select which format(s) of a multiple format logical file is to be worked with. Select the option wanted, and press the OK button to return to the DBU process.
This defines the action that is to be taken on the records in the file. The modes are Display, Edit, Add, Delete and Refresh. When Display, Edit or Add is chosen, the screen remains in that mode until changed. Delete functions only in single record format.
The parameters used to execute a search or a search/replace are defined on this screen. A subset of the data matching the search criteria can also be created.
Define Search – sets up the parameters to search/replace
Search – continues the Search function which has already been initiated in the 'Define Search'
Close Subset - Closes the file subset, if one was created in the Search function
Define Search
The parameters used to execute a search or a search/replace are defined on the following screen.
There are three parts to this screen.
Search - The top section of this screen is used to define the parameters to find the data
Replace - Defines the parameters to be used to update the file
Search Control - Parameters to control other aspects of the Search
SEARCH FUNCTION
Press Add, and the Search Entry dialog box appears.
Fill out the parameters and press OK. The Search/Replace screen will now contain this information. Continue adding selections, as wanted. Then press Search to find the record. The search will begin using the current record displayed on the screen. If the current record is one that has already been found using the search criteria, the search begins with the next record in the file.
The fields for this Dialog Box are defined below:
Operator - The user may have a multiple argument search to group or string the search criteria together.
Field Name - A Relative Record Number, a Range, Entire Record or a Field Name can be searched on. Combinations of the four may also be used.
e.g.
e.g.
e.g.
From - Enter numerical starting position in the record. This is only if *STRPOS is requested.
To - Enter numerical ending position in the record. This is only if *STRPOS is requested.
Operation - User has a choice of logical expressions to apply to search parameters:
Value - The use of the Values parameter, gives the user almost unlimited ways of searching/replacing. Values are as below:
REPLACE FUNCTION
The middle part of the Search/Replace screen prompts the user to define the parameters used to make a replace to any records satisfying the search parameters defined in the top (search) half of the Search/Replace screen.
Click on Add to bring up the Replace Entry dialog box.
Field Name - From the drop down box choose one of the following.
From - Enter numerical starting position of desired character string in the record, if range is requested.
To - Enter numerical ending position of desired character string in the record, if range is requested.
Value - User has option of what type of data is to be placed into field or character string to be changed.
After all the Search and/or Replace parameters are filled out, the search is performed by clicking on the Search button. The search can be further controlled by using the additional parameters on the bottom of the search screen.
SEARCH CONTROL
The search is controlled by the bottom parameters of the Search/Replace screen.
Next causes the search to search forward through the file. The next record to satisfy the search criteria is displayed. If a replace is defined, a Dialog Box
to initiate the replace function is displayed. Replace will change only the displayed record and then the search automatically continues from that record. Skip will continue the search without updating the record. Cancel returns the user to the primary DBU screen.
All causes the search to search forward through the file. If used in conjunction with the replace function, all records which satisfy the search criteria will have the replace function performed without presenting any of the records back to the screen. USE WITH CAUTION.
Previous causes the search to search backward through the file. The next previous record to satisfy the search criteria is displayed. If a replace is defined, a Dialog Box to initiate the replace function is displayed. Replace will change only the displayed record and then the search automatically continues backward from that record. Skip will continue the search without updating the record. Cancel returns the user to the primary DBU screen.
To create a subset of the data in a separate file, choose Output results to iSeries file or Output results to PC file before searching. To go back to the original search screen, click on Search on the Menu Bar, and then Define Search. De-select the Create subset of records, and click on Search again. The original screen will be returned.
Print Record - Click on Print Record and the following dialog box appears. PC printer selections will be printed on the user’s default printer. For iSeries/AS400 selections the print out of the record goes to the OUTQ defined by the user job, or can be overridden to the OUTQ defined in DBU authority. When printing to a PC while in multiple record format mode, the number of records printed will be equal to the Records to display value selected in DBU Configuration.
Create Desktop Icon – Use this to open a file in DBU7.0 immediately from the desk top, or start a DBU 7.0 application from the desktop. The application must first be created using a DBU 7.0 “Green Screen” session on the iSeries.
For opening a file in DBU from the desktop
For starting an application from the desktop
Export to PC – Export data to a PC file
Click on OK to create and export the file to the PC.
Online Help - Brings up on line documentation for DBU 7.0 GUI.
About DBU - Shows the current installation level of DBU GUI on the PC and the information needed to contact ProData.
Many of the functions on the Menu Bar are also on the Tool Bar. But there are actions that are taken using the tool bar that are not on the Menu Bar.
RRN
This field displays the relative record number of the record on the screen. It also can be used to position the file to a certain record number. This is valid only if the file is in arrival sequence, and not a keyed physical or logical file. Enter the RRN of the record to search for, and press Enter.
Position To…
This is valid for logical files only. Shows all keys on the logical file and sets DBU to point at the beginning of a specific key. Fill in the key(s) press OK. The file will be positioned at that key, or the next higher key if that key does not exist.
RDR Toggle
RDR is a toggle switch to set 'on' or 'off' the displaying of deleted records as they are encountered in the file. The records that have been deleted are highlighted in yellow as they are encountered. There will be a 'reactivate button' on the bottom of the screen, click on it and the record will be reactivated, and the next record in the file will be displayed. RDR is only valid if the file is a physical that is not keyed.
Config…
This will display the DBU Configuration window. See the DBU Configuration section in this document.
First Record
Position the display to the first record in the file.
Previous Record
Position the display to the next previous record in the file.
Refresh
Refresh is used in Edit Mode to restore the screen to its previous content. e.g. A field is keyed into, but Enter has not been pressed. Refresh will return the screen to its original content.
Next Record
Position the display to the next record in the file.
Last Record
Position the display to the last record in the file.
Display Mode
This puts the file in Display mode. No updates or deletes can be performed.
Edit Mode
This puts the file in Edit mode. If a field is marked for display only it cannot be edited. Click on the field to be changed, key over the data and press Enter. Note that the Update button at the bottom of the screen is now active. If any other fields are to be changed, do so now. Click on the Cancel button to return all the changed fields back to their original values. Click on the Update button to save the changes. Update also positions to the next record in the file.
Add Mode
This puts the file in Add mode. The field names are shown but the data fields are empty. Key in the data for the first record and press Enter. Note that the Update button at the bottom of the screen is now active. Enter data into the remaining fields. Click on the Update button to add the record to the file. Click on the Cancel button to clear all of the fields at once.
Delete
This puts the file in Delete mode. A “Delete current record?” warning window will be displayed. No other DBU functions will work until a “Yes” or “No” answer is selected or the window is closed.
Preferences…
This controls the layout of the screen fields, and the reading of the formats (see DBU Preferences).
Single/Multiple Toggle
This option allows the user to Toggle between single record mode and multiple record mode.
Character/Hex Toggle
The records displayed may be toggled between Character or Hexadecimal format.
Define Search
This sets up the parameters to search/replace. See DBU Menu Bar – Search.
Search
(not active)
(active)
This continues the Search function which has already been initiated in the 'Define Search'. This will not be active (see right icon, above) until a search has been defined.
Click on Print and the following dialog box appears. PC printer selections will be printed on the user’s default printer. For iSeries/AS400 selections the print out of the record goes to the OUTQ defined by the user job, or can be overridden to the OUTQ defined in DBU authority. When printing to a PC while in multiple record format mode, the number of records printed will be equal to the Records to display value selected in DBU Configuration.
Help
This brings up on line documentation for DBU 7.0 GUI.
This bar works with file level attributes.
Data
Data displays all the field names along with the data in the fields.
Fields
Fields displays the file layout. The keys to the file, if any, are highlighted in yellow.
Relations
Data Base Relations are displayed. All of the access paths built over the physical file are listed. Left double clicking on the file name will bring up that file member, replacing the file in session.
Members
Members displays all the information on the members in the file. Left double clicking on the file name will bring up that file, replacing the file in session.
Formats
Formats displays all the information on the formats in the file. Left double clicking on the file name will bring up that file, replacing the file format in session.