This document covers the following topics:
If you enter the command SEL in a link editor, Predict retrieval functionality is available for adding objects to the link list. Perform the following steps.
Enter SEL in the command field of the link editor to call a selection menu.
> SEL > + PR: HNO-PR1 L: 1 S: 2 ALL Program Type Member Library -------------------------------- ---- -------- -------- HNO-PR1 P ARH-PR-TEST-TYPE-A P ARH-PARA ARH2 ARH-PR-TEST-TYPE-C C ARH-COPY ARH-PR-TEST-1 P ARH-PR ARH1 |
Enter a retrieval type in the selection menu. You can also enter additional search criteria and restrictions to limit the scope of the selection. See example below.
If only one object meets the parameters specified, this object is automatically added to the link list and marked with < inserted. If several objects meet the parameters specified, these are displayed for selection. Mark the objects you wish to include in the link list with /, S or X.
Note:
This function also enables you to add tasks to the workplan. Enter
an asterisk in the Cmd column to display a list of commands valid for the
current object for selection. See also Using the
Workplan.
Enter a period (.) in the field at the bottom of the Cmd column to return to the link list. Newly added objects are marked < inserted.
> CAT > + PR: HNO-PR1 L: 1 S: 6 ALL Program Type Member Library -------------------------------- ---- -------- -------- HNO-PR1 P ARH-PR-TEST-TYPE-A P ARH-PARA ARH2 ARH-PR-TEST-TYPE-C C ARH-COPY ARH-PR-TEST-1 P ARH-PR ARH1 ARH-PR-TEST-2 J ARH-PR2 ARH2 < inserted ARH-PR-TEST-3 P ARH-PR3 < inserted |
Enter CAT in the command field of the link editor to store the new link list.
The following screen appears if you enter the SEL command in the Program list editor for association Uses PR concept. :
10:04:23 ***** P R E D I C T ***** 2007-05-31 Plan 0 - Program Selection Menu - Profile HNO Program ID ......... HNO-PR1 Added 2007-05-31 at 10:03 by HNO Select object type .............. PR ( Program ) Retrieval type .....* D Output mode ........* S Select Search criteria Program ID ........ Program of type * Belongs to SY ..... Language .......* Member ............ User system Fnr . Library ........... User system DBnr. Restrictions .......* Profile HNO ,empty Association ....* |
Parameters | ||||||||
---|---|---|---|---|---|---|---|---|
Program ID | ID of the Program processed with the function Link children. This field cannot be modified. | |||||||
Select object type | Child object type. This value is specified with the function Link children and cannot be modified here. | |||||||
Retrieval type |
The valid retrieval types depend on the object type. For object type Program, for example, the following types are possible. |
|||||||
|
||||||||
Note: |
||||||||
Output mode | Output mode is always Select. This field cannot be modified. | |||||||
Search criteria | Depending on the object type, the selection can be limited by
additional parameters. For example: the following additional search criteria
are offered for object type Program: Program ID, Belongs to SY, Member,
Library, Program of type, Language, User system Fnr/DBnr. See Selection criteria in the section Retrieval in the Predict Reference documentation. |
|||||||
Restrictions | See Restrictions. | |||||||
Association | Only valid for retrieval types Objects with no parent, Objects with no child. These retrieval types are described in the section Standard Retrieval Types in the Predict Reference documentation. |