1 “User” A person who “uses” the AS/400 You are all “Users” each with an unique Userid A Userid identifies you to the system when you signon or run a job.

Slides:



Advertisements
Similar presentations
Week # 3 AS/400 Library List A library list is:
Advertisements

August 29, Accessing the iSeries and Some Commands.
iSeries Lecture 2 Technology independence Technology independence  change the underlying hardware architecture and add new functionality without disrupting.
EEE 435 Principles of Operating Systems Operating System Concepts (Modern Operating Systems 1.5)
Week # 2 - Agenda Types of AS/400 Objects Qualified/Unqualified Names
Chap 2 System Structures.
Operating-System Structures
Second edition Your UNIX: The Ultimate Guide Das © 2006 The McGraw-Hill Companies, Inc. All rights reserved. UNIX – The Process The Process A process is.
Chapter One The Essence of UNIX.
9.1 © 2004 Pearson Education, Inc. Exam Managing and Maintaining a Microsoft® Windows® Server 2003 Environment Lesson 9: Installing and Configuring.
Introduction of z/OS Basics © 2006 IBM Corporation Chapter 5: Working with data sets.
University of Southern California Enterprise Wide Information Systems Getting Started in R/3 Instructor: Richard W. Vawter.
UNIX chapter 03 Getting Started Mr. Mohammad Smirat.
iSeries Lecture 4 ‘*’ (Asterix) When used before an ‘AS/400’ word, indicates that the word is a special value. eg. CRTLIB LIB(MYLIB) TYPE(*TEST) TEXT(‘Test.
Seneca College of Applied Arts & Technology
The AS/400 and the printing process
1 REVIEW Object types - ???? System security levels - ???? Current library - How is it assigned ???? How do you change it??? Qualified naming - What is.
Second edition Your UNIX: The Ultimate Guide Das © 2006 The McGraw-Hill Companies, Inc. All rights reserved. UNIX – Shell Programming The activities of.
Chapter 51 Threads Chapter 5. 2 Process Characteristics  Concept of Process has two facets.  A Process is: A Unit of resource ownership:  a virtual.
W1L1ops400.ppt1 Welcome! OPS400 students to the POWER SYSTEM Mid-Range Operating System.
IBC233 Week 1 Updated Fall 2010 Homework? Finish Lab 1 – hand in compile listings of the two programs at the beginning of next week’s Lab Period!
Taught by Mohamed Kassim
Ch 21 Command Syntax Using the DIR Command with Parameters and Wildcards.
W1L1ops400.ppt1 Welcome! OPS400 students to the AS/400 Mid-Range Operating System.
Last Week’s Review Any Questions? CL Syntax Command-name (space) parameter.
 What is OS? What is OS?  What OS does? What OS does?  Structure of Operating System: Structure of Operating System:  Evolution of OS Evolution of.
Operating Systems.
 Introduction to Operating System Introduction to Operating System  Types Of An Operating System Types Of An Operating System  Single User Single User.
Mastering the AS/400, Third Edition, author Jerry Fottral 1 Week 2 The System The AS/400 is a multi-user, multi-tasking system -- a system on which many.
Copyright © 2007, Oracle. All rights reserved. Managing Concurrent Requests.
Chapter 2: Operating-System Structures. 2.2 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts Chapter 2: Operating-System Structures Operating.
1 OPS650 Andre Berns. Welcome! OPS650 students to the follow up of OPS400 On the AS/400 Mid-Range Operating System.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 3: Operating-System Structures System Components Operating System Services.
ICS124 Session 11 Introduction to AS/ By the end of this section, the student will be able to: Define the major difference between the AS/400 and.
Introduction to the new mainframe © Copyright IBM Corp., All rights reserved. Chapter 4: Working with data sets.
File Management Chapter 12. File Management File management system is considered part of the operating system Input to applications is by means of a file.
Chapter 3 MATLAB Fundamentals Introduction to MATLAB Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
C++ Programming Basic Learning Prepared By The Smartpath Information systems
IBC233 Lecture 2 Updated Winter 2008 Agenda Test next Week – Jan 23 ISeries Architecture CL (Control Language) Library Lists Operations Navigator.
Welcome to BAC344! Business Applications using COBOL Andre Berns.
W6L1ops400.ppt1 Reviews. 2 Notation types? Difference ? Job commands ?Get help with CMD??? Menu What role does the user profile play?What is your job.
Lecture 3 REVIEW of concepts security assistance profiles Library list
Lecture 18 Windows – NT File System (NTFS)
File Systems cs550 Operating Systems David Monismith.
IBC233 Lecture 2 Updated Summer 2006 Agenda Review What’s ODIN doing? Library List Websphere –Filters.
Operating Systems.
1 Week # 4 Introduction to PDM PDM is a workbench environment that lets programmers and system operators navigate the three levels of the AS/400’s object-based.
IBC233 Lecture 2 Updated Summer 2007 Agenda Real Estate Issues Review System Values What’s ODIN doing? Library List Websphere –Filters –Writing a CL.
IBC233 Week 2 Updated Fall 2011 Homework? Finish Lab 1 – Due Today! Send me an with your userid when you are done! Download and install software.
Today’s Agenda Object Management Library List PDM (Programming Development Manager) SEU (Source Entry Utility)
An operating system (OS) is a collection of system programs that together control the operation of a computer system.
Welcome to IBC233 Cindy Laurin And Russ Pangborn.
W1L2ops400.ppt1 Lecture 1 OPS400 AS/400 / iSeries / eSeries Mid-Range Operating System OS/400.
Welcome to IBC233 Cindy Laurin And Russ Pangborn.
Objects, Libraries, and Library Lists
Lecture 2 REVIEW of concepts security assistance profiles Library list
Chapter 2: System Structures
Chapter 2 Processes and Threads Today 2.1 Processes 2.2 Threads
IBC233- iSeries Business Computing Summer 2006 Welcome!
Introduction to Operating System (OS)
IBC233 Week 2 Updated Winter 2011
Handling Spooled Files and Printing Functions
Welcome to IBC233 Taught by Cindy Laurin.
Welcome to IBC233 Taught by Cindy Laurin.
Chapter 2: System Structures
Why Background Processing?
IBC233 Week 2 Updated Fall 2011.
Taught by Cindy Laurin And Mohamed Kassim
Welcome to IBC233 Cindy Laurin.
Welcome to BAC344! Business Applications using COBOL
Presentation transcript:

1 “User” A person who “uses” the AS/400 You are all “Users” each with an unique Userid A Userid identifies you to the system when you signon or run a job Each Userid has a User Profile which describes the user attributes, one of which is authorities.

2 User Profile (*USRPRF) and Object Authorities -The user profile is an object that defines system access for the user: what objects can be accessed, what libraries can be used, what authorities are assigned, and what special groups the user belongs. DSPUSRPRF (F4, F1) The Current library is where any new objects that the user create reside by default. User classes: *SECOFR *SECADM *PGMR *SYSOPR *USER Each user profile class has special default authorities based on the security level. Each object has authorities attached to the object. *ALL *CHANGE *USE *EXCLUDE A group profile (*GRPPRF) is similar to a user's profile except it gives the same set of authorities to multiple users.

3 “Subsystem” Each (there are many) has been allocated a share of the total resources available in the system based on requirements. A Job runs in a specific subsystem. A subsystem is where the system brings together the resources needed to process work of LIKE type. Enable better performance tuning. Described / defined in subsystem descriptions. (*SBSD). Most are started at IPL time.

4 System vs Subsystems Access the WoRK with ACTive JOB Command to see the difference System is the entire AS/400 Sub-System is a logical grouping of system resources designed to process jobs with similar requirements and demands on the resources.

5 “Jobs and subsystems” Each Job runs in a specific subsystem based on type. A subsystem is where the system brings together and prioritizes the resources needed to process work of LIKE type to optimize performance.

6 Consists of a set /group of related (one or many) programs Receives all of its attributes from one or all System values, User profile, a job description, inheritance such as name, library list, datefmt, queue, output - run priorities, message logging level, printer. We use the QDFTJOBD (IBM supplied) as a default job description here at Seneca. Commands DSPJOB, WRKJOB, CHGJOB related commands CRTJOBD, WRKJOBD, CHGJOBD A JOB

7 JOBS - HOW INVOKED? Signing on and starting an interactive session Called by another JOB. (spawned) Automatic system function SCHEDULED once or repetitively

8 Job Inheritance Attributes / properties are passed on from the initiating / spawning job The initial Job (starting session) inherits attributes from other sources such as System values, values from a user profile and from a job description are retrieved.

9 JOB TYPES Batch typically a series of programs to be executed consecutively Back up, Month end SBMJOB CMD(CALL PGM(ARPOST) PARM(DB400A01)) Interactive on line real time processing - a dialogue between users and programs CALL PGM(ARPOST) PARM(DB400A01)) Spooled can be input or output - retrieved or send to queues WRKSPLF Communication - started by a request from a remote system to initialize a program and allocate resources

