System operations & recovery
Connect application behavior to storage, output, backups, and system change.
Learn this topic first: Production engineering: debug, secure, integrate and tune →
Questions and answers
1. What operational commands should a developer understand? (Easy)
Understand how to inspect active jobs, job details, spooled output, object descriptions, file descriptions, and libraries. Examples include WRKACTJOB, WRKJOB, WRKSPLF, DSPOBJD, DSPFD, and DSPLIBL.
The interview value is knowing what evidence each reveals. If a report is absent, trace generation, spooling, queue state, and writer processing in order. A memorized command list without an investigation path does not demonstrate operational reasoning.
2. How do you troubleshoot a report that never prints? (Intermediate)
Find the generating job and establish whether it completed. If output exists, inspect the spooled file’s status, output queue, hold state, and writer/device status. If no output exists, inspect the program path and job log.
Avoid rerunning the business posting just to regenerate a report. Separate report generation from irreversible business work where possible, and use an approved reprint path. Distinguish an empty report from a missing or held spooled file.
3. How do backups and journals support recovery differently? (Intermediate)
A backup captures recoverable object/data state at a point or over a coordinated save process. Journals record changes that can support recovery forward from a suitable save and other auditing/replication use cases. Neither is a complete recovery plan by itself.
Define recovery point and recovery time objectives, receiver retention, restore order, and dependency coverage. Include programs, authorities, IFS resources, and configuration. Prove the plan with a restore exercise rather than relying solely on successful save messages.
4. What is an IPL, and why does it matter to applications? (Intermediate)
An initial program load starts or restarts the system operating environment. Applications may require subsystem startup, server startup, queue recovery, scheduled-work reconciliation, and external dependency checks afterward.
A planned IPL should have a runbook that verifies readiness and reconciles in-flight work. Do not assume every interrupted external action rolled back. Check durable run state and communication outcomes before replaying work.
5. How do you respond to rapidly increasing storage usage? (Advanced)
Identify which storage pool and object categories are growing. Examine journal receivers, spooled output, temporary objects, large database members, and IFS files using appropriate authorized tools. Correlate growth with a job or workload change.
Preserve required recovery/audit data and confirm retention rules before deleting. Stopping a runaway producer may be more effective than repeatedly clearing its output. A sustainable fix sets retention, monitoring, and ownership for the growth source.
6. How should a developer prepare an operating-system upgrade? (Advanced)
Inventory the release and PTF dependencies of compilers, SQL services, middleware, and external drivers. Test representative business flows, batch schedules, encoding boundaries, authority-sensitive operations, and recovery procedures on the target level.
Record a rollback/recovery plan and coordinate application change timing. Do not bundle unrelated business rewrites into an upgrade unless necessary. Verify post-upgrade service readiness and performance against a baseline rather than only checking that users can sign on.
Practice checkpoint
- 1. Which command helps inspect spooled output?
- CRTBNDRPG
- CHAIN
- CRTDTAARA
- WRKSPLF
- 2. A report is held but posting succeeded. Best action?
- Use the output/reprint workflow without repeating posting
- Post all transactions again
- Delete the journal
- Recompile all programs
- 3. What proves a backup plan is usable?
- Only a green dashboard
- A successful restore and recovery exercise
- Only a source archive
- Only journal existence
- 4. Before deleting growing journal receivers, check:
- Only filename length
- Only the user interface color
- Recovery and retention requirements
- Nothing if old
- 5. After an IPL, interrupted work should be:
- Always replayed blindly
- Always considered successful
- Ignored permanently
- Reconciled using durable state
Show answer key and explanations
1. D — WRKSPLF WRKSPLF works with spooled files so you can inspect output independently of the generating job.
2. A — Use the output/reprint workflow without repeating posting Printing and business posting should be diagnosed separately.
3. B — A successful restore and recovery exercise Recovery must be tested against the intended objectives.
4. C — Recovery and retention requirements Receivers may be needed for recovery or replication.
5. D — Reconciled using durable state Restart changes runtime state but does not answer every business-outcome question.