This course provides detailed information required for the design of IMS Full Function databases and Data Entry Data Bases (DEDBs. It covers the definition of IMS Control Blocks (DBD and PSB), and the characteristics of HISAM, HDAM and HIDAM, PHDAM, and PHIDAM (HALDB) organisations. The physical structure of these database types is examined in detail, and the reasons for choosing a particular organisation to match an application's needs. In addition, GSAM and Secondary Indexes are discussed, and also the physical implementation of logical relationships, uni-directional and bi-directional (physical and virtual). Other topics are database housekeeping, the relevance of DBRC, database monitoring for performance and error recovery.
Read more +


Knowledge of IMS fundamentals, gained through attendance of the course IMS Essentials, or experience of DL/1 programming. Familiarity with z/OS access methods, especially VSAM, would be an advantage.
Read more +

Delegates will learn how to

  • define the IMS control blocks PSB and DBD
  • describe the characteristics of HISAM, HDAM and HIDAM
  • match the above organisations to a particular application
  • describe GSAM and Secondary Indexes
  • implement secondary indexes and logical relationships
  • implement database housekeeping
  • describe DBRC.
Read more +


IMS Control Blocks for Applications

IMS - the hierarchical Data Base Management System; Hierarchical terminology summary; Program Specification Block (PSB); PSB statements; PCB: PROCOPTs PSB generation; ACB generation; PSB / program relationships: Linkage Section Procedure (or Entry) statement, Batch JCL; DBD; Database macro function; DBD handling; Application definition macro function; PSB handling; Dynamic PSB option.

IMS DB HS & Hybrid Access Methods

DL/I organisations and access methods; Full-function organisations; Fastpath organisations; HISAM; Insertion; Deletion; HISAM database definition; Hybrid - SHISAM; Hybrid - GSAM.

IMS DB Implementation

Stages; DFSDDLT0; Using DFSDDLT0; Status card; CALL cards; DATA card; Other cards; Examples of DFSDDLT0 control cards; CALL image capture.

HD Access Methods

Hierarchical direct; Logical record; Free space; HIDAM; Characteristics; Available options; When to use; Database; Index; HIDAM database definition: HIDAM DBDs; The Index DBD; The Body DBD; HDAM; Characteristics; Available options; When to use; HDAM database definition; Space management for HIDAM and HDAM; Physical child pointers; Physical Child First; hysical Child First and Last; Physical twin pointers; Physical Twin Forward; Physical Twin Forward and Backward; No Twin Pointers; Hierarchic pointers; Pointers in HIDAM and HDAM; Prefix format.

Database Reorganisation Utilities

Reorganisation; Why reorganise?; Unload and reload; HISAM reorganisation; DFSURUL0; DFSURRL0; HD reorganisation; DFSURGU0; DFSURGL0.

Secondary Indexing

Secondary indexing Pointer segment; Target segment; Source segment; Direct pointing; Symbolic pointing; Database DBD; Secondary Index Database DBD; PCB; SSA; Secondary data structure; Stand-alone processing; Restrictions; To process; Things to consider; Processing a secondary index; Secondary index DBDs; XDFLD statement; Target and Source; Secondary Data Structures; Independent AND in Boolean SSAs.

Logical Relationships

Logical relationships; Unidirectional Logical Relationship; Bidirectional physically-paired logical relationship; Bidirectional virtually-paired logical relationship; Logical Parent Pointer; Logical Child Pointer; Logical Twin Pointer; Physical Parent Pointer; LCHILD statement; SEGM statement for Child; SEGM statement for Children; SEGM statement of Real Child; SEGM of Virtual Child; General rules; Logical databases; DBDs; Order (Physical); Item (Physical); OrderL (Logical); Bi-directional Physical pairing; Bi-directional Virtual pairing; Logical rules; Logical databases and utilities.

Further Database Utilities

Additional reorganisation utilities; Pre-Reorganisation Utility (DFSURPR0); Database Scan Utility (DFSURGS0); Prefix Resolution Utility (DFSURG10); Prefix Update Utility (DFSURGP0); Reorganisation with secondary index; Reorganisation with logical relationships.

IMS Data Base Recovery Control (DBRC)

DBRC overview; RECON initialization and structure; RECON records; Maintaining the RECONs; Migrating RECONs to new release; Skeletal JCL; Log maintenance JCL; Entering commands online; Batch command support; Database registration; RECON maintenance; Problems; Database Recovery Control; DBRC log control; DBRC share control; DBRC database control; Database recovery; Overview of Parallel RECON Access.

Larger Databases

Problem; Solutions; High Availability Large Data Base (HALDB); Logical relationships and secondary indexes are supported; PHDAM - partitioned HDAM; PHIDAM - partitioned HIDAM - Index is also partitioned; PSINDEX - partitioned secondary index; Hierarchic structure is maintained; Partition selection (deciding in which partition a record resides); Partitioning choices Logical DB considerations; The DFSHALDB control statement; HALDB self healing pointers; Partitioned Data Structure; HALDB data sets; What DBRC sees; Changing partition boundaries; HALDB online reorganisation; Data Entry Database (DEDB); Data Entry Database; Area; Data Entry Database; Area structure; Root Addressable Part; Independent Overflow Part; Sequential Dependent Part; Data Entry Database; Unit of work ; Logical Record; Data Entry Database - Sequential Dependent Segments; Data Entry Database - segment contents; Data Entry Database - subset pointers; Data Entry Database - POS call.

IMS Database Integrity

Backup and recovery; Logging; What events are logged?; Log data sets; Online Log Data Sets (OLDS); Write-Ahead Data Sets (WADS); System Log Data Sets (SLDS); Recovery Log Data Set (RLDS); Restart Data Set (RDS); Archiving; Automatic; Manual; Contents of the log; Sample Log record types; Backup; Image copy; Database Image Copy Utility (DFSUDMP0); Online Database Image Copy Utility (DFSUICP0); Fuzzy copying and log requirement; Image Copy Utility (DFSUDMT0); Change Accumulation; Change Accumulation Utility (DFSUCUM0); Database Recovery; Database Recovery Utility (DFSURDB0); Time stamp recovery.

Sharing Data & Data Sharing

Sharing access - the problem; Sharing access - solutions; Control region / DLISAS; Program isolation; Locking; Database locking; What is locked?; Rules for locking; PROCOPT = GOx; PROCOPT = E; Deadlocks; Data Sharing - general; Database-level sharing; Block-level sharing.... z/OS; Block-level sharing....> z/OS.

IMS DB Monitoring

Performance; What factors affect performance?; DB performance (1); DB monitor; VSAM Buffer Pool Report; VSAM Statistics Report; Database Buffer Pool Report; Program I/O Report; DL/I Call Summary Report; DFSSTAT reports; IEHLIST utility; IDCAMS LISTCAT; Database surveyor utility; IMS Monitor Summary and System Analysis Program; DB tuning options; Program I/O report; Program summary report; Database buffer pool report; VSAM buffer pool report; Database failures; Write errors; Read errors 13.13 Examples.

New Uses for IMS Databases

XML databases; Open Database Manager; IMS Connect and ODBM; Java DL/I Access.

Read more +

Why choose QA

Dates & Locations

Need to know

Frequently asked questions

How can I create an account on myQA.com?

There are a number of ways to create an account. If you are a self-funder, simply select the "Create account" option on the login page.

If you have been booked onto a course by your company, you will receive a confirmation email. From this email, select "Sign into myQA" and you will be taken to the "Create account" page. Complete all of the details and select "Create account".

If you have the booking number you can also go here and select the "I have a booking number" option. Enter the booking reference and your surname. If the details match, you will be taken to the "Create account" page from where you can enter your details and confirm your account.

Find more answers to frequently asked questions in our FAQs: Bookings & Cancellations page.

How do QA’s virtual classroom courses work?

Our virtual classroom courses allow you to access award-winning classroom training, without leaving your home or office. Our learning professionals are specially trained on how to interact with remote attendees and our remote labs ensure all participants can take part in hands-on exercises wherever they are.

We use the WebEx video conferencing platform by Cisco. Before you book, check that you meet the WebEx system requirements and run a test meeting (more details in the link below) to ensure the software is compatible with your firewall settings. If it doesn’t work, try adjusting your settings or contact your IT department about permitting the website.

How do QA’s online courses work?

QA online courses, also commonly known as distance learning courses or elearning courses, take the form of interactive software designed for individual learning, but you will also have access to full support from our subject-matter experts for the duration of your course. When you book a QA online learning course you will receive immediate access to it through our e-learning platform and you can start to learn straight away, from any compatible device. Access to the online learning platform is valid for one year from the booking date.

All courses are built around case studies and presented in an engaging format, which includes storytelling elements, video, audio and humour. Every case study is supported by sample documents and a collection of Knowledge Nuggets that provide more in-depth detail on the wider processes.

When will I receive my joining instructions?

Joining instructions for QA courses are sent two weeks prior to the course start date, or immediately if the booking is confirmed within this timeframe. For course bookings made via QA but delivered by a third-party supplier, joining instructions are sent to attendees prior to the training course, but timescales vary depending on each supplier’s terms. Read more FAQs.

When will I receive my certificate?

Certificates of Achievement are issued at the end the course, either as a hard copy or via email. Read more here.

Let's talk

By submitting this form, you agree to QA processing your data in accordance with our Privacy Policy and Terms & Conditions. You can unsubscribe at any time by clicking the link in our emails or contacting us directly.