How to: |
A join is a temporary connection between two or more data sources that share at least one common field. After you join two data sources, each time WebFOCUS retrieves a record from the first data source (host file), it also retrieves the matching records from the second data source (target file).
Advanced Graph Assistant provides a graphical method for creating and manipulating joins. You can also create define-based joins and multi-field joins.
The Please pick a target master file dialog box opens.
The Create Join dialog box opens, as shown in the following image.
For example, joining the employee ID field in an employee data source to the employee ID field in a company training data source that lists all training classes offered to employees would result in a listing of all courses taken by each employee, or a joining of the one instance of each ID in the source file to the multiple instances of that ID in the target file.
For example, joining the employee ID field in an employee data source to an employee ID field in a salary data source would result in a single instance of salary data for each employee ID.
Note: Fields from the source and target files must
have the same format and be indexed fields in order to use them
to create joins. Indexed fields are identified by the key icon.
Note: If you selected a field from the source file that does not have a matching indexed field with the same format in the target file, the message 'There were no fields found" is displayed instead of a Target Fields drop-down list.
The new join appears in the Joins list.
The Field Creator dialog box opens, as shown in the following image.
The new define field, prefixed with the function symbol icon, appears
in the Available Fields list.
If you want to delete or edit an existing define, select the define field, click the down arrow next to the define icon, and select one of the options, as shown in the following image.
Note: Fields must have the same format and be indexed fields in order to use them to create joins.
The Create Join dialog box opens.
WebFOCUS |