Accessing in DLI mode using a Static PSB

  1. Select either option 1 Browse or option 2 Edit from the Primary Option Menu. The Browse Entry Panel or Edit Entry Panel is displayed.
  2. In the Subsystem name field, enter the ID of the IMS subsystem that the database you want to access is defined in, or if you want to select the required subsystem from a list, enter a subsystem name pattern or leave the field blank.
  3. In the PSB name field, enter the name of the PSB that you want the function to use, or if you want to select the required PSB from a list, enter a PSB name pattern or leave the field blank. The PSB that you specify must have a PCB for the database you want to access.
  4. In the Database name field, enter the name of the database that you want to access, or if you want to select a PCB from the list of PCBs in the PSB, enter a database name pattern or leave the field blank.
  5. If you want the function to use an existing view, enter in the View data set name field, the name of the data set that contains the view you want the function to use or, if you want to select the data set from a data set list, enter a data set name pattern. If the selected data set is partitioned enter in the View Member field the view member name, or if you want to select the required view member from a list, enter a view member name pattern or leave the field blank. If the selected data set is not partitioned, leave the View Member field blank.
  6. In the PSB type field, enter 2 to select a static PSB.
  7. In the Region type field, enter 1 to select a DL/I batch processing region.
  8. If you selected a database that is not a HALDB and an IMS subsystem that is not a dynamic allocation only subsystem, in the Fetch DB dsnames from field:
    • Enter 1 if you want the function to use the database data sets whose names were saved in your user profile
    • Enter 2 if you want the function to use the database data sets specified in the DFSMDA dynamic allocation members.
  9. In the View usage field:
    • Enter 1 if you want the function to use a new view. The function creates a temporary view from the template for the database.
    • Enter 2 if you want the function to use the existing view you specified in the View data set name and Member fields.
    • Enter 3 if you do not want the function to use a view.
  10. If you want to skip the display of the Database Data Set Specification or the Database Data Set Display panel, enter "/" in the Skip DB data set panel field.
  11. Press Enter to process the data you entered. According to what you entered on the panel, one or more of these panels may be displayed in the order they are listed:
    • Subsystem Selection panel
      • Displayed when you enter no subsystem name or a subsystem name pattern.
      • Displays a list of IMS subsystems defined by the FM/IMS administrator at installation time.
    • PSB Selection panel
      • Displayed when you enter no PSB name or a PSB name pattern.
      • Displays a list of the PSBs in the PSB libraries for the specified subsystem.
      If the PSB libraries for the subsystem are not fixed, you specify the PSB libraries for the subsystem on the PSB and DBD Data Sets panel (option 0.6.7). If the PSB libraries for the subsystem are fixed, the FM/IMS administrator specifies the PSB libraries for the subsystem at installation time.
    • PCB Selection panel
      • Displayed when:
        • You enter no database name and there is more than one database PCB in the specified PSB, or
        • You enter a database name and there is more than one PCB for the database in the PSB, or
        • You enter a database name pattern and the PSB has PCBs for databases with names that match the pattern.
      • Displays a list of the PCBs in the specified PSB.
    • View Data Set Selection panel
      • Displayed when you enter a View data set name pattern and select "Existing" for View usage.
      • Displays a list of the data sets whose names match the specified View data set name pattern.
    • View Member Selection panel
      • Displayed when the specified View data set is partitioned, you enter no View member name or a View member name pattern and you select "Existing" for View usage.
      • Displays a list of the members in the View data set.
    On each selection panel that is displayed, enter S in the Cmd field adjacent to the item you want to select and press Enter.
  12. If you did not select the Skip DB data set panel option, either the Database Data Set Display or the Database Data Set Specification panel is displayed.
    • The Database Data Set Display panel is displayed when a database that is a HALDB or a subsystem that is defined as dynamic allocation only is selected on the Browse or Edit Entry panel. This panel displays the names of the database data sets that the Edit or Browse uses. Verify that the database data sets listed are the ones you want the function to use. To confirm usage of these data sets and to proceed to the next panel in the dialog, press Enter.
    • The Database Data Set Specification panel is displayed when a database that is not a HALDB and a subsystem that is not defined as dynamic allocation only is selected on the Browse or Edit Entry panel. If you selected "User profile" for the Fetch DB dsnames from option, it displays the data set names saved in your user profile. If you selected DFSMDA members for the Fetch DB dsnames from option, it displays the data set names specified in the DFSMDA dynamic allocation members for the subsystem.
      The Database Data Set Specification panel is displayed when the Skip DB data set panel option is not selected, but it is also displayed when the Skip DB data set panel option is selected and one of the following conditions is true:
      • FM/IMS fails to obtain all the required data set names from either your user profile or the DFSMDA members.
      • One or more of the database data sets does not exist or has an invalid data set organization.
      • Allocation of one or more of the data sets fails.

    If the displayed data set names are not the ones you want the function to use or no data set names are displayed, enter the data set names that you want the function to use and press Enter. To confirm usage of the displayed data set names and to proceed to the next panel in the dialog, press Enter once more.

  13. Once you have completed these steps, the Database Positioning panel is displayed. You complete the access process by setting up the way you display the segment data. This process is described in Determining how to display your data.

Related topics