IMS data panel

This panel is displayed in the Browse and Edit dialogs after you have specified a starting position within the database on the Database Positioning or Key Specification panel.

The panel title includes the dialog type (Browse or Edit) and the database name. The panel displays data in the IMS database from the specified starting position. When you are in the Edit dialog, the panel allows you to update the data.

IMS data can be displayed in CHAR, HEX, LHEX, TABL, or SNGL format. IMS data panel - CHAR format through IMS data panel - SNGL format show the panel with the data in each of these formats.

Panel and field definitions

Figure 1. IMS data panel - CHAR format
 Process   Options   Help
────────────────────────────────────────────────────────────────────────────────
 FM/IMS                        Edit : IMS Database DJ1E
    CHKPID FM000001 Autosave OFF SHOW SUP ON  Scope DB  Col 1       Format CHAR
 Cmd Level Segment   ----+----1----+----2----+----3----+----4----+----5---
                     ****   Top of window   ****
     1     SHIRE     DENMARK             130500244.h.....g/..............
      2    SHIRENP   ...........
      2    LINKSUB   DENMARK
      2    LINKSUB   DENMARK SHIRE
      2    LINKSUB   GOLDEN HILL
      2    LINKSUB   HAZELVALE
      2    LINKSUB   KENT RIVER
      2    LINKSUB   KENTDALE
      2    LINKSUB   KENTON
      2    LINKSUB   KORDABUP
      2    LINKSUB   MOUNT SHADFORTH
      2    LINKSUB   PARRY INLET
      2    LINKSUB   PARRYVILLE
      2    LINKSUB   PEACEFUL BAY
      2    LINKSUB   QUARRAM
 Command ===>                                                       Scroll CSR 
  F1=Help      F2=Format    F3=Exit      F4=CRetriev  F5=RFind     F6=RChange
  F7=Up        F8=Down      F9=Swap     F10=Left     F11=Right    F12=Cancel
Figure 2. IMS data panel - HEX format
 Process   Options   Help
────────────────────────────────────────────────────────────────────────────────
 FM/IMS                        Edit : IMS Database DJ1E
    CHKPID FM000001 Autosave OFF SHOW SUP ON  Scope DB  Col 1       Format HEX 
 Cmd Level Segment   ----+----1----+----2----+----3----+----4----+----5---
                     ****   Top of window   ****
     1     SHIRE     DENMARK             130500244.h.....g/..............
                     CCDDCDD4444444444444FFFFFFFFF180003386002323232323234
                     45541920000000000000130500244880666171C0043243C001C10
                     ----+----1----+----2----+----3----+----4----+----5---

      2    SHIRENP   ...........
                     21490764650
                     2B2E012451C
                     ----+----1-

      2    LINKSUB   DENMARK
                     CCDDCDD44444444444
                     455419200000000000
                     ----+----1----+---

 Command ===>                                                       Scroll CSR 
  F1=Help      F2=Format    F3=Exit      F4=CRetriev  F5=RFind     F6=RChange
  F7=Up        F8=Down      F9=Swap     F10=Left     F11=Right    F12=Cancel
Figure 3. IMS data panel - LHEX format
 Process   Options   Help
