0% found this document useful (0 votes)
89 views10 pages

Session 1

The document provides an introduction to the AS/400 system from IBM. It discusses that AS/400s run the OS/400 operating system and are known for their stability, integrated database, and high availability. The document outlines the system architecture of AS/400, including its single level storage and lack of distinction between main storage and auxiliary storage. It also provides a chronology of OS/400 version names over time and lists some common AS/400 commands.

Uploaded by

earth v moon
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
89 views10 pages

Session 1

The document provides an introduction to the AS/400 system from IBM. It discusses that AS/400s run the OS/400 operating system and are known for their stability, integrated database, and high availability. The document outlines the system architecture of AS/400, including its single level storage and lack of distinction between main storage and auxiliary storage. It also provides a chronology of OS/400 version names over time and lists some common AS/400 commands.

Uploaded by

earth v moon
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 10

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

COMMANDS ASSOCIATED TO CRTLIB


DSPLIB TO DISPLAY LIBRARY
DSPLIBL TO DISPLAY LIBRARY LIST
DLTLIB TO DELE LIB
CHGCURLIB TO CHANGE THE CURRENT LIBRARY
EDTLIBL TO EDIT LIBRARY
WRKLIB WORK LIBRARY
COMMANDS ASSOCIATED TO CRTUSRPRF
DSPUSRPRF
CHGUSRPRF Temporary changes could be made
CHGPRF Permanent changes could be made

Q6.What is the difference between DSPLIB and DSPLIBL?


Q7.What is the difference between CHGUSRPRF AND CHGPRF?
Q8. How will you list all commands associated with the library?
A8:GO CMDLIB .
In general all commands associated with user profile is GO CMDUSRPRF. Commands are
available in the form of menus in OS/400. To get TCP commands
GO CMDTCP
Generally objects are those which occupy space.
COMMANDS RELATED TO MSGQ
SNDMSG TO SEND MSG
SNDBRKMSG TO SEND BREAK MESSAGE(TO BROADCAST
ANY MESSAGE)

DSPJOB DISPLAY JOB (to see the status of call stack)


DSPWSUSR DISPLAY WORK STATION USER(displays the
current job and the other jobs)
WRKACTJOB TO FIND THE LIST OF JOBS AND THEIR JOBS
STATUS.
WRKSYSSTS WORK SYSTEM STATUS (to find the system
usage)
DSPMSG TO DISPLAY MESSAGES
Q9. How to access the system request menu ?
Q10.what are the three components of a valid job name?
A10.Three components are job name , user name and job number.
Q11. What is the significance of DSPJOB command with respect to jobs running in the
system?
N.B: redbook called ‘Maximun Capacity’ can be used to find the maximum size of library
msgq stating the version of OS as V5R3.
Important menus
GO MAIN
GO MAJOR (HELPS TO ACCESS ALL COMMANDS)…
GO PROGRAM (OPTIONS RELATED TO PROGRAMS)
ASP’S OR DISK POOLS: (Auxilary storage pools)
To is the logical collection of physical disk units. Every AS/400 machine is identified
by a type and a model. ASP 1 is called as system ASP. Library can be created in any of the
ASP’s but in each ASP the library has to be unique and duplication is not allowed inside a
ASP. Logical collection of physical hardware is ASP.
SYSTEM VALUES: System values help in setting up or controlling the environment for
AS/400. Number of system values depends on the version of the OS. There are more than
150 values. System values cannot be created or deleted. They can be changed .
HANDS ON BASIC COMMANDS
TO CREATE A LIBRARY:
CRTLIB (PRESS F4)
A POP UP SHOWS UP:
N.B.:F1 – HELP
CLICK ON THE FIELD OR KEYWORD AND PRESS F1 FOR HELP…THIS IS CALLED CURSOR
SENSITIVE HELP
LIBRARY NAME _______________________
LIBRARY TYPE
DESCRIPTION
PRESS F10 FOR ADDITIONAL PARAMETER
PRESS ENTER
DSPLIB libname
Library list is a runtime attribute .It serves as a search option for the resources associated
with the user’s application.It is synonymous to path in other environments like windows and
other platforms
SYSTEM LIBRARIES – Can be of max 15
CURRENT LIBRARY is 1
USER LIBRARIES – can be 250.
We do also have product libraries
TO RUN A PROGRAM
CALL PROG1
TO CREATE A MESSAGE QUEUE
CRTMSGQ <message queue name>
TO NAVIGATE THROUGH THE IFS
WRKLNK
TO MAKE A DIRECTORY
MD <folder name>
TO COMEBACK FROM A DIRECTORY
CD /(Press enter)
TO CHANGE AS CURRENT LIBRARY
CHGCURLIB <LIBRARY NAME> (being temporary)
TO MAKE CHANGE IN ONE’S OWN PROFILE
CHGPRF <LIBRARY NAME>
If any change has to be effective the user must sign off and sign in to happen. When you
don’t have have a current library it will get place in QGPL
TO SEARCH
WRKOBJ
METHODS TO CHANGE CURRENT LIBRARY
CHGCURLIB <library name>
CHGPRF <profile name>
Sign off and enter the current library on the login which is actually temporary.
TO WORK WITH USER LIBRARY LIST
EDTLIBL
/*used to manipulate all user defined libraries to library list */
SESSION 3
09/09/2K14
TO WORK WITH LIBRARY
WRKLIB
VARIOUS KINDS OF WORKING WITH LIBRARY
CRTLIB <library name>
WRKLIB TO WORK WITH LIBRARY
WRKLIB
VARIOUS KINDS OF WORKING WITH LIBRARY
1.CRTLIB <library name>
2.WRKLIB (PRESS F4)
USE THE OPTION 1 TO CREATE.
IT WILL DIRECT YOU TO CREATE LIBRARY COMMAND.
3.ON THE MAIN MENU USE CREATE OPTION TO DO SO.
Difference between DSPLIB AND DSPLIBL is that the first one is used for diplaying the
library whereas dislibl is used only to display the list.
TO REMOVE A CURRENT LIBRARY TEMPORARILY FROM THE LIBRARY LIST
*CRTDFT <library name>
SYSTEM VALUES
WRKSYSVAL
DSPSYSVAL
QSYSVAL Holds system part of the library list

STEPS TO BE FOLLOWED IN WRITNG A PROGRAM


1.CRTSRCPF – CREATING A SOURCE PHYSICAL FILE (press f4)
Give the file name and library name and (press enter), Once you display the library you will
find the phy. source file . Every source code becomes a member of the source physical file.
PL is where we store our source code, serving as a container for all the source codes.
2.STRPDM – TO START PROGRAM DEVELOPMENT MANAGER (to open and work with
source code)
Use option 3 stating ‘work with members’ to program (press F4).
Give in the details of file and library
3.Press F6 to enter start source entry utility by giving in the details of member name and
program type CLP…..
The window opens and looks similar of that of a notepad

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

You might also like