10 the best known are Interactive jobs run in subsystem QINTER Batch jobs run in subsystem QBATCH

11 INTERACTIVE (USER) High run time priority on job queue (20) QUICK response Low resource requirement (memory – disk) Some Types of jobs BATCH NO interactivity (only messaging) Low run time priority on job queue (50) High resource requirement (memory – disk – media) CLI – Command line interface Batch, Daemons, cron In UNIX

12 “Interactive Jobs” also called sessions it begins when a user signs on to the system and ends when they sign off. Has interaction between the user and the AS/400, similar to a conversation (a polite conversation!). Input entered via the work station.

13 “Batch Jobs” Runs in the background. No interactive input from the screen, receives data from files or data communication. Generally uses a lot of resources. Submitted / initiated by ANY job e.g. a program compile Communicate with the system through messaging.

14 Queues A queue is a line-up! A place where things wait. Examples of AS/400 queues: –job queues: where batch jobs wait –message queues: where messages wait –output queues: where spool files wait to print Controlled by –Run time priority –Position in Stack –Etc

15 CL - Control Language Used from the command line - interactively or in CL programs (Scripting in UNIX) which can be called from - the command line - A Command directly - From within other programs in either batch or interactive mode

16 “Objects” anything on the AS/400 that has a name and takes up space in storage and is not of a temporary nature and has action” on Unix/Windows, everything is a file on AS/400, everything is an object on Windows, files have extensions (.txt) on AS/400 objects are of TYPE and subtype Common object types include: –libraries, files, job queues, programs