────────────────────────────────────────────────────────────────────────────────
 FM/IMS                        Edit : IMS Database DJ1E
    CHKPID FM000001 Autosave OFF SHOW SUP ON  Scope DB  Col 1       Format LHEX
 Cmd Level Segment    - - - - + - - - - 1 - - - - + - - - - 2 - - - - + - - - -
                     ****   Top of window   ****
     1     SHIRE     C4C5D5D4C1D9D240404040404040404040404040F1F3F0F5F0F0F2F4F4
      2    SHIRENP   221B429E0071624465510C
      2    LINKSUB   C4C5D5D4C1D9D24040404040404040404040
      2    LINKSUB   C4C5D5D4C1D9D240E2C8C9D9C54040404040
      2    LINKSUB   C7D6D3C4C5D540C8C9D3D340404040404040
      2    LINKSUB   C8C1E9C5D3E5C1D3C5404040404040404040
      2    LINKSUB   D2C5D5E340D9C9E5C5D94040404040404040
      2    LINKSUB   D2C5D5E3C4C1D3C540404040404040404040
      2    LINKSUB   D2C5D5E3D6D5404040404040404040404040
      2    LINKSUB   D2D6D9C4C1C2E4D740404040404040404040
      2    LINKSUB   D4D6E4D5E340E2C8C1C4C6D6D9E3C8404040
      2    LINKSUB   D7C1D9D9E840C9D5D3C5E340404040404040
      2    LINKSUB   D7C1D9D9E8E5C9D3D3C54040404040404040
      2    LINKSUB   D7C5C1C3C5C6E4D340C2C1E8404040404040
      2    LINKSUB   D8E4C1D9D9C1D44040404040404040404040
Command ===>                                                       Scroll CSR 
  F1=Help      F2=Format    F3=Exit      F4=CRetriev  F5=RFind     F6=RChange
  F7=Up        F8=Down      F9=Swap     F10=Left     F11=Right    F12=Cancel
Figure 4. IMS data panel - TABL format with SHOW SUP ON
 Process   Options   Help
────────────────────────────────────────────────────────────────────────────────
 FM/IMS                        Edit : IMS Database DJ1E
                CHKPID FM000001 Autosave OFF SHOW SUP ON  Scope DB  Format TABL
                     SHIRE-NAME           SHIRE-TYPE SHIRE-CODE1 SHIRE-CODE2
 Cmd Level Segment   #3                   #4                  #5          #6
                     AN 1:20              AN 21:1        ZD 22:3     ZD 25:5
                     <---+----1----+----> -                 <-->      <---+>
                     ****   Top of window   ****
     1     SHIRE     DENMARK              1                  305         244
      2    SHIRENP   No key
      2    LINKSUB   Key=DENMARK
      2    LINKSUB   Key=DENMARK SHIRE
      2    LINKSUB   Key=GOLDEN HILL
      2    LINKSUB   Key=HAZELVALE
      2    LINKSUB   Key=KENT RIVER
      2    LINKSUB   Key=KENTDALE
      2    LINKSUB   Key=KENTON
      2    LINKSUB   Key=KORDABUP
      2    LINKSUB   Key=MOUNT SHADFORTH
      2    LINKSUB   Key=PARRY INLET
 Command ===>                                                       Scroll CSR 
  F1=Help      F2=Format    F3=Exit      F4=CRetriev  F5=RFind     F6=RChange
  F7=Up        F8=Down      F9=Swap     F10=Left     F11=Right    F12=Cancel
Figure 5. IMS data panel - TABL format with SHOW SUP OFF
 Process   Options   Help
────────────────────────────────────────────────────────────────────────────────
 FM/IMS                        Edit : IMS Database DJ1E
                CHKPID FM000001 Autosave OFF SHOW SUP OFF Scope DB  Format TABL
                     SHIRE-NAME           SHIRE-TYPE SHIRE-CODE1 SHIRE-CODE2
 Cmd Level Segment   #3                   #4                  #5          #6
                     AN 1:20              AN 21:1        ZD 22:3     ZD 25:5
                     <---+----1----+----> -                 <-->      <---+>
                     ****   Top of window   ****
     1     SHIRE     DENMARK              1                  305         244
      2    SHIRENP   1 segment
      2    LINKSUB   18 segments
     1     SHIRE     Key=ESPERANCE                      Layout=SHIRE
      2    SHIRENP   1 segment
      2    LINKSUB   22 segments
     1     SHIRE     Key=EXMOUTH                        Layout=SHIRE
      2    SHIRENP   1 segment
      2    LINKSUB   2 segments
     1     SHIRE     Key=FREMANTLE                      Layout=SHIRE-CITY
      2    SHIRENP   1 segment
      2    LINKSUB   9 segments
     1     SHIRE     KALGOORLIE           1                  605           0
      2     SHIRENP   1 segment
 Command ===>                                                       Scroll CSR 
  F1=Help      F2=Format    F3=Exit      F4=CRetriev  F5=RFind     F6=RChange
  F7=Up        F8=Down      F9=Swap     F10=Left     F11=Right    F12=Cancel
