Dictionary/3000 Reference Manual (32244-90001)

50 Chapter3
Using the DICTDBM Commands
Using Commands to Define HP Inform/3000 Security
Depending on how Inform security is to be implemented, an Inform group or sub-group can
belong to more than one Inform class. An element can also belong to more than one
IMAGE class.
Creating Inform Classes
In the Dictionary, Inform classes are created as INFO type classes and are identified by an
integer from 0 through 9999. Use the CREATE CLASS string to create an Inform class.
Enter the identifying class number and INFO as the class type. Enter the password to be
assigned to the Inform class. If the password in the dictionary is entered in upper case
then Inform also expects the password to be entered in upper case. If the case does not
match Inform will issue an invalid password error message. Note that the Dictionary will
not prevent you from creating duplicate passwords for Inform classes. If duplicate
passwords are created, Inform will use the class belonging to the first matching password
that it finds in the Dictionary.
The remaining prompts for this command string allow you to provide useful information,
but are not required.
After an Inform class is created, you can use either the LIST or DISPLAY command to
display the entry. If you want to delete the entry from the Dictionary, use the PURGE
command. To change the entry, use either the MODIFY or the RENAME command.
Relating IMAGE Classes to Inform Classes
The hierarchical relationship between the Inform class and the IMAGE class is
established with the RELATE command. Use the RELATE CLASS string to define this
relationship. Enter the identifying number of the Inform class in response to the prompt
for PARENT CLASS. Enter the identifying number of the IMAGE class in response to the
prompt for the CHILD CLASS. The description prompt allows you to supply useful
information but is not required to define this relationship.
The relationship between the classes can be displayed by using the SHOW command. For
the Inform class, this command displays each CHILD class. For the CHILD class, this
command displays the files and elements associated with the CHILD class in the order in
which they were associated with the CHILD class. To display an alphabetized listing of
the elements associated with a CHILD class, you can use the REPORT command.
Reporting an INFO class will display "No elements found" because elements are not and
cannot be directly related to an INFO class. To display the attribute information and
related PARENT classes for a CHILD class, you can use the DISPLAY command.
The relationship between an Inform class and an IMAGE class can be deleted by using the
REMOVE CLASS command string. The description of the relationship can be changed by
using the CHANGE CLASS command string.
Adding Entities to an IMAGE Class
The association between the IMAGE classes and the different entities (databases, data
sets, elements and files) is established using either the ADD command or the SECURE
command. Remember that before Inform can access these entities, they must belong to an
IMAGE class and that IMAGE class must be related to the Inform class.