Session 1
Session 1
INTRODUCTION TO AS/400:
AS/400 is from ROCHESTER in MINNESOTTA in US. We have a book called FORTRESS
ROCHESTER. This server is regarded as the CROWN JEWEL in servers. Generally they are very
expensive. Used by banks and insurance companies. Because we have a special application
developed by CSC using COBOL. Concentrated mainly in Japan. Haldirams, USHA, Jain
irrigation, Supreme chairs are a few companies that use them. Mainly used in maintenance
by writing modules.
AS/400 is a hardware that can multiple OS simultaneously. The primary operating
system is OS/400. OS/400 is now called as IBMi. There are four classes of servers in IBM.
They are
* System X- They are based on intel or AMD processer that run by windows and linux
used by small scale companies. Their competitors are DELL , HP ,HCL , WIPRO.
* System P-They use power processer that run by AIX, which is UNIX flavor from IBM,
an derivation from UNIX. Their Competitors are DELL ,HP ,SUN
* System I- They are servers used to run on OS/400. It has no competitors.
* System Z - @mainframes. Bigbrother of AS/400. More reliable with zero downtime
with self healing property running on Z OS. The competitors are FUJITSU , NEC , UNISYS .
System P and System I are now combined together as IBM power systems.
Fact : IBM has sold System X to Lenovo…
AS/400 system INITIAL PROGRAM LOAD(booting is known as)(IPL).Server shut
down is known POWER DOWN.Working with OS/400 is all about 3000 commands. MYSIS is a
developer uses AS/400 for banking solutions .
CHRONOLOGY:
AS/400 running in OS/400-VIRI in 1988.Then it become
AS400e-OS400-V4R2>
iSeries-OS/400-V5R2>
i5-i5OS-V5R3>
System i5-i5OS-V5R4>
System i-IBMi-V6R1>
IBM power systems (or) Power I –IBMi-V7R1.
Though we have the latest V7R2.It has been introduced of late in the
market.AS/400 is a stable technology with a combination of hardware and OS/400.IBM calls
AS/400 systems are called as BLACK BOX by IBM. Used in D 52 , Mission to mars and
intercontinental ballistic missiles.AS/400 is popular for
System Architecture.
Integrated database.
Availability.
SYSTEM ARCHITECTURE – No instance of virus infection is encountered but it may be a
carrier of the virus in AS/400. We have a patent known as SINGLE LEVEL STORAGE. The virus
captures the address of any object from the boot sector to attack. In this tech where we
use AUXILLARY STORAGE as hard disk storage. RAM is known as MAIN
STORAGE .Information keeps paging from the main and auxiliary storage. We have a SINGLE
LAYER STORAGE that makes the main and the auxiliary as one entity that only has the idea
of the address of the object. It is a low level program that hides the addressability of the
object . The switching is faster in between the memories.
Swap file size concept –where the system will treat the hard disk as an extension of RAM
MS EMAIL SERVER-MICROSOFT EXCHANGE
INTEGRATED DATABASE – A database management system helps to storage, retrieving and
working with data in an effective manner. In OS/400 we don’t have any sort of hang in
AS/400 systems. It is the only machine supporting Integrated Databases. Every database has
a DBA who backups , secures and optimizes the data.in AS/400 the OS is integrated with
DB2. DB2 can run on multiple platforms.Db2 running on AS/400 is unique when compared to
running on different platforms. Database is integrated with OS where removal of it is
impossible. In this scenario the DB2 is important for the functionality of the operating
system. The latest version of DB2 is 10.5.
www.texas400.com
www.code400.com. Also in google search information center system i.
AVAILABILITY - The unplanned downtime is very small at 98.9% which is termed as
availability.
CHECKLIST – to comprehend the system by flexible working.
1.INTERFACING – the environment has to be properly set .CUI and GUI are the two different
available user interface. CUI (Character User Interface)is known as GREEN SCREEN known as
5250 Emulator. Emulator is developed by IBM known as PCOM (personal communicator) and
MOCHA is another developer. GUI is called Navigators used only by managers.
2.USER PROFILE ,JOB DESCRIPTION - to log in we say user profile.
3.LIBRARY,LIBRARY LIST,CURRENT LIBRARY
4.JOBS – to see how the job runs in the system.
5.SUBSYSTEMS
6.STORAGE POOLS
7.IFS (Integrated File System)
8.ASP’S OR DISK POOLS – ASP CAN HAVE ONE OR MORE DISKS.
9.SYSTEM VALUES – HOW THE VALUES OF THE SYSTEM AFFECTS THE OVERALL OPERATION.
PERSONAL COMMUNICATOR:
The IP to be used to connect to the server
To open go to Start>ibm communications>start or configure
sessions>configure>host >iseries>telnet 5250 overTCP/IP>link parameters>primary
ip>122.165.66.10.
Commands with which we work in AS/400 are Control Language commands (CL)
To Create A library
CRTLIB (PRESS F4)
A pop up shows indicating the library name and type. These are called the parameters.
To create job description
CRTJOBD OR
just CRTJ*(PRESS ENTER) to get all commands starting with J.
important verbs
CRT – to create
CHG – to change
DLT – to delete
WRK- to work
GRT – to grant
RVK – to revoke
DSP – to display
Basically a folder and library are same but technically different. A library inside a library is
not possible whereas a folder inside a folder is possible in OS/400.
A number of menus is also available in OS/400.
Syntax:
GO<menu_name>
Go MAJOR /*major is the name of the menu*/
Go BACKUP
Go menu a*/*To display all menus starting with a/
Go *all/*To display all menus in OS/400*/
SESSION -2
9/09/2K14
OBJECT:
OS/400 supports different kinds of objects and every object is identified by a type.
Eg- library-object type is lib. Synonymous to file extension type.A few of the have been
listed below.
Library -*LIB
USER PROFILE - *USRPRF
JOB DESCRIPTION - *JOBD
PROGRAM - *PGM
COMMANDS - *CMD
MESSAGE Q -*MSGQ
Q1.How to know the list of all objects supported by OS/400?
A1.
The system libraries and system objects begin with Q that are default (Q-
QUALITY) .Websphere and msquare are middleware that can run on different platforms.
QSYS.LIB comprises of the following libraries:
Everytime on signing in QTEMP is created automatically .. If we login 100 times then we have
100 QTEMP library. QTEMP library is deleted automatically when the user signs out. No
objects should be created in QTEMP.
QHLPSYS – to have help related objects
QUSRSYS – objects are created automatically by default when the user invokes an action
Eg- CRT USRPRF
It automatically creates QURSSYS
QGPL – General Purpose Library. Objects to share are placed in QGPL.
Q2.How will you display all libraries starting with ‘a’?
Q3.How will you list all the objects starting with ‘a’ associated with the library list of your
job?
Q4.How will you list all the objects starting with ‘a‘ from the library QGPL?
Q5. How will you list all the programs starting with ‘a’ from the library that was created by
you?
MSGQ – is to hold messages …it is a repository to store messages.Both stored and
incoming messages.
The list of basic commands is listed below
CRTLIB TO CREATE LIBRARY
CRTUSRPRF TO CREATE USER PROFILES
CRTJOBD TO CREATE JOB DESCRIPTION
CRTMSGQ TO CREATE MESSAGE QUEUE
Md TO MAKE A DIRECTORY
WRKLNK WORK LINK (To navigate through the IFS)
WRKOBJ WORK OBJECT( Equi. To windows search
that can be used to search objects)
CALL To execute programs
QUALIFIED NAME:
CALL library name/member name
In this scenario the current library is removed from the list using CHGCURLIB *CRTDFT….
Library list is built when a user logins. library list (search).
TFRSECJOB – to make second job active
There are two system values associated with the library list
QSYSLIBL-QSYS,QSYS2,QHLPSYS,QUSRSYS(immediately on signing in it happens by creating
the default system values),responsible for creating the system libraries
QUSERLIBL-QGPL,QTEMP
TO CREATE A CL PROGRAM : ie WHEN COMPILE IS GIVE (CRTCLPGM)
Procedure on signing in:
1.Creates the default system library.
2.fetches the current library
3.the default job description is QDFTJOBD.(Q DEFAULT JOB D).
To create a job description
1.CRTJOBD (press f4)
Enter the details and (enter)
2.CHGPRF(PRESS F4)
Press F10 to get the additional parameters and change the job description with the
one(NEW JOBD) that has been created.
3.log out and then log in to find the change being taken effective.
4.NEW JOB D has a parameter called INITIAL LIBRARY whose value
is *SYSVAL denotes QUSRLIBL
TO CHANGE THE JOBDESCRIPTION
CHGJOBD
REMOVE *SYSVAL AND GIVE <library_name1+library_name2+library_name3>.
N.B:QGPL AND QTEMP ARE COMPULSORY in the job description modification…
Whenever a new user profile is created the message queue by the same name of
the user profile is created in QUSRSYS library
TO FIND MSG Q
WRKOBJ <user profile>.
TO SEND A MSG
SNDMSG
We generally have two message queue for a user job…they are workstation message
queue and the user profile message queue by pressing F10 for additional parameters.. The
workstation id is the identity that is automatically generated by the server. Broadcasting
messages can be sent only to the workstations. It can also be sent to the individual message
queue. The most important message queue in the system is the system operated message
queue.Workstation id are manual or automated in a virtual manner.
Delivery modes are
- Notify---(messages are delivered).
- Hold-----(messages are undelivered).
- Default
- Break.---(without even giving dspmsg it immediately appears).
Every message should be given a delivery mode that can be done by CHGMSGQ.
Give in the details of message queue that has to be changed.
Qcmd gives all the commands we have been working with since we have logged in.
User profiles ,libraries, device descriptions , authorization list are all created only in QSYS.
To open system request menu
Shift+esc then enter leaving esc then enter dspjob to attain the functionality.
To break loop shift+esc 2 and then enter
Third kind
Right click ->sysrequest->enter