IBM i basics
Understand the platform, its object model, and the environment your applications run in.
Learn this topic first: IBM i mental model: objects, libraries and the IFS →
Questions and answers
1. Are AS/400, IBM i, and Power the same thing? (Easy)
AS/400 is a historical system family; IBM i is the operating system; IBM Power is the hardware platform. AS400 persists as informal shorthand in job descriptions. Separating these terms helps you discuss an application change, operating-system upgrade, and hardware migration precisely.
A typical application combines RPG, CL, Db2 for i, and IFS resources. Ask about the IBM i release, compiler features, and PTF level before promising that a modern language or SQL feature is available.
Example
Business application → IBM i services → Power hardware
Interview pitfall: A terminal interface does not define the capabilities of the platform.
2. Why is IBM i described as object based? (Easy)
Programs, files, libraries, and queues are typed system objects. The object type determines the supported operations; a program object is not just arbitrary bytes that can be opened as a text file. The system manages object identity and authority.
For troubleshooting, identify the qualified name and object type. Two objects can share a name within a library if their types differ. Recreating an object can also affect its ownership, authority, dependencies, and runtime use.
Example
DSPObjD OBJ(APP/ORDERS) OBJTYPE(*FILE)
Interview pitfall: A source member and a compiled *PGM are different artifacts.
3. How do 5250, ACS, and application code relate? (Easy)
5250 is a terminal interface. IBM i Access Client Solutions provides tools such as terminal sessions, Run SQL Scripts, and database tooling. Application code runs in server jobs regardless of whether the caller is a terminal user, a scheduler, or a web client.
A developer should be able to explain both the interface and the server-side execution. A browser timeout does not by itself prove that the server job ended; inspect its state and the application transaction before resubmitting work.
4. What is the difference between the IFS and a database file? (Intermediate)
The IFS exposes hierarchical paths and stream-oriented interfaces. A database file exposes structured records and can have members and record formats. Both participate in the IBM i environment, but reading a UTF-8 JSON stream differs from reading a keyed customer record.
Use stream APIs or suitable SQL services for IFS content and database interfaces for records. In integrations, define encoding, delimiters, and ownership explicitly; a file extension alone does not establish the actual CCSID or format.
Example
IFS: /home/app/inbound/orders.json Library object: APP/ORDERS (*FILE)
5. What do compilation and execution create or use? (Intermediate)
Source is input to a compiler. Depending on the command and language, compilation creates a module or a runnable program; binding can combine modules and references to service programs. Executing the resulting program creates runtime state within a job.
Changing a source member does not change an already compiled object. Verify the source version, compile listing, object library, and build command when someone says that a fix has been deployed but behavior is unchanged.
Example
Source → module → bound program → activation in a job
6. How would you assess an unfamiliar IBM i application? (Advanced)
Start with the business workflow and its entry points: interactive programs, scheduled jobs, database triggers, and APIs. Map the files, service programs, queues, and external dependencies used by each path. Record the libraries and profiles that define its environment.
Then inspect a successful execution and a known failure. Compare job logs, transaction boundaries, restart behavior, and runtime configuration. Propose a small reproducible test before changing production. This establishes evidence and avoids treating unfamiliar object names as an architecture.
Practice checkpoint
- 1. Which term identifies the operating system?
- Power
- IBM i
- 5250
- RPG
- 2. Editing source alone changes which artifact?
- Every active program
- The compiled object automatically
- The source
- All service program signatures
- 3. Which is naturally a stream-file path?
- APP/ORDERS *FILE
- APP/POST *PGM
- QBATCH *JOBQ
- /home/app/order.json
- 4. A browser times out during a posting request. What next?
- Check the server operation status before retrying
- Assume the transaction rolled back
- Immediately submit the posting twice
- Delete the job log
- 5. What determines object operations?
- Only the object name
- Object type and authority
- The screen color
- The source member extension
Show answer key and explanations
1. B — IBM i Power is hardware, 5250 is a terminal interface, and RPG is a programming language.
2. C — The source A build is required to turn changed source into a new compiled object.
3. D — /home/app/order.json IFS paths describe hierarchical stream resources.
4. A — Check the server operation status before retrying A client timeout can occur while the server operation is still executing or has committed.
5. B — Object type and authority Typed objects expose specific operations, and authority determines who may perform them.