Requesting IMS Data
Selection criteria determines what portion of the selected z/OS UNIX file becomes available for viewing or editing. You can choose which fields will be displayed and conditions for selecting records. Only records that match your selection criteria will appear in the editor data display.
layouts and specify DLI datasets and processing options. You can also establish other display and run options such as Browse mode or Edit mode. You can save and re-use your request, making it easy to access your data the same
way the next time you access this object. Your recently used requests are listed on the Data Editor menu accessed by clicking the toolbar File-AID icon and selecting Data Editor.
Supported Database Types
The File-AID Data Editor supports most IMS database types. Currently not supported are MSDB databases and editing of Secondary index databases. The DEDB Fast Path database is restricted to BMP mode processing.
Creating a New or Using a Saved Request
To create a new or use a saved request:
At the top of the File-AID Data Editor IMS Request window, enter a Request Name to create a new request, or select a request name from the request name pull-down list to use an existing request.
Database Access Options
- When requesting data from IMS, you may specify the type of IMS region you wish to use. When accessing your IMS data with Region type BMP, database data is defined to the online region defined in the currently selected environment. If you choose DLI processing, the IMS environment is set up by merging your DLI options with the currently selected environment. With DLI, additional inputs are provided to enable you to override the environment defaults.
When using DLI region type, the File-AID Data Editor first attempts to determine if dynamic allocation (MDA) members are present to identify dataset names for all DBD/DDNAME physical datasets of the selected database. If dynamic allocation datasets are found, they are listed and indicated via the Use database datasets: From Dynamic Allocation MDA members DLI option. Select Use database datasets: Specified below to specify your own database datasets and to override the dynamic allocation DSNs.
In addition to defining your access options, you may also provide COBOL or PL/I source layouts to be used to format segment data. You may specify or override the Environment defaults for XREF and Source libraries on the Record Layouts tab.
Access Options
The Access Options tab of the Database Access and Record Layout Options section of the request is where you choose your IMS processing options.
Environment and Database Info
At the top of the access options is a description of the current environment you have chosen. To see more details of the current environment, press the View Environment button.
In addition to the Environment, information about the type of database you have chosen is displayed for your reference.Region Type
For most databases, you may choose BMP or DLI processing. With BMP processing, database datasets are defined to the IMS control region. With DLI processing, database datasets are specified in the request and are either defined in the Environment via dynamic allocation members (MDA) or specified explicitly by you in the Database datasets section of the Access Options. Note: Fast Path databases (DEDB) may only be accessed in BMP mode, and DLI mode is not an option.
DLI Processing
When choosing DLI mode, you may override environment defaults and specify IMS log file handling and your own database datasets.
DLI Options
DLI options allow you to specify your database datasets and override the IMS defaults in the environment.
DLI Database DatasetsUpon entry to the IMS Request, the File-AID Data Editor examines your selected database and looks for dynamic allocation MDA members in the environment with database datasets for your database. If MDA members are found, the Use Database Datasets From IMS Dynamic allocation radio button is selected and enabled, and the dataset names are displayed in the DLI Database dataset Specification grid. If no MDA member is found for your database, you must specify all dataset names for all DDNAMEs in your database.
Dynamic Allocation Datasets
When dynamic allocations are found for your database datasets, they are presented and locked in the Database Datasets Specification grid. If you wish to override them, you must select the Specify IMS database datasets radio button and enter the dataset names in the Database Dataset Specification grid.
Specifying Database Datasets
Enter the dataset name for each DD in your database. Optionally, you may use the list control to view recently entered dataset names for each DDname.
Browse for Datasets
You may also click on a dataset name and use the [...] control to display the Dataset Selection dialog where you may search the catalog for each dataset.
Override IMS Environment Parameters
A special collapsible section is provided to allow you to override IMS environment parameters.
Click on the section control iconor the Override IMS environment parameters text to expand the section to access overrides for Log File allocation, DLI Parms, and IMS Datasets.
You must open the Override IMS Environment section to be able to access the controls discussed in the following subsections of this topic:
- IMS Log File
- DLI Parms
- IMS Datasets
IMS Log File
You can determine your IMS log file handling by using the IMS log file combo list pull-down to select one of three choices:
- Allocate and keep: An IMS log file is automatically created for you and cataloged at the end of your editing session.
- Allocate and delete: An IMS log file is automatically created for you and deleted at the end of your editing session. Do not use this option when database recovery is active.
- No log: No log file is allocated or used. Don not use this option when database recovery is active.
DLI Parms
Three DLI parms are available for you to use to control the behavior of your DLI connection.
- DBRC (database recovery and control)
- IRLM (internal resource lock manager)
- BKO (backout).
Each of the parms has three settings:
- Default (use whatever is defined in the Environment)
- Yes (override the environment setting and activate the feature)
- No (override the environment setting and deactivate the feature).
IMS Datasets
You may override the IMS datasets defined in the environment by entering your own dataset names here for various IMS datasets used to establish the DLI connection to IMS.
Enter the dataset name for each DDname. Optionally, you may use the list control to view recently entered dataset names for each DDname. You may also use the Browse button to display the Dataset Selection dialog where you may search the catalog for each dataset.
DDnames available for override are:
- RECON1 - 1st RECON dataset
- RECON2 - 2nd RECON dataset
- RECON3 - 3rd RECON dataset
- DFSRESLB1 - 1st DFSRESLB dataset
- DFSRESLB2 - 2nd DFSRESLB dataset
- DFSVSAMP - IRLM, OSAM, and VSAM settings.
Using Record Layouts
The Record Layouts tab of the Database Access and Record Layout Options provides access to fields where you can override the Environment defaults and specify your own IMS XREF dataset and Source layout libraries.
The Use record layouts checkbox initial state is controlled by a preference. The default is that it is selected and that you will be using Record Layouts to format your IMS data. It is expected that your environment provides XREF dataset(s) and source layout dataset(s). If the environment does not provide XREF and source layout datasets, you must either provide them on the Record Layouts tab or uncheck the Use record layouts checkbox.
- The XREF member name defaults to the DBD name of the database you are requesting access to:
XREF members are defined via the XREF utility of File-AID for IMS. The XREF dataset and Source layouts dataset(s) may be typed in, selected via the pull-down control from the list of recently entered datasets, or populated by using the Browse button to activate the Dataset Selection dialog and then selecting a dataset name from the catalog.
Starting Segment Options
The Starting Segment tab of the Database Access and Record Layout Options provides direct access to a specific database segment by specifying the segment's starting key.
- To specify a starting segment, check the Start at a specific segment checkbox.
- Select the desired segment from the Segment name pull-down control.
- If the Use record layouts checkbox on the Record Layouts tab was checked, one or more layout members may be available from the Layout member pull-down control. Select the desired layout member from the list.
- In the Key Specification area, select an Operator from the pull-down control.
Enter values for the desired key in the Field Value column. You can use the hexadecimal value editor for CHAR, VARCHAR, GRAPHIC, and VARGRAPHIC field data types by first selecting the field, then right-clicking and choosing Hex Edit. The Hexadecimal Value Editor appears. For more information, see Hexadecimal Value Editor.
Query and Display Options
Enter the Segments to display per page. The default is 2000.
Run Mode Settings
Specify whether you want to view your data in Browse or Edit mode. Edit is the default. If you select Edit, specify whether to Enable Auditing. Enabled is the default. Note: The Segments to display per page and enable auditing defaults are set in the Windows > Preferences > Compuware > File-AID Data Editor (IMS tab) preferences.
Request Actions
- Once you have completed your request, it is a good practice to assign a Request Name and click Save to ensure that you can reuse the IMS request in the future.
Click Run. You will navigate to the data display view.
- Click Close to exit the request dialog.
- To delete a saved request permanently, click Delete.
- To return to the last saved state of a request, use the Revert button.