1
The File Manager IMS feature is a set of tools and utilities for working with data in IMS databases.
What is the File Manager IMS feature?
Database extract and load utilities
• Copy the contents of an IMS database to file
• Load the contents of an extract file into an IMS database
• Select segments to be copied
• Modify / reformat segments during the extract
• Reload the data to another IMS database
Print utility
• Print selected data or entire databases
• Choose from several report formats
• Customize fields and headings
DLI and BMP modes in File Manager IMS
From File Manager IMS access an IMS database in either:
• DLI (Data Language One) mode, or
• BMP (Batch Messaging Processing) mode
DLI mode
File Manager IMS allocates the IMS database data sets in the TSO address space
DLI mode is often used when working in a test environment, each user can have a copy of the
databases
BMP mode
In BMP mode, File Manager IMS connects to an IMS subsystem, which connects to an IMS
“control region”
Database data sets are allocated to the control region, allowing multiple users to access the
same databases
BMP mode is often used in a “live” or production environment with shared databases and it
ensures that all users are accessing the same data.
Dynamic and static PSBs
File Manager IMS can use either pre-built PSBs, known as static PSBs, or dynamic PSBs, which are
generated by File Manager IMS.
• A static PSB is pre-defined, and access is may be controlled by the database administrator
• A dynamic PSB is generated by File Manager IMS
Static PSBs
Are typically developed by a database administrator
Provide strict rules for access and control: which segments are available and what
processing, such as browse or edit, can be performed on available segments
Typically used when connecting to a live or production environment
Static PSBs can be used in either BMP or DLI mode
Sooraj S Kumar, Claims ODS
2
Dynamic PSBs
Are generated by File Manager IMS, using the information found in the DBD that is specified
Generally allow full access to all the segments listed in the DBD and are, therefore, commonly
used in test or development environments
Dynamic PSBs may have restricted use in production environments
Dynamic PSBs can be used in either BMP or DLI mode
Scrolling commands used in FMIMS:
The main keys used are:
F8: Scrolls down through segments
F9: Scroll up in database
Others include:
TOP / BOTTOM
NEXT / PREV (one segment)
NEXT 10 / PREV 20 (10 segments)
NEXT OFFDTL / PREV OFFDTL (Go to next segment OFFDTL)
Why use templates and views?
Ease of use
Work with fields in a segment
Select for display
Only the required segments
Only the required fields
What does a template do?
A template maps a layout to each segment in the database
A layout can be a copybook, multiple copybooks, or part of a copybook
users can access them to:
See segments broken down into fields according to their layouts
Create their own views of the database
What does a view do?
Once a template exists, a view can be created
Use a view in browse or edit to:
1. Select the types of segments to display
2. Hide the types not required
3. Select segments based on data content, using selection criteria
4. Select which fields in the layout to display
5. Change the order of fields displayed
6. Change field headings
For any DBD:
1. There is only one template.
2. There can be many views, each with different selection criteria.
Sooraj S Kumar, Claims ODS
3
Shortcuts and commands used in FMIMS
COMMANDS
PARENT To navigate to the parent segment (up by one level)
TWIN Navigates to the next twin
CHILD Goes to the first child of the current segment
ROOT Navigates to the root segment (at top level)
FIND '<search-string>' FIRST Search for the string at the beginning of the database
FIND '<search-string>' Search forward starting with the current segment
f '<search-string>' #<field-
searches for WGS in field #3
position>
To get information on DBD. Segment names, lengths, key
DBD
positions, and segment relationship information are shown.
REL Show the database logical relationship information
SEGSTATS Shows segment counts and statistics
FT / TABL The data for each field placed in a column.
FC / CHAR The data for each segment is displayed as a continuous string
FS / SNGL The data for each segment displayed on one page.
SHOW SUP ON’ Will show all segments together.
SHOW SUP OFF Will show only the Segment under selection
“L <FIELD NAME>” To directly go to the copybook field
HIER / HI To view the hierarchical structure of a database,
Displays the File Manager release and PTF level, and indicates
VER / LVL
whether or not FM/IMS is AF-authorized.
FM/IMS displays details about the current COBOL compiler in a
SHOWCOB
window
DX Converts a decimal value to a hexadecimal value
XD Converts a hexadecimal value to its equivalent decimal value.
The data for each segment displayed as a continuous double
FH / HEX line hexadecimal string with a top line where all displayable
data is presented in character format.
The data for each segment displayed as a continuous
FL / LHEX
hexadecimal string.
Sooraj S Kumar, Claims ODS
4
To change the information displayed in SNGL mode
JUST Left justifies the numeric fields
PIC Displays or hides the Picture column
Displays or hides the Redefines information and redefined
RDF
fields
REFS Displays or hides the Field References column
SLOC Displays or hides the Start column
Displays or hides the structure information in the Field
STR
column
TYP Displays or hides the Type and Length columns
NEXT n Move forward n segments
PREVIOUS n Move back n segments
Scrolls left the number of columns indicated by the Scroll
LEFT
field
FMIMS Profile set up
Please follow the instructions from below document to set up profile in FMIMS
FMIMS template
update.docx
Sooraj S Kumar, Claims ODS