Sie sind auf Seite 1von 86

The IBM AS/400

A technical introduction
Tom Van Looy
tom@ctors.net
August 200
!"er"ie#

Who am I?

AS/400 history

What is IBM i?

Other environments

Programming

Work management

Exploring the system


$ho am I

AS/400 system programmer !4 years"

#$rrently %in$x sysa&min 'prior(e)*)e"

%in$x an& +BS, $ser

Belgian village
$hy this tal%

AS/400- .0 year anniversary .00/"

0o$ have nothing else to &o 12"

I )ro$ght a system here to play (ith

3ype2mo&el 440.2.00 5eat .067"

77*8 #PW

98 MB main memory /!78!6."

6046 MB ASP 6x7067"

OS/400 :6;.M0 EO% 67/may/.000"

,$t<h =2

I do not re&resent IBM


these are my "ie#s and o&inions'
AS/400 history
AS/400 history

IBM ;o<hester- Minnesota

Mi&range system

,i55erent an& extremely <lose&2so$r<e

Pro>e<t Silverlake

,esigne& )y ,r* ?rank Soltis @7A


(ochester systems

System/6 7484"

System/6. 74B9"

System/64 74BB"

System/6/ 74B/"

System/68 74/6"

?ort Cnox

AS/400 74//"
S/) *+,- .2/
S/)2 *+01- .2/
S/)4 *+00- .2/
S/)2 *+02- .2/
3ontrol 4rogram 5acility *345-
S/), *+2)- .2/
System Su&&ort 4rogram *SS4-
5ort 6no7

S/68

S/6/

Series/7

;S/8000 AID"

Some small IBM main5rames


AS/400 *+22- .2/
!S/400
(enaming

AS/400

AS/400e

eServer iSeries

eServer i9 i9/OS"

System i9

System i

POWE; systems i ! p"

Po(er 8

;ename i9/OS to IBM i


IBM 4o#er systems .)/ .4/ .1/

AID- IBM i- %in$x


$hat is IBM i8
9esign &rinci&les

3e<hnology in&epen&en<e

O)>e<t2)ase& &esign

Ear&(are integration

So5t(are integration

Single2level store
Technology inde&endence

Fot &e5ine& )y har&(are

:M inter5a<e to the system 3IMI"

IMPI 4/)it #IS#" 2G Po(erP# 84)it ;IS#"

7449- save/restore
Technology inde&endence
+---+----------------+ +---+----------------+
| | applic. | | | applic. |
| +------------+ | | +------------+ |
| OS/400 | | | IBM i | |
+----------------+---+ +----------------+---+
| TIMI | | TIMI |
+--------------------+ +--------------------+
| +----------------+ | | +----------------+ |
| | VLIC | | | | | |
| +----------------+ | | | | |
| | IMPI | | | | SLIC | |
| +----------------+ | | | | |
| | HLIC | | | | | |
| +----------------+ | | +----------------+ |
| | 48-bit addr | | | | 64-bit addr | |
| | CISC intr!ac | | | | "ISC intr!ac | |
| | H# | | | | H# | |
| +----------------+ | | +----------------+ |
+----------------------+ +----------------------+
*o&codes- VM :::::::::;
%ernel :::::::::;
*4L/M4-
<:::::::::::: VM *o&codes-
<:::::::::::: %ernel
*3==> 443 AS-
system?s instruction set de@ines all &ointers as +22:Ait
!ABect:Aased design

Only o)>e<ts s$pporte& &ata str$<t$re at MI

Atomi<

Message passing

Every o)>e<t has a message H$e$e

Fot 5$lly OO

Fo s$)<lasses

Fo inheritan<e

Polymorphism minimalisti<
Card#are integration

In5ormation intensive environments

3he move to Po(erP#

S$pport Iava- e2<ommer<e- BI- J

Balan<e& &esign

?ast pro<essing

Eigh )an&(i&th- high per5orman<e I/O

POWE; <apa<ity expresse& in #PW

3P#2# )en<hmark

,isregar&s #PK spee&


So@t#are integration

Se<$rity- <omm$ni<ations- )a<k$p/restore- J

Mo&ern &ata)ase ,B./400"

3emporary/permanent P3?Ls
Single:le"el store

842)it a&&ress spa<e

One large share& storage

#ontains all programs an& &ata

A&&ressa)le 5rom single permanent a&&ress

;e5eren<e )y name or pointer

,onLt (orry (here it resi&es

Fo a&&ress re$se

Fo pro<ess lo<al storage

3ask <reation

#ontext s(it<hing

:irt$al a&&ressing moves o)>e<t into real


memory not a<<essi)le )y programmer"
!ther en"ironments
4ASD

Porta)le Appli<ation Sol$tion Environment

In<orporate& 842)it AID r$ntime env*

Private A&&ress Spa<e Environment

Fot te<hnology in&epen&ent

&oes not talk to 3IMI

sys<all inter5a<e to the S%I#


4ASD

#all PASE 5rom i

MSE #M,Lls /home/tvlL"

#all i 5rom PASE

system NW;COBI%#C OBIM0?I%E"


OBI30PE+?I%E"N

M$ery ,B. 5rom PASE- J

;$n Apa<he- D- ***


Cy&er"isor

