Accessing in DLI mode using a Dynamic PSB
- Select either option 1 Browse or option 2 Edit from the Primary Option Menu. The Browse Entry Panel or Edit Entry Panel is displayed.
- 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.
- In the Database name field, enter the name of the database that you want to access, or if you want to select a database from a list of DBDs, enter a database name pattern or leave the field blank.
- 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.
- In the PSB type field, enter
1
to select a dynamic PSB. - In the Region type field, enter
1
to select a DL/I batch processing region. - 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.
- Enter
- 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.
- Enter
- 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.
- If the database you selected has secondary indexes and you want to access the database via a secondary index, enter "/" in the Secondary index field.
- 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.
- Database Selection panel
- Displayed when you enter no database name or a database name pattern.
- Displays a list of the DBDs in the DBD libraries for the specified subsystem.
If the DBD libraries for the subsystem are not fixed, you specify the DBD libraries for the subsystem on the PSB and DBD Data Sets panel (option 0.6.7). If the DBD libraries for the subsystem are fixed, the FM/IMS administrator specifies the DBD libraries for the subsystem at installation time.
- 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.
- Secondary Index Selection panel
- Displayed when you select the Secondary index option and the database that you selected has more than one secondary index.
- Displays all the secondary indexes for the selected database.
On each selection panel that is displayed, enter
S
in the Cmd field adjacent to the item you want to select and press Enter. - Subsystem Selection panel
- 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 will use. 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 these 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.
- 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