17 *ALL *CTLD *AUTL *DEVD *DOC *DTAARA *CMD *DTAQ *FILE *LIND *MENU *MSGQ *JOBQ *LIB *OUTQ *QRYDFN *SBSD *PGM *USRPRF Some OBJECT type identifiers are (special values)

18 Data Storage Hierarchy Library Files Members contain data

19 “Libraries” Library: an object whose purpose is to ‘store’ and index other objects. ie. objects are ‘stored’ in libraries. Exactly like a directory in Unix/Windows however you do not have libraries within libraries on the AS/400 (one exception).

20 Files - type *FILE Are objects that store data subtypes / attribute PF-DTA DATA file ie. customer file: customer #, address, billing info etc. for each customer PF-SRC SOURCE file special file that stores a programmer’s source code (scripts)

21 File Members Source files have many ‘members’ one member for each source (script) program PDM (Prog Dev Mgr) gives easy access to a programmer’s stuff (libs/files/mbrs)

22 Library Lists type *LIBL A list of Libraries, in order of importance Similar to the DOS ‘Path’ concept Each Job has it’s own library list (Can be inherited) It determines where a Job finds Objects when SIMPLE naming is used

23 Library Lists cont’d A Library List consists of 4 parts: –System Libraries (up to 15) –Product Libraries (none, 1 or 2) –Current Library(1 only) –User Library ( remaining) Your library list can have up to 250 entries To view your library list - DSPLIBL

24 Object storage in daily life Public Library *Secretary desk (0-many)1 : NN (root level) *Check out counter (0-many) *Reading corner(0-many) *Magazine stand(0-many) ……(many other object types)….... *Shelves(0-many)1 : NN *DVD’s(0-many) *Audio tapes(0-many) *VHS tapes(0-many) ……(many other types except Shelves) ….... *Books(0-many)1 : NN Book1 Chapter 1(1-many) …….. Book2Chapter 1 ……(more maybe!)……. *Shelves NO OTHERLEVELSNO OTHERLEVELS