Ear&(are s$pport in Po(erP#

%ogi<al Partitioning %PA;"

AID- %in$x- IBM i

#reate& an& manage& 5rom the EM#

,ynami< reso$r<e allo<ation at r$ntime


Management

3(inax o)solete"

Ear&(are Management #onsole EM#"

IP% the system

Servi<e tools

%PA;
+-------+$
| ||
+-------+$ | IBM i ||
| || | || +----+ +----+ +----+
| HMC ||------------%&SP' || | #S | | #S | | #S |
| ||----+ +---| || +----+ +----+ +----+
+-------+/ | | | || /((((/| /((((/| /((((/|
/(((((((/ | | | %CP ' || | | |
| | +-------+/ | | |
))))))) | | |
* +-----------------+ | |
* L,- +------------------------+ |
* +---------------------------------+
)))))))
4rogramming
Languages

#%

;PO

#OBO%

SM%

Pas<al

Iava
!4M> D4M

Original Program Mo&el

Exten&e& Program Mo&el

#- Pas<al- ***

3ranslate into MI programs +POM"

Morphe& into PP# pgmLs )y optimiPing translator

Only <all external

%ate )in&ing
ILD

Integrate& %ang$age Environment

Fe( <ompiler- optimiPing translator- )in&er 5a<ility

O$tp$t +MO,K%E

Pa<kage into +POM- +S;:POM

Early )in&ing
+----------+---------+-------+
| IL. | #ind/01 | Lin23 |
+-------------------+----------+---------+-------+
| ,!tr c/4pilati/n | 5.MO67L. | 5./b8 | 5./ |
+-------------------+----------+---------+-------+
| Bind b9 c/p9 | 5.P:M | 5.3 | 5 |
+-------------------+----------+---------+-------+
| Bind b9 r!rnc | 5.S"VP:M | 5.dll | 5.1/ |
+-------------------+----------+---------+-------+
Ea"a

#ompile& into )yte <o&es #;3I:APOM"

Part o5 the MI

Kse& )y the I:M

Implemente& in S%I#

Fative I:M

PASE I:M
$or% management
LF$

Io)s

Intera<tive <all"

Bat<h s$)mit"

#omm$ni<ation

System

>o)2n$m)er/$ser2name/>o)2name

F$m)ers not re$se&


SuAsystems

#ontrolling s$)system

M#3%SBS, sysval

MBASE

M#3%

MIF3E; intera<tive >o)s"

MBA3#E )at<h >o)s"

M#MF <omm$ni<ation >o)s"

MKS;W;C $ser (ork"

MSE;:E; server >o)s"

MSP% spooling"

Starte& )y MS3;KPPOM sysval"

;estri<te& state

EF,SBS SBS+A%%"

Ba<k$ps- <onsole &isplay r$n in #3%SBS


EoA Gueue?s

Bat<h >o)s are pla<e& on >o) H$e$eLs

Intera<tive >o)s on (orkstation H$e$eLs

S$)systems rea& one or more H$e$eLs

Io) H$e$e )elongs to only one s$)system

Io)s have priority on H$e$e

M$e$eLs are ?I?O


Storage &ools

,ivi&e memory

+MA#EIFE pool

+BASE pool

***

,ynami<

Share& pools

A&>$st paging options +#A%#"

Pool siPe- >o) a<tivity level MP?;A,I sysval"

?ixe& siPe

Private pool
(outing

Io) has a >o) &es<ri)tion +IOB,"

Io) attri)$tes

Fo r$ntime attri)$tes

O$tp$t H$e$e

Io) initial li)rary list

;o$ting &ata

S$)system

;o$ting entryLs

S$)system pool

#lass o)>e<t +#%S"

;$ntime priority

#PK time sli<e


D7&loring the system
!ABects

%i)raryLs +%IB o)>e<t"

#anLt <ontain +%IB o)>e<ts

Ex<ept MS0S- only <ontains +%IBLs

IBM2s$pplie& start (ith M or Q

O)>e<ts

Insi&e +%IB

Max 70 <hara<ters

Fame ! o)>e<t type R $niH$e

EB#,I#
5ile system

Integrate& ?ile System I?S"

:irt$al ?ile System :?S" ar<hite<t$re

MS0S*%IB OS/400"

MOpenSys POSID- DPO"

MOP3 ,:,"

F?S- SMB
Fsers

MSE#O?; S se<$rity o55i<er

A$thority levels

All o)>e<t a$thority +A%%OBI"

A$&iting +AK,I3"

I/O system <on5ig$ration +IOS0S#?O"

Save system +SA:S0S"

Se<$rity a&ministration +SE#A,M"

Servi<e 5$n<tions +SE;:I#E"

Spool <ontrol +SP%#3%"

Oro$p pro5iles
Ha"igating

#omman&s

Men$Ls +MEFK"
The end

3hank yo$ 5or listeningT

Images google"

@7A http=//(((*i)msystemsmag*<om/i)mi/en&pgm/.00//atri$mpho5har&(ork/asset$ploa&5ile808.0/0B*>pg

@.A http=//(((206*i)m*<om/i)m/history/exhi)its/ro<hester/ro<hesterUal)$m*html

@6A http=//(((*nasi*<om/images/i)mUpo(er25amily*>pg

@4A http=//(((*t$g*<a/e)last/li)rary/logoUIBMUPOWE;8UBoP*gi5

@9A http=//(((*p<la$n<hes*<om/entryUimages/040//04/i)mUpo(er9492.*>pg

@8A http=//an&re(s<g*5iles*(or&press*<om/.00//0./i9os2v8r72logo*>pg

@BA http=//(((*go)m$g*<om/images/i)mUi*gi5