Académique Documents
Professionnel Documents
Culture Documents
Joy Patnaik
Agenda
Introduction to AS/400, iSeries and i5 Getting Help Commands and Nomenclature of Commands Objects Signing-On
What is an AS/400?
Application System/400 - mid-range application system from IBM
Mid-Range - Between microcomputers and mainframe computers in terms of processing speed, storage capacity and the number of users that can be supported at once.
Provides robust support for Multi-user, multi-tasking, security, availability and ease of operation
History of AS/400
AS/400 - result of the Silver Lake project at IBMs Rochester centre (1988)
Jul 1969 IBM introduces S/3 (System 3) IBM makes its debut in systems smaller than mainframes Jan 1975 IBM introduces S/32 32 KB RAM, 13 MB HDD, KBD, Monitor of 240 characters (6 lines x 40 col) Apr 1977 IBM introduces S/34 256 KB RAM, 14 GB HDD, multiple workstation support, support for printers, max 8 local users at a time Oct 1978 IBM introduces S/38 Architecture change, 32 MB RAM, 14 GB HDD, 256 local workstations May 1983 IBM introduces S/36 7 MB RAM, 1.4 GB HDD, 72 local workstations Jun 1988 IBM introduces the first AS/400 (AS stands for Application System, Expansion of S/38 architecture, Provided Application compatibility with S/36)
History continues
Enhanced Series or e-series
1994 development began Foresaw potential of Internet Announced August 1997 New n-way processors up to 12-way First package machine
A server configured and preloaded with SAP software
Capacity On-Demand (CoD) Computing resources permanent and temporary for immediate and future needs
Technology-Independent (TIMI)
System Architecture - 1
Single-Level Storage
No distinction between disk storage (DASD) and main memory One large storage area combining disk storage (DASD) and main memory = single address space = Single-level storage. Object must be in memory to use or operate on OS/400 enjoys very large virtual memory. This enables programs and users asking for data by name / pointer and not by address (Capabilitybased addressing scheme)
System Architecture - 2
AS/400 machine - defined as a software interface in a Layered Architecture
HLL (High-Level Language programs) ISS (Integrated System Services) / OS/400 MI (Machine Interface) Defines a logical (rather than physical) machine LIC (Licensed Internal Code) / VMC (Vertical Microcode) / IMPI (Internal Machine Program Instruction) / Operating System Supervisor Insulates higher layers from any hardware change SLIC (System Licensed Internal Code) / HMC (Horizontal Microcode) True microcode (control solid state circuits) Solid State Hardware
System Overview
Application Software Application Software OS/400 Machine Interface (MI) Vertical Licensed Internal Code (VLIC) Internal Microprocessor Interface (IMPI) Horizontal Licensed Internal Code (HLIC) System Licensed Internal Code (SLIC) OS/400 Machine Interface (MI)
AS/400 Architecture Used in 48-bit CISC-based Systems T 1.1 - AS/400 layered software architecture.
AS/400 Features - 1
Several choices of models
can balance between requirement and financial budget.
64-bit processor
64-bit memory addressing means large working storage memory provides enhanced arithmetic capabilities
OS/400
Object-based OS
Hot-Plugging
Add or Remove an I/O device/card without shutting down the server
AS/400 Features - 2
Single Level Storage
Auxiliary storage is treated as an extension of the working storage OS/400 enjoys very large virtual memory
Integrated RDBMS
DB2/400 provides a high level of security as the control to DB2/400 is controlled by OS/400
AS/400 Features - 3
Most secured operating system of industry
Various logs and Audit trails makes system C2 level secured.
LPAR
Logical Partitioning offers multiple environments on same server
User can run Windows NT, LINUX
Multi-threaded environment
Multiple subsystems manage concurrent jobs.
Applications do not have to be changed or recompiled with the operating system changes and/or hardware changes.
No-pain
versions No-pain transition from older CISC (Complex Instruction Set Computing) microprocessor architecture to newer RISC (Reduced Instruction Set Computing) architecture in 1995 CISC Instruction length variable RISC Equal instruction length From 48-byte to 64-byte word size
Naming of Commands - 1
Based on English! Combination of Verb and Noun
CRTLIB
Create
Library
Naming of Commands - 2
Typically start with the following verbs:
CL Verb
CALL GO CPY CRT DSP
English
Call Go to Copy Create Display
Description
Executes a program Executes a Menu Copies a file Creates an object Displays something about an object Works with an object
WRK
Works With
Naming of Commands - 3
Some typical nouns
CL Noun
LIB LIBL OUTQ JOBQ FD F USRPRF
English
Library Library List Output Queue Job Queue File Desc File User Profile
Description
Object that holds Objects List of Libraries for a Job Object that stores Spool Files Object that stores Batch Jobs to be processed Description of file Object that stores data Object that lists attributes about a Sign On Id
Command Help
How do I find the exact syntax (including keywords) of a command?
Answer: Use AS400 Menus Use AS400 Prompts (F4)
by pressing F4 at a Command line by typing command and pressing F4
CL Commands (Examples)
AS400 Menus
Menu
MAIN PROGRAM MAJOR CMDCPY CMDDSP CMDWRK CMDLIB CMDMSG CMDOUTQ CMDUSRPRF
Description
Main Menu Programmers Menu Sorts Commands Copy Commands Display Commands Work With Commands Library Commands Message Commands Output Queue Commands User Profile Commands
* (Asterix)
When
used before an AS/400 word, indicates that the word is a special value.
eg. CRTLIB LIB(MOOGK1) TYPE(*TEST)
When
Use of the ?
Entering
a command to see all possible values for a parameter. F4 does the same
What is an Object?
OS/400 object is a named unit exists (occupies space) in storage operations are performed on it by the operating system.
Has
Object Structure
Object name, type, owner, library, Object etc. Header Portion This could be a files data, program statements, etc. Function Portion of Object
Object Properties
Name Type Owner name Creation time Save time Text description
Library Attributes Creation date Save date Off-line size Change date
Object Types
Object
Certain
*PGM
(These and other Object Types will be covered in more detail in later sessions. For now think of Objects as the basic building blocks of the AS/400. Anything that isexistent on the AS/400 including anything that you create for an application - is an Object)
Object Attributes
*FILE
Physical
Logical
Display
Printer
ICF
Source
Data
Screen
Menu
Members
object has a name Each object has a set of attributes that describe it
Specific
Generally,
However,
must be created before other operations that use the object are performed. Objects have either a simple, qualified, or generic name.
Will
Storing Objects - 1
All
Some
Storing Objects - 2
When
a user creates an object and a library qualifier can be specified but is not, the object is stored in the user's current job library.
The
user profile for each user specifies the user's current library. The current library will be QGPL if it is not specified otherwise.
Client Access
Windows-based software to access the AS/400 Simulates 5250 terminals of the AS/400 Has 24 function keys
F1-F12 and Shift-F1 thru Shift-F12
Main Menu
Major Menu
Verb Menu
? in Member Parameter
CL Syntax
Command-name (space) parameter
System Request - 1
System Request System: Select one of the following: 1. 2. 3. 4. 5. 6. 7. Display sign on for alternative job End previous request Display current job Display messages Send a message Display system operator messages Display work station user BIGBLUE
10. Start system request at previous system 11. Transfer to previous system 13. Start system request at home system 14. Transfer to home system 90. Sign off More... Selection ______ F3=Exit F12=Cancel (C) COPYRIGHT IBM CORP. 1980, 1998. Figure 2.4 System Request Menu
System Request - 2
Option #1 This option displays a sign on screen for an alternative job. After signing on to an alternative job, you can than use this option to toggle between your primary and secondary job. (Note: only one session is active at a time.) This message CANCELs your previous command (action). This option allows you to display your current job information. This option allows you to display messages that have been sent to you. This option allows you to send a message. This option lets you display message on the QSYSOPR (the system operators) message queue. This option allows you to display information about the jobs running from your workstation. These options apply to networks of systems and may not be displayed on your system. This option allows you to sign-off of the session.
AS/400 Operations
OS400 Command Structure Message Handling Managing Devices Handling Spooled Files and Printing Functions Operating System, Licensed Program Products, and PTFs Security Starting and Stopping the AS400 Work Management and Performance Working with Jobs