Figure 6. IMS data panel - SNGL format
 Process   Options   Help
────────────────────────────────────────────────────────────────────────────────
 FM/IMS                        Edit : IMS Database DJ1E
                CHKPID FM000001 Autosave OFF SHOW SUP ON  Scope DB  Format SNGL
 Segment  SHIRE                      Level: 1
 Concatenated key value:  DENMARK
                                                      Top Line is 1    of 9
 Current 01: SHIRE-TOWN
 Ref Field         Typ  Len   Data
   3 SHIRE-NAME    AN    20 K DENMARK
   4 SHIRE-TYPE    AN     1   1
   5 SHIRE-CODE1   ZD     3    305
   6 SHIRE-CODE2   ZD     5      244
   7 SHIRE-YEAR    BI     2     6280
   8 SHIRE-BRICK   PD     8       606363187610
   9 SHIRE-WOODEN  PD     8      2034233224332
  10 SHIRE-SCHOOL  PD     4    3020312
  11 SHIRE-GOLF    BI     2    12608
 ***  End of record  ***


 Command ===>                                                       Scroll CSR 
  F1=Help      F2=Format    F3=Exit      F4=CRetriev  F5=RFind     F6=RChange
  F7=Up        F8=Down      F9=Swap     F10=Left     F11=Right    F12=Cancel

Fields in Header area:

Title
The title of the panel; includes the name of the database that you are browsing or editing.
CHKPID
(Edit only) The checkpoint ID of the last checkpoint taken.
Autosave
(Edit only) The current setting of the Autosave option:
ON
The FM/IMS automatic checkpoint facility is turned on.
OFF
The FM/IMS automatic checkpoint facility is turned off.
To change this setting during an Edit session, use the AUTOSAVE primary command.

To change the initial setting for an Edit session, select or deselect the Set AUTOSAVE ON option on the DLI Mode Options panel (option 0.6.4) or the BMP Mode Options panel (option 0.7.2).

SHOW SUP
(Only when using a view) The current setting of the SHOW SUP option. The setting affects the display of suppressed segments when in CHAR, HEX, LHEX, and TABL format:
ON
There is one line for each suppressed segment occurrence. When in CHAR, HEX or LHEX display format, the data of suppressed segments is displayed in the data area just as it is for nonsuppressed segments. When in TABL format, the key of the suppressed segment is displayed in the data area.
OFF
The data of suppressed segments is not displayed. Suppressed segment occurrences are grouped together and are represented by shadow lines. When a shadow line represents just one segment occurrence, the key of the segment occurrence is displayed in the data area. When a shadow line represents more than one segment occurrence, the number of segment occurrences the shadow line represents is displayed in the data area. When more than one segment layout has been specified for a segment type, the layout of the suppressed segments is also displayed on the shadow line.
To change the setting during an Edit session, use the SHOW SUP primary command.

To change the initial setting for an Edit session, select or deselect the Set SHOW SUP ON option on the Editor Options panel (option 0.5).

Scope
The current setting of the scope option. The scope is the range over which:
  • Commands operate
  • Segments are retrieved for display
Scope can have the following values:
DB
The scope is the entire database.
REC
The scope is restricted to the current database record.

To change the setting during an Edit session, use the SCOPE primary command.

To change the initial setting for an Edit sessions, select or deselect the Set SCOPE REC option on the Editor Options panel (option 0.5).

