journal

Query IBM i journals, receivers, and audit data marts via QSYS2 SQL services.

3|1|Updated Feb 3, 2026
One-click install
npx skills add https://github.com/ajshedivy/ibmi-agent-skills --skill journal-ajshedivy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: journal
Source: https://github.com/ajshedivy/ibmi-agent-skills/tree/main/skills/journal
Command: npx skills add https://github.com/ajshedivy/ibmi-agent-skills --skill journal-ajshedivy

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

IBM i journal management can be complex and time-consuming; this skill provides centralized access to journal, journal receiver, and audit data mart information via QSYS2 SQL services.

Core Features & Use Cases

  • Inventory journals and receivers across libraries to monitor state, receiver counts, and sizes
  • Read journal entries and audit data marts to track security events and changes
  • Inspect journaled objects, remote journal configurations, and SMAPP protections to diagnose replication lag and access issues

Quick Start

List all journals in library QSYS and display the latest entries for QAUDJRN.

Frequently Asked Questions about journal

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I query IBM i journals and receivers using QSYS2 SQL services?

Query IBM i journals and receivers using QSYS2 SQL services by accessing JOURNAL_INFO and JOURNAL_RECEIVER_INFO views. This provides inventory, state monitoring, receiver counts, and size metrics across libraries with read-only access.

What is the best way to read IBM i journal entries and audit data marts?

The best way to read IBM i journal entries and audit data marts is by querying the DISPLAY_JOURNAL table function and related audit views. This allows tracking security events and system changes directly via SQL services.

Can I inspect remote journal configurations and SMAPP protections on IBM i?

Yes, you can inspect remote journal configurations and SMAPP protections on IBM i by querying the REMOTE_JOURNAL_INFO view. This exposes replication configurations and helps diagnose access issues or replication lag.

Does this approach require write access to the IBM i system?

No, this approach does not require write access to the IBM i system. It uses the ibmi CLI tool with predefined toolsets to perform read-only queries against QSYS2 SQL services for journal and audit data.

How do I list all journals in a specific IBM i library?

To list all journals in a specific IBM i library, query the QSYS2.JOURNAL_INFO view using a library filter. This returns journal names, states, and associated receiver details for centralized inventory monitoring.

What are the limitations of using QSYS2 SQL services for journal management?

Limitations of using QSYS2 SQL services for journal management include being restricted to read-only access. You cannot modify journal states, delete receivers, or alter SMAPP configurations directly through these predefined SQL views.