Skip to content
Skills Library
Programming · Learning & explanation

ibmi-platform

/ibmi-platform

IBM i platform fundamentals - objects, libraries, the library list, jobs, subsystems, activation groups, CCSIDs, messages and authority. Use when a task needs IBM i system knowledge, when explaining IBM i behaviour, or when diagnosing runtime errors such as CPF/MCH/RNX/SQL messages.

Licence
GPL-3.0
Last repository change
29.10.2026

Assessment and security

90/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content25 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
3
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 29.10.2026, without references to retired models or APIs.

Licence

GPL-3.0, otwarta.

What it does and when to use it

IBM i platform fundamentals - objects, libraries, the library list, jobs, subsystems, activation groups, CCSIDs, messages and authority. Use when a task needs IBM i system knowledge, when explaining IBM i behaviour, or when diagnosing runtime errors such as CPF/MCH/RNX/SQL messages.

Original author description

IBM i platform fundamentals - objects, libraries, the library list, jobs, subsystems, activation groups, CCSIDs, messages and authority. Use when a task needs IBM i system knowledge, when explaining IBM i behaviour, or when diagnosing runtime errors such as CPF/MCH/RNX/SQL messages.

How it works

  1. Key rules to apply
  2. Diagnosing a failure
Original SKILL.md headings · 35 lines, 284 words
SKILL.md preview
---
name: ibmi-platform
description: IBM i platform fundamentals - objects, libraries, the library list, jobs, subsystems, activation groups, CCSIDs, messages and authority. Use when a task needs IBM i system knowledge, when explaining IBM i behaviour, or when diagnosing runtime errors such as CPF/MCH/RNX/SQL messages.
---

# IBM i platform essentials

Use this skill as background knowledge whenever code behaviour depends on the operating
system rather than the language. Load the reference files for detail:

- `reference/objects-and-libraries.md` — object types, naming, QSYS.LIB vs IFS, library list
- `reference/jobs-and-messages.md` — jobs, subsystems, activation groups, message handling,
  common message IDs and what they mean

## Key rules to apply

1. **Everything is an object** with a type (`*PGM`, `*FILE`, `*DTAARA` …) living in a library.
   Names are max 10 characters, uppercase, and must start with A–Z, `$`, `#` or `@`.
2. **The library list decides which object runs.** Unqualified references resolve through
   `*LIBL` (system portion → product → current library → user portion). Never hard-code a
   library to "fix" a not-found error — fix the job description or `ADDLIBLE` instead.
3. **Activation groups scope resources.** `*NEW` = fresh each call (slow, isolated),
   named = shared and persistent, `*CALLER` = joins the caller. Overrides, open files and
   commitment control follow the activation group.
4. **Escape messages end programs.** CL must `MONMSG`; RPG must `monitor` or use `(e)`.
   Unhandled errors in batch become inquiry messages that hang the job (`QSYSOPR`).
5. **CCSID matters** for IFS files and SQL: stream files are often 1208 (UTF-8) while
   source and data are 37/273/500 etc. Specify `CCSID` when creating IFS files.
6. **Authority**: programs run under the user profile unless compiled with
   `USRPRF(*OWNER)` (adopted authority). Flag any adoption as a review item.

## Diagnosing a failure
1. Get the job log: `DSPJOBLOG` or SQL `QSYS2.JOBLOG_INFO('job/user/name')`
   (MCP tool `recent_job_messages`).
2. Find the first escape (`*ESCAPE`) or diagnostic message — later messages are often
   consequences.
3. Look up the message ID with `DSPMSGD RANGE(CPF9801) MSGF(QCPFMSG)` or the table in
   `reference/jobs-and-messages.md`.
Files in this package (3)
  • SKILL.md 2 KB
  • reference/jobs-and-messages.md 2 KB
  • reference/objects-and-libraries.md 2 KB

Versions

The database has no other skills named ibmi-platform.

Database snapshot: 13.11.2026 · package version 28cc597213b5 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 2 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 90ibmi-build
    Build and compile IBM i objects from git stream-file source with TOBi, The Object Builder for i (formerly Better Object Builder; command makei) - iproj.json, .ibmi.json, Rules.mk dependencies, compiling one file or the whole project, and reading compile errors. Use when…
  • 100ibmi-python
    Write Python that connects to IBM i - Db2 for i queries with mapepire-python or pyodbc, running CL commands through QSYS2.QCMDEXC, downloading source members, object and where-used lookups, and Python running in IBM i PASE. Use for any Python script, CLI or automation that talks to IBM i.
  • 100ibmi-mcp-tool-builder
    Guide and build custom YAML SQL tools for the IBM i MCP Server (@ibm/ibmi-mcp-server). Covers designing the tool, discovering the right Db2 for i SQL services, prototyping and testing the SQL live on IBM i through IBM i Developer mode, writing the YAML tool file, validating it…
  • 95ibm-cloud
    Use this skill when the user says 'ibm cloud', 'ibm cloud infrastructure', 'ibm cloud services', 'ibm cloud pak', 'ibm cloud foundry', 'ibm cloud kubernetes', 'iks', 'ibm cloud satellite', 'ibm cloud schematics', 'ibm cloud terraform', 'ibm cloud iam', 'ibm cloud vpc', 'ibm…
  • 95ibm-mainframe
    Use when working with IBM z/OS mainframe systems — JCL (Job Control Language) syntax and patterns, dataset types (sequential/PDS/PDSE/VSAM), IDCAMS utility, DFSORT/ICETOOL, ISPF navigation, TSO/REXX scripting, system utilities (IEBCOPY/IEBGENER/IEFBR14), RACF security basics,…
  • 100ibm-a11y-testing-guide
    Reference guide for writing and running Langflow frontend accessibility tests with axe (Jest) and IBM Equal Access (Playwright `page.runA11yScan`). Covers which engine/test layer to pick, the POUR checklist, axe-vs-IBM rule gaps, Radix/AG-Grid component gotchas, and IBM…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.