When installation jobs finish, you should understand the system objects they created and the external pieces they wired in. This page covers Db2 system databases, catalog and directory creation, the work file database, BSDS, active and archive logs, buffer pools, IRLM installation, DDF setup, and WLM setup—the foundation every later tutorial assumes exists.
Post-install is not a single job name. It is the moment when the subsystem can start, know its own objects, log changes, lock rows, optionally accept remote clients, and run procedures under WLM. If any of those layers is missing, IVPs and real workloads fail in confusing ways. Use this checklist mentally after DSNTIJxx completes.
| Object | Purpose |
|---|---|
| Catalog | SQL-visible metadata about objects and privileges |
| Directory | Internal Db2 control structures paired with the catalog |
| Work file DB | Sorts, temp tables, intermediate query work |
| BSDS | Bootstrap control for logs and recovery information |
| Active logs | Online write-ahead logging for units of recovery |
| Archive logs | Offloaded older log ranges for longer retention |
| Buffer pools | In-memory page caches sized at install and tuned later |
Db2 system databases hold infrastructure, not business tables. The catalog and directory databases store metadata Db2 needs to resolve SQL and manage objects. The work file database provides space for sorts and temporary results. During install, jobs and CLIST options size these databases; afterward, DBAs monitor growth just as carefully as application databases.
Catalog creation builds the SQL-queryable dictionary: tables such as those describing tables, columns, indexes, plans, packages, and privileges. You do not CREATE these with ad-hoc DDL in normal operations—the install/migration path creates and maintains them. After CATMAINT (DSNTIJTC), verify catalog level and that basic queries against catalog tables succeed under an authorized ID.
12-- Simple post-install sanity check (authorization required) SELECT COUNT(*) FROM SYSIBM.SYSTABLES;
Directory creation builds the companion internal store. The directory is not a substitute for the catalog; applications query the catalog, while Db2 uses directory structures for internal control information. Install jobs define and initialize both. Recovery procedures often back up catalog and directory together because they must stay consistent.
The work file database supports sorts, created global temporary tables, and other intermediate work. Installation panels (such as DSNTIP9) size 4K and 32K work file table spaces. Undersizing shows up later as sort overflows and poor elapsed times. After install, track work file usage under peak batch and query windows.
The BSDS (bootstrap data set) records information Db2 needs about logs and recovery control. Install defines duplexed BSDS data sets via earlier panel choices (DSNTIPA4) and initialization jobs. Protect BSDS like you protect the logs—without it, restart and recovery become much harder. Dual BSDS copies on separate failure domains remain a standard practice.
Active logs are the online log data sets written continuously as Db2 records changes. Dual logging (two copies) is the usual production posture. Checkpoint frequency, configured on log-related panels, balances restart time against checkpoint overhead. After install, DISPLAY LOG and monitoring products help confirm log health.
When an active log fills, Db2 archives it according to your archive parameters—often to disk archive data sets and eventually to tape or object storage processes your site uses. Archive retention must match recovery requirements for image copy plus log apply. Post-install, validate that archive allocation works before you need it in an emergency.
Installation sets initial buffer pool sizes (panels such as DSNTIP1 / DSNTIP2). Buffer pools cache data and index pages in DBM1. Defaults get you started; production tuning adjusts sizes and thresholds using monitoring. Confirm BP0 and other critical pools exist after start, then plan a tuning cycle separate from the install weekend.
IRLM (Internal Resource Lock Manager) must be available for Db2 locking. Installation jobs such as DSNTIJMV help define the relationship between Db2 and IRLM. Post-install checks include confirming the IRLM address space is up, that Db2 connected to the expected IRLM, and that lock timeouts/deadlock settings match site standards set on IRLM-related panels (DSNTIPI / DSNTIPJ).
DDF setup enables distributed access. Panel values and related jobs configure location name, TCP/IP ports, secure connectivity expectations, and related subsystem parameters. After start, the DIST address space should initialize cleanly for subsystems that use DDF. Test with a simple remote connection in non-production before opening firewall rules widely.
WLM setup creates application environments so stored procedures and UDFs run in managed address spaces. Installation jobs (for example DSNTIJRW and related procedure jobs) establish core environments for Db2-supplied routines. Sites then add environments for local procedures, set goals, and control how many servers WLM starts. Without WLM environments, routine install and CALL statements fail even when SQL tables are fine.
A healthy post-install subsystem looks like this: z/OS knows the SSID and procedures; IRLM is up; BSDS and active logs are duplexed; catalog and directory are at the expected level; work files exist; buffer pools are allocated; optional DDF and WLM pieces match the workload you promised in the install plan. Image-copy the catalog/directory (DSNTIJIC), run IVPs, and only then hand the subsystem to application teams.
After the install weekend, schedule a quieter follow-up: confirm archive processing ran at least once, review early statistics and accounting traces if you enabled them, add the subsystem to backup tooling, and document who owns ZPARM changes. Watch for work-file growth during the first heavy batch cycle. If DDF is enabled, review failed connection attempts with security. If routines are installed, confirm WLM starts servers under load rather than only under a single CALL. Post-install success is measured over days, not only by the last job’s return code.
After the clubhouse is built, you check the important rooms. The dictionary room (catalog) lists every toy. The secret office (directory) keeps staff notes. The messy craft table (work files) is where you sort pieces. The diary (logs) and membership book (BSDS) record what happened. Cubbies (buffer pools) keep favorite toys nearby. The hall monitor (IRLM) stops fights over the same toy. The front gate (DDF) lets friends from other streets visit. Helper rooms (WLM) let special projects run without blocking the main hall.
1. What is the Db2 catalog primarily for?
2. What does the directory hold compared with the catalog?
3. What is the BSDS?
4. Why install IRLM with Db2?
5. What does WLM setup enable for many stored procedures?