0% found this document useful (0 votes)
59 views14 pages

ILE Concepts As Joe Friday Would Say, "Just The Facts Ma'am."

This document provides an overview of ILE (Integrated Language Environment) concepts, including: 1) An outline of the timeline from OPM (Original Program Model) to the introduction of ILE concepts on IBM midrange systems in 1993. 2) A dissection of the ILE program model, which uses a main module created with CRTPGM and can include other modules for calculations, selections, formatting, etc. 3) Details on binding types (by copy, by reference, using a binding directory) and service programs in ILE. 4) An explanation of activation groups and how they act like "jobs within a job" by owning resources and determining which ILE programs can

Uploaded by

Ragudeep
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
59 views14 pages

ILE Concepts As Joe Friday Would Say, "Just The Facts Ma'am."

This document provides an overview of ILE (Integrated Language Environment) concepts, including: 1) An outline of the timeline from OPM (Original Program Model) to the introduction of ILE concepts on IBM midrange systems in 1993. 2) A dissection of the ILE program model, which uses a main module created with CRTPGM and can include other modules for calculations, selections, formatting, etc. 3) Details on binding types (by copy, by reference, using a binding directory) and service programs in ILE. 4) An explanation of activation groups and how they act like "jobs within a job" by owning resources and determining which ILE programs can

Uploaded by

Ragudeep
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 14

ILE Concepts

As Joe Friday would say,

“Just the Facts Ma’am.”


Introduction
Bentley Pearson
My Professional Profile.
20 years in IS. 18 years spent in IBM
midrange systems utilizing RPG and
COBOL. The remaining 2 as an IBM main
frame systems programmer using
COBOL/CICS and PL/1 CICS. Used all
RPG compilers and COBOL compilers.
Mostly re-work of ancient applications.
Presentation Outline
• OPM to ILE Concept Timeline.
• ILE Program Model Dissection.
• Binding - by Copy, by Reference, Using a
binding directory.
• Service Programs.
• Activation Groups
• ILE object creation commands
• My version of proper ile implementation.
OPM to ILE Concept Timeline

IBM February 1993. (Excerpt from


Midrange Computing Magazine)
“V2R3 of OS/400 will include MAJOR
changes to the underlying language
support on the AS/400.”
ILE Program Dissection

IL E P ro g ra m M o d e l

P ro g ra m A
M A IN IL E M O D U L E
C r e a t e d u s in g
C R TP G M C om m and

M O D U LE M O D U LE M O D U LE
A1 B1 C 1
D O ES D O ES FO RM ATS
C ALC S S E L E C T IO N S O M E T H IN G
Binding - The magic of ILE

• By Copy
• By Reference
• using a Binding Directory
Service Programs

• A service program is a collection of ILE


procedures that can be statically called
from ILE programs or other service
programs. Service programs are bound
to their callers by reference during the
ILE program creation process.
Activation Groups

• Activation Groups are a critical and confusing


aspect of ILE technology.
• AG’s act like a “job within a job”.
• Each AG may “own” it’s own resources
• ILE programs are created to run in a SPECFIC
AG. (often an application boundary)
Activation Groups: An
Example. This chart illustrates
a named Activation Group.
(AG-A). F ile A
O P P N Q R Y F A p p p lie d
U s e d b y o r S h a re d b y
Pgm A B & C

Pgm Pgm Pgm


A B C
U ses U ses U ses
F ile A O D P F ile A O D P F ile A O D P
ILE object creation commands

• CRTXXXMOD
• CRTPGM
• CRTSRVPGM
Proper ILE implementation

ROI:
Major rewrite?
Have to anyway?
Use a tool to assist?
Analysis:
HOW MUCH DUPLICATE CODE DO I HAVE?
Real World ILE
Implementation

• “Externalize” your processes


• Use a rules based concept to execute
only the processes you need
ILE Concepts,
They’re not VOODOO ANYMORE!
ILE can make you a better programmer;
prepare you for more modern application
development(CGI, component based,
JAVA) and help you to grow your skill set
for years to come.
In the words of Porky Pig

A-be, a-be, a-be, THAT’S ALL


FOLKS!!!!!!!!!!!

You might also like