Maintaining Objects of Type Keyword

#### Search Results

Search

# Maintaining Objects of Type Keyword

The following topics are covered below:

- Keyword Maintenance Menu

- Defining Basic Attributes of Keyword

- Keyword Maintenance Functions

## Keyword Maintenance Menu

The Keyword Maintenance menu is displayed with function code M and object code KY in a Predict main menu or the command `MAINTAIN KEYWORD`.

    13:44:12             *****  P R E D I C T  *****              2007-05-31
    Plan   0                - (KY) Keyword Maintenance -                Profile HNO

     Function                              Function

     A  Add a Keyword                      D  Display Keyword
     C  Copy Keyword                       L  Link children
     M  Modify Keyword                     S  Select Keyword from list
     N  Rename Keyword                     E  Link/Unlink objects
     P  Purge Keyword

    Function .......

    Keyword ID .....                                         Attributes ....*
    Copy ID ........

    Restrictions ..*   Profile HNO,used                      Association ...*

    Command ===>
    Enter-PF1---PF2---PF3---PF4---PF5---PF6---PF7---PF8---PF9---PF10--PF11--PF12---
          Help  Next  Stop  Last  LnkEl Flip  Print Impl  AdmFi SelFi Prof  Main

Note
Parameters not listed here are described under Global Attributes.

Parameters
Function | Executes one of the functions in the Keyword Maintenance menu. Standard maintenance functions are described in the section Maintenance in the Predict Reference documentation. Functions Purge keyword and Link/Unlink objects are described below.
Copy ID | For the Copy function: the ID of the new keyword.

## Defining Basic Attributes of Keyword

The following screen is displayed for the Add/Copy/Modify Keyword function.

    13:13:45             *****  P R E D I C T  *****             2007-05-31
                                 - Add a Keyword -
    Key ID .......... HNO-KY

    Keys ..                                                                Zoom: N
    Abstract

The parameters are described under Global Attributes.

## Keyword Maintenance Functions

Standard maintenance functions are described in the section Maintenance in the Predict Reference documentation. The following functions are described below.

- Purge Keyword - Code P

- Link/Unlink Objects - Code E

### Purge Keyword - Code P

If you confirm this function with DELETE, the following are deleted:

- the keyword object

- all links to child objects

- all links from parent objects

The number of objects affected by this function is displayed.

### Link/Unlink Objects - Code E

A link between a keyword and a Predict object can be established or deleted directly using the Link/Unlink objects function. Linking or unlinking a keyword and objects is a three-step process:

1. Call the Link/Unlink objects screen by entering function code E in the Keyword Maintenance menu and specify an object type. Enter an asterisk to display a list of types for selection.

2. Enter search criteria to display a list of objects to be linked or unlinked.

3. Link or unlink objects by entering L (link) or U (unlink) in the first column.

Steps 2 and 3 are described in more detail below.

#### Step 2: Specifying Search Criteria

The search criteria depend on the type of object to which a keyword is to be linked. The criteria in the screen below apply when linking databases.

    13:37:03             *****  P R E D I C T  4.2.2  *****              2007-05-31
    Plan   0                  - Link/Unlink objects -

    Keyword ID ....... HNO-KY                             Added 2007-05-31 at 13:29
                                                             by HNO

    Link to object type ..* DA ( Database )

    Search criteria
      Database ID .........
      Type ...............*
      Database number .....
      Belongs to VM .......

    Restrictions .........*   Profile HNO,used               List option ....* A

    Enter-PF1---PF2---PF3---PF4---PF5---PF6---PF7---PF8---PF9---PF10--PF11--PF12---
          Help  Next  Stop  Last  LnkEl Flip  Print Impl  AdmFi SelFi Prof  Main

Parameters
Keyword ID | ID of the keyword to be linked.
Link to object type | Type of object to which the keyword is to be linked. Keywords can be linked to any predefined or user-defined object type.
Search criteria | These are object type dependent.
Restrictions | Restrictions can be used to limit the number of objects for selection. See Restrictions in the section Retrieval in the Predict Reference documentation.
List Option |
The range of objects to be displayed in the list can be restricted as follows:
L | only objects linked to the keyword are listed
U | only objects not linked to the keyword are listed
A | all objects meeting the rest of the criteria are listed (default)

#### Step 3: Linking or Unlinking Objects

A list of objects which meet the selection criteria is displayed. These objects can be linked or unlinked to the keyword with the following commands in the CMD column:

L | link an object
U | unlink an object

    13:27:31             *****  P R E D I C T  *****             2007-05-31
                              - Link/Unlink objects -

    Keyword ID ....... HNO-KY

     CMD L Database                         Type              P-DBnr  Vista Parm.

      _  L HNO-DA-A                         Adabas           >>> now linked <<<
      _  U HNO-DA-D                         DB2              >>> now unlinked <<<
      _    HNO-DA-M                         RMS Handler          123  Local
      _    HNO-DAX                          DB2
      _    HNO-DA1                          Adabas               134  Local
      _  L HNO-H                            Gen. SQL Handler     111  Local

Objects already linked to the keyword are marked with L in the L column.

If the parameter Stay after modify is set to Y, the message >>> now linked <<< or >>> now unlinked <<< is issued to notify successful execution of the function (as shown above).

If the parameter Stay after modify is set to N, Predict immediately displays the next page of the selection list (if any) or skips back to the previous Link/Unlink objects screen.

### On this page

- Keyword Maintenance Menu
- Defining Basic Attributes of Keyword
- Keyword Maintenance Functions