25 AS/400 STORAGE HIERARCHY QSYS *USRPRF(0-many) 1 : NN (root level) *DEVD (0-many) *LIND(0-many) *CTLD(0-many) ……(many other types)….... *LIB(0-many) 1 : NN *PGM(0-many) *OUTQ(0-many) *MSGF(0-many) ……(many other types except libraries ) ….... *FILE(0-many) 1 : NN MEMBER1(1-many) MEMBER2 ……(more)……. *FILE *LIB NO OTHERLEVELSNO OTHERLEVELS

26. QSYS (root level). *LIB *USRPRF *DEVD *LIND etc etc etc …(many other types)… (0-many. Of each object type ). Library level. *PGM *OUTQ *MSGF *FILE ……(many other types except libraries ) ….... (0-many) File level NO OTHER LEVELS! ! AS/400 STORAGE HIERARCHY MBR1, MBR2, ….. 1-many

27 Commonly Used Function Keys F1 = Help F2 = Extended Help F3 = Exit command completely F4 = Prompt F5 = Refresh Screen F9 = Retrieve Previous Command F12 = Cancel current level and return to previous level in command F23 = more options F24 = more functions

28 Using ‘ * ‘ On the AS/400 As a special value when used leading a parameter value. Eg. *all, *libl, *curlib As a wild card when used as a trailer in a parameter value. –like in DOS e.g. WRKUSRPRF DC234F*

29 Using F4 and ? The ? is used the same way F4 is. Entered into a command field, it gives you the possible values for the field. Entered before a command, puts you in prompt mode for that command. Eg. ?CRTLIB

30 STORAGE HIERARGY Library: an object whose purpose is to ‘store’ and index other objects. ie. objects are ‘stored’ in libraries. Files: objects that store data Members: Source files have many ‘members’ each source program = one member Data Files: most common 1 member only exception multiple members (multi territory, multi company)

31 Hierarchy of Storing Objects When an object is created, it is stored in the library specified. If no library is specified, it is stored in *CURLIB (current library). If there is no current library, it is stored in QGPL library. Exception: Libraries, Device Descriptions and User Profiles are always stored in library QSYS.

32 How the AS/400 finds Objects When an object is created, it is created ‘in’ a particular library. To access an object, the AS/400 needs to know what library the object is in. You can prompt (CL) Commands for required parameters such as object name and library name. *LIBL is the default entry for a library parameter name request

33 Qualified Name vs SIMPLE Name If you specify an object name and library, it is called a qualified name) e.g. Call OPS400LIB/PGM01 if you just use the object name, it is called a simple name. The *LIBL is used to find the object.e.g. Call PGM01

34 Searching for an object

35 ADDPFM FILE(BBBBB/AAAA) MBR(CCCCC) TEXT('SAMPLE COMMAND') Keyword v.s. Positional Notation ADDPFM BBBBB/AAAA CCCCC 'SAMPLE COMMAND' WRKUSRJOB *ALL *ACTIVE *INTERACT WRKUSRJOB USER(*ALL) STATUS(*ACTIVE) JOBTYPE(*INTERACT) WRKUSRJOB JOBTYPE(*INTERACT ) STATUS(*ACTIVE) USER(*ALL) KEYWORD NOTATION - any order - no space separation between keyword and bracket POSITIONAL NOTATION - parameters must be entered in the exact order of the command syntax - limit to maximum number of parameters entered

36 ADDPFM FILE(BBBBB/AAAA) MBR(CCCCC) TEXT('SAMPLE COMMAND') Keyword v.s. Positional Notation ADDPFM BBBBB/AAAA CCCCC 'SAMPLE COMMAND' WRKUSRJOB *ALL *ACTIVE *INTERACT WRKUSRJOB USER(*ALL) STATUS(*ACTIVE) JOBTYPE(*INTERACT) WRKUSRJOB JOBTYPE(*INTERACT ) STATUS(*ACTIVE) USER(*ALL) KEYWORD NOTATION - any order - no space separation between keyword and bracket POSITIONAL NOTATION - parameters must be entered in the exact order of the command syntax - limit to maximum number of parameters entered