Viewing and updating block or CI data in the Block/CI data panel

Use the Block/CI data panel to display the block or control interval (CI) and to modify the database.

Procedure

Access this panel from the Segment Prefix panel (option C), or from the Initial selection panel by specifying a block or CI number in the Blk # field or the CI # field, or by specifying an RBA that does not point to a valid segment code.

The Block/CI data panel has an option to show the same block in character and hex format. The character format is easier to read. The hex format is more compact, but more difficult to read.

The first few lines on this panel provide information that identifies the database and data set. The lower part of the panel consists of the block or control interval. A ruler (Ofst 0...2...) helps you to read the pointers and data. Offset indicates the location of the data from the beginning of the block. The data is displayed below the ruler. You can overwrite the pointers and data. Press Enter to accept your changes.

Attention:
  • Follow the rules for specifying keys that are described in Rules for specifying keys.
  • Use extreme caution when you change keys on this panel. No check is made to see whether a key is being altered.
Figure 1. Block/CI data panel in hex format
                                  Block data               
 Option ===>                                                                        

 S Show data in characters.  END to exit                       
 Update highlighted fields, then ENTER to commit changes in DB.

 DBD: SMPORDP1  DSG: 01    DBORG: HIDAM   DSORG: OSAM     Blk addr: X'2000'
 DS name: IDL.DB.SMPORD1P.HIDAM.OSAM

 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  0F180000 01000000 00000000 21860000  00000000 00000000 00000000 00000000 
 0020  00000000 00000000 00000000 00000000  0000F0F0 F0F0F0F0 F0F0F0F1 40E3C5E2 
 0040  E340C4C1 E3C140F0 F0F0F0F1 40404040  40404040 40404040 40404040 40404040 
 0060  40404040 40404040 40404040 40404040  40404000 00000000 01008800 0E000040 
 0080  4CC9D5C6 D6D9D4C1 E3C9D6D5 6E404040  4040C7D3 D6C24040 40404040 40404040 
 00A0  40404040 40404040 40404040 40404040  40404040 40404040 40404040 40404040 
 00C0  40404040 40404040 40404040 40404040  40404040 40404040 40404040 40404040 
  .
  .
Figure 2. Block/CI data panel in character and hexadecimal format
                                  Block data                
 Option ===>                                                                        

 S Show data in hex.  END to exit                              
 Update highlighted fields, then ENTER to commit changes in DB.

 DBD: SMPORDP1  DSG: 01    DBORG: HIDAM   DSORG: OSAM     Blk addr: X'2000'
 DS name: IDL.DB.SMPORD1P.HIDAM.OSAM

 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  . .      .                 . f                                          
       0F180000 01000000 00000000 21860000  00000000 00000000 00000000 00000000
 0020                                           0 0  0 0 0 0  0 0 0 1    T E S 
       00000000 00000000 00000000 00000000  0000F0F0 F0F0F0F0 F0F0F0F1 40E3C5E2
 0040  T   D A  T A   0  0 0 0 1                                               
       E340C4C1 E3C140F0 F0F0F0F1 40404040  40404040 40404040 40404040 40404040
 0060                                                         .   h    .       
       40404040 40404040 40404040 40404040  40404000 00000000 01008800 0E000040
 0080  < I N F  O R M A  T I O N  >             G L  O B                       
       4CC9D5C6 D6D9D4C1 E3C9D6D5 6E404040  4040C7D3 D6C24040 40404040 40404040
 00A0                                                                          
       40404040 40404040 40404040 40404040  40404040 40404040 40404040 40404040
 00C0                                                                          
       40404040 40404040 40404040 40404040  40404040 40404040 40404040 40404040
  .
  .

This panel contains the following fields:

Option
Enter an S to switch between the hex-only format and character and hex format.
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 block address or control interval address.
DS name
The name of the data set.

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.