HP System Dictionary/XL General Reference Manual Vol 2 - Part 1 SDINIT (32256-90005)

page:4-
SDUPGRAD appends new attribute edit values to the edit lists of certain existing core set attributes (see
Table 1-4). The edit list of an attribute cannot exceed 256 bytes. Thus, if an attribute has a byte length of 8,
it can have up to 32 edit values. If you have added a large number of edit values to any of the attributes in
Table 1-4, some of them may have to be deleted to make room for the new core set edit values. To determine
an attribute's byte length and number of edit values, use the DISPLAY ATTRIBUTE command as
described in the HP System Dictionary SDMAIN Reference Manual.
Running With INFO='CORESET'
SDUPGRAD includes an INFO option that allows a dic tionary upgrade to be resumed after an error
condition has been encountered and corrected.
When to Use the Info Option. SDUPGRAD w ill fail if it encounters any of these conditions:
The dictionary contains structures that conflict with the new core set (SDERR 5306, 5307, 5310, or
5311).
Theadditionof the newcoreset structures wouldexceed one ofthedictionary maximums listedin Table
2-1, or would cause an attribute edit list to exceed 256 bytes (SDERR 5321, 5322, 5323, or 5325).
For each of these error conditions, the recommended action is to correct the problem and continue the
upgrade by running SDUPGRAD with INFO="CORESET" .
WARNING Do not run SDUPGRAD with IN FO="CORESET" unless you encounter one of the
errors mentioned above. Other uses of the INFO option may cause SDUPGRAD to
fail. After the failure the dictionary may only be recoverable from a backup tape.
How to Use the INFO Option. To run SDUPGRAD with the INFO="CORESET" option, enter the
command:
:RUN SDUPGRAD.PUB.SYS;INFO="CORESET"
When INFO="CORESET" is invoked, SDU PGRAD simply loads the new core set structures into the
existing dictionary database "as is." No attempt is made to expand the dictionary capacities, since this was
already done in the previous SDUPGRAD run (before it encountered the error).
INFO='CORESET' Example
The following example shows a sample SDUPGRAD sessi on using INFO="CORESET" , and upgrading a
version A.00.00 dictionary.
:RUN SDUPGRAD.PUB.SYS;INFO="CORESET"
HP System Dictionary SDUPGRAD HP32256v.uu.ff -(C) Hewlett-Packard Co. 1985
DA scope password > (Password will not be echoed to the screen)
System Dictionary Core Set Additions Begins
New edit values added to attribute CONSTANT-TYPE
New edit values added to attribute ELEMENT-TYPE
New edit values added to attribute FILE-TYPE
New edit values added to attribute IMAGE-DATABASE-TYPE
New edit values added to attribute IMAGE-DATASET-TYPE
System Dictionary Core Set Additions Ends
Core Set Attributes Added : 21
Core Set Entity Types Added : 9
Core Set Relationship Classes Added : 0
Core Set Relationship Types Added : 29
Core Set Domains Added : 0