Col
(CHAR, HEX and LHEX formats only) The leftmost data column that is currently displayed. You can scroll to a specific column (left or right) by typing a new value.
Format
The display format of the data. Either CHAR, HEX, LHEX, TABL, or SNGL. To change the display format, overtype the first byte of the field with the first character of the desired format.
Segment
(SNGL format only) The name of the segment displayed on the panel.
Level
(SNGL format only) The hierarchical level of the segment in the database.
Concatenated key value
(SNGL format only) The concatenated key value of the displayed segment.
Current 01
(SNGL format only) The layout used to format the data of the segment.

Fields in Data area (CHAR, HEX, LHEX, and TABL formats):

Multiple segment occurrences are displayed. Each segment occurrence is displayed in a single line (CHAR, LHEX, and TABL formats), or on 3 lines (HEX format). For each segment, the following fields are displayed:
Cmd
The line command entry field. This panel supports the following line commands:
D
(Edit only) Deletes the segment occurrence and all its dependents.
FC, FH, and FL
  • Scrolls the line to the top of the display
  • When the line is a shadow line, makes the suppressed segments associated with the shadow line the currently formatted segment type
  • Changes the display format to CHAR (FC), HEX (FH), or LHEX (FL)
FS, FT
(Only when using a view)
  • Scrolls the line to the top of the display
  • When the line is a shadow line, makes the suppressed segments associated with the shadow line the currently formatted segment type
  • Changes the display format to SNGL (FS), or TABL (FT)
I, R
(Edit only) Displays either the Insert Root Segment panel (when entered against a root segment) or the Insert Segment panel (when entered against a nonroot segment). These panels allow you to insert a segment occurrence into the database.
K
Displays the Key Specification panel for the segment type of the occurrence against which you entered the command. This panel allows you to specify a new starting position in the database for the display of data.
RA
(Edit only) Displays either the Insert Root Segment panel (when entered against a root segment) or the Insert Segment panel (when entered against a nonroot segment). These panels allow you to insert a segment occurrence into the database and duplicate all of the dependent segments of the segment against which the command was issued under this new occurrence.
V
(Only when using a view) When entered against a shadow line, makes the suppressed segment associated with the shadow line the currently formatted segment type.
Level
The hierarchical level of the segment in the database.
Segment
The segment type.

Fields in Data area (SNGL format):

A single segment occurrence is displayed. FM/IMS associates a layout with the segment occurrence and the data is formatted into the fields of the layout. The layouts are defined in the view that you are using. The fields of the layout are displayed down the page. For each field, the following details are displayed in columns across the page:
CCSID
The CCSID if one has been been assigned to the field in the template.

To display or hide the CCSID column, use the CCSID primary command. To change the initial setting for an Edit session, select or deselect the Show the CCSID on the Editor Options panel (option 0.5).

Ref
The field reference number that the view has assigned to the field.

To display or hide the field reference number, use the REFS primary command. To change the initial setting for an Edit session, select or deselect the Record formatting option Field reference number on the Editor Options panel (option 0.5).

Field
The level number and name of the field, together with other attributes such as REDEFINES, array sizes, and DEPENDING ON references.

To display or hide the structure information in the Field column, use the STR primary command. To change the initial setting for an Edit session, select or deselect the Record formatting option Structure on the Editor Options panel (option 0.5).

To display or hide the REDEFINES information (in the Field column) and the redefined fields, use the RDF primary command. To change the initial setting for an Edit session, select or deselect the Record formatting option Redefined fields on the Editor Options panel (option 0.5).

Typ
The data type for the field.

To display or hide the Type column, use the TYP primary command. To change the initial setting for an Edit session, select or deselect the Record formatting option Field type and length values on the Editor Options panel (option 0.5).

Start
The location within the layout of the start of the field.

To display or hide the Start column, use the SLOC primary command. To change the initial setting for an Edit session, select or deselect the Record formatting option Start location on the Editor Options panel (option 0.5).

Len
The length of the field.

To display or hide the Length column, use the TYP primary command (see Typ entry above).

Data
The data of the field in a display format.

Parent panels

Child panels

Related topics and examples