Mainframe Path Start learning free
Core7 min readLesson 3 of 3

IBM i and z/OS side by side

IBM i and z/OS solve similar business problems in different ways. Data sets become objects in libraries, JCL becomes CL, JES becomes subsystems and job queues, and COBOL shares the stage with RPG. Knowing the mapping lets you move between the two platforms and talk to both teams.

Concept by concept

z/OSIBM iNotes
Data set, PDS memberObject in a library (for example a *FILE or *PGM)Libraries do not nest; objects are typed
CatalogLibrary list and QSYSObjects are found through the library list
JCLCL commands and CL programsCL is also a programming language
JES2, initiators, job classesSubsystems, job queues, output queuesSBMJOB puts a job on a job queue
3270, ISPF, SDSF5250, PDM, WRKACTJOB and WRKSPLFBoth send screens a page at a time
Db2 for z/OS, VSAMDb2 for i (physical and logical files, SQL tables)The database is part of the operating system
RACFObject authority and user profilesQSECOFR is the security officer profile
COBOL, PL/I, AssemblerRPG, COBOL, CL, C, JavaRPG is the most common business language

RPG

RPG began around 1960 as a report program generator and is now a full business language. Modern ILE RPG (RPG IV) is written in a free-form style that reads much like other languages, and is used with embedded SQL. ILE, the Integrated Language Environment, lets RPG, COBOL, CL and C modules be bound into one program, much as Language Environment does for z/OS languages.

Files: physical and logical

Traditionally, data is described with DDS (Data Description Specifications): a physical file holds the data, and a logical file gives another view or key order over it, like a view or index. Newer applications define SQL tables, views and indexes directly. Both are the same database underneath.

Skills that transfer

TRY IT YOURSELF

Which language is the most common for business programs on IBM i? (three letters)

Show a hint

It started as a report program generator.

Show the solution

RPG.

Common mistakes

Looking for data sets on IBM i

There are no data sets: look for objects in libraries.

Expecting JCL

Jobs are submitted with SBMJOB and controlled by CL; there is no JCL.

Assuming RPG is obsolete

Modern free-form ILE RPG with SQL is actively used and developed.

What you will see at work

Key terms

Check your understanding.
Take this lesson's quiz and save your progress. Free.

Take the lesson quiz
← Working on IBM iBack to IBM i (AS/400) for mainframe people