Viewing and updating segment prefix in the Segment Prefix Dump panel

Use the Segment Prefix Dump panel to update the segment prefix that is shown in dump format.

About this task

This panel is another panel where you can update the segment prefix. On the Segment Prefix panel, the prefix is already formatted, making it easier to update. However, the Segment Prefix Dump panel can include some bytes of the prefix that are not in the formatted version. Depending on your needs, you might prefer to use the Segment Prefix Dump panel.

Procedure

Select option P in the Segment Prefix panel to display the Segment Prefix Dump panel.

The first few lines on this panel provide information that identifies the database, data set, and segment. The lower part of the panel consists of the prefix that is displayed in hex format. A ruler (Ofst 0...2...) helps you locate the information. The segment prefix is displayed below the ruler. You can modify the prefix by overwriting the data that is displayed in this section. Exercise caution when you do so. Press Enter to accept your changes.

Figure 1. Segment Prefix Dump panel
                              Segment Prefix Dump                  
 Command ===>

 Update highlighted fields, ENTER to commit changes in DB. END to exit
 
 DBD: SMPORDP1  DSG: 01    DBORG: HIDAM   DSORG: OSAM     Blk addr: X'2000'
 DS name: IDL.DB.SMPORD1P.HIDAM.OSAM.0100

 SC : 01  Name: SMP00210  RBA: 00002004  Offset: 0004  Length: 46
 Key: 0000000001

 Ofst  0.1.2.3. 4.5.6.7. 8.9.A.B. C.D.E.F.  0.1.2.3. 4.5.6.7. 8.9.A.B. C.D.E.F.
 0000           01000000 00000000 21860000  00000000 00000000 00000000 00000000 
 0020  00000000 00000000 00000000 00000000  0000                                
 ******************************* Bottom of data *******************************

This panel contains the following fields:

DBD
The name of the database, or for a partitioned database, the name of the partition.
DSG
The data set group number or, for a DEDB, the area number.
DBORG
The database organization type.
DSORG
The organization type of the data set.
Blk addr or CI addr
The address of the block or control interval.
DS name
The name of the data set.
SC
The segment code.
Name
The segment name.
RBA
The relative byte address of the segment.
Offset
The offset of the prefix from the beginning of the block or control interval.
Length
The length of the prefix.
Key
The key that is used to access the segment.

What to do next

Use PF3 to return to previous menus.
Important: Be sure to run the Pointer Checker utility after you change data or pointers. If errors are found, restart IMS Database Repair Facility and immediately select option 3. Undo changes from the Main menu. The changes that you made are recorded in the Undo file until you select option 2. View/Update database the next time.