Robert Blackhall – BMC Software | Blogs https://s7280.pcdn.co Tue, 12 Jul 2022 11:57:03 +0000 en-US hourly 1 https://s7280.pcdn.co/wp-content/uploads/2016/04/bmc_favicon-300x300-36x36.png Robert Blackhall – BMC Software | Blogs https://s7280.pcdn.co 32 32 Don’t be Scared of IMS-Managed ACBs https://s7280.pcdn.co/dont-be-scared-of-ims-managed-acbs/ Mon, 25 Feb 2019 10:24:52 +0000 https://www.bmc.com/blogs/?p=13602 The IMS™ catalog requires you to use IMS-managed application control blocks (ACBs). In an earlier blog, we discussed the advantages of IMS-managed ACBs. In this blog, we’ll take a more detailed look at them. ACBs are the runtime blocks that represent the active databases and program views in online and batch IMS environments. To use […]]]>

The IMS™ catalog requires you to use IMS-managed application control blocks (ACBs). In an earlier blog, we discussed the advantages of IMS-managed ACBs. In this blog, we’ll take a more detailed look at them. ACBs are the runtime blocks that represent the active databases and program views in online and batch IMS environments. To use IMS-managed ACBs, you must have an active catalog.

The ACB libraries are created when you generate the ACB library from the database definition (DBD) and program specification block (PSB) libraries. In general, a DBD defines a subset of the fields in a database record, and the remaining fields are defined in the application program (in a COBOL copybook or in a PL/I or C-include file).

IMS has been opened to transactions from other platforms, and those platforms require easy access to metadata. To enable this access, the ACBLIB contents are offered as a Java class. Application In the past, the DLIMODEL utility provided access to the data. But it can be difficult to manage the DLIMODEL utility, changing the underlying database definitions requires change control, and definitions can easily get out of sync.

Now, the IMS catalog stores the metadata for databases and applications, and you can access the catalog using Java Database Connectivity (JDBC) drivers. The IMS metadata is available in XML format as well as in traditional IMS segment format for standard DL/I applications. A big advantage of using the catalog is that when ACB definitions are updated, the related metadata is also updated. This ensures that the catalog is the single source of database and application metadata for all applications.

The following table shows some of the differences between traditional definitions and the IMS catalog:

Without the IMS catalog With the IMS catalog
Applications must maintain local Java metadata to interact with IMS databases. Applications can refer to the IMS catalog (no need to maintain local metadata).
You need to define databases and program views with DBDs, PSBs, and ACBs and then activate the ACBs with an online change process. Define databases and programs using SQL DDL statements or the IMS generation utilities. [1]
Most ACBs are pre-built and loaded into memory by a batch application program or an online IMS system. IMS stores ACBs in the IMS directory (data sets associated with the catalog) and can build, activate, and load ACBs into memory dynamically.
To make changes to DBDs, PSB, or ACBs, you must make the actual change, run the associated generation utility, and ensure that all related changes are made. You can use SQL DDL statements to change DBDs, PSBs, and ACBs. IMS automatically updates the catalog, and it can automatically activate certain changes to database or program view definitions.
You maintain the online ACB data sets ACBLIBA and ACBLIBB. The catalog maintains the active directory and staging directory PDSE data sets.

[1] Even when using IMS-managed ACBs, you can still use the DBD and PSB generation utilities to define databases and program views and build ACBs by using either the ACB Generation and Catalog Populate utility or the ACB Maintenance utility.

]]>
The ABCs of IMS-Managed ACBs https://www.bmc.com/blogs/the-abcs-of-ims-managed-acbs/ Fri, 18 Jan 2019 00:00:27 +0000 https://www.bmc.com/blogs/?p=13448 The IMS™ catalog contains definitions of IMS databases and application program views. By creating a catalog, IBM has made it easier for non-IMS experts to maintain IMS database and application program definitions. Because the IMS catalog is similar to the Db2 catalog, users who have managed Db2 definitions can easily maintain IMS database and program […]]]>

The IMS™ catalog contains definitions of IMS databases and application program views. By creating a catalog, IBM has made it easier for non-IMS experts to maintain IMS database and application program definitions. Because the IMS catalog is similar to the Db2 catalog, users who have managed Db2 definitions can easily maintain IMS database and program definitions. Like the Db2 catalog, the IMS catalog can be updated with SQL data definition language (DDL); many technicians who have never worked with IMS before have used SQL and DDL – further simplifying the management of IMS definitions.

The catalog provides several advantages over manual database and program definitions, including:

  • Fewer generations (GENs) to implement updated definitions, resulting in less risk and lower costs
  • A central repository for all IMS data structures
  • Metadata that will make it easier to understand what data is in IMS databases and which applications access that data – and lead to better data consistency and governance
  • A comprehensive change management platform with a comprehensive repository for IMS database objects and applications that enables database versioning
  • Accessibility from distributed platforms, eliminating the need to recode and maintain local IMS objects and simplifying access to IMS objects on the mainframe

The catalog sounds great. Right? So why are users reluctant to move to it? One reason is that the catalog requires application control blocks (ACBs) to be managed by IMS. While IMS-managed ACBs provide advantages, migrating to IMS-managed ACBs will require process changes and will require the use of the IMS Common Service Layer (CSL). Change can be scary, but it can also be good. Let’s look at what IMS-managed ACBs can do for you:

  • Eliminate the need for database definition (DBD), program specification block (PSB), and ACB libraries – because information the IMS catalog determines which databases and program views are being used.
  • Simplify the definition of databases and program views through the use of SQL and DDL. When you use DDL statements, IMS can add the database and program view definitions to the IMS catalog, build the required runtime control blocks, and, in some cases, load them into the online IMS system automatically. If you choose to update definitions manually, you must use the DBD and PSB Generation utilities and then run the ACB Generation and Populate utility or equivalent utilities to build the ACBs, update the IMS catalog, and load the ACBs into the IMS system.

So now we understand the advantages of using IMS-managed ACBs. In upcoming blogs, I’ll describe some of the ways you can implement IMS-managed ACBs and discuss considerations that you need to be aware of.

For information on how BMC simplifies IMS catalog management, see https://www.bmc.com/it-solutions/catalog-manager-ims.html.

]]>