1 / 27

iSeries

iSeries. Lecture 2. Technology independence. Technology independence  change the underlying hardware architecture and add new functionality without disrupting customers.

slone
Télécharger la présentation

iSeries

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. iSeries Lecture 2

  2. Technology independence • Technology independence  change the underlying hardware architecture and add new functionality without disrupting customers. • Other manufacturers found ways to incorporate new functions and new hardware designs. Difference  existing application programs cannot use these new capabilities. • Intel [1985]  added 32-bit extensions to the original 16-bit architecture. • Any 16-bit application could still run on the new 32-bit chips, but it ran in a 16-bit mode that did not use any of the 32-bit extensions. • Intel [1997] made a significant change to the architecture when it added the multimedia extension (MMX). • Older applications could run on the new chips but just couldn't use MMX. • PC industry  acceptable to require applications to be rewritten to use the newest hardware functionality

  3. iSeries architecture Data Structure Internal details are hidden [encapsulation] Object

  4. Conventional Machine Interface

  5. iSeries MI Note: There is no memory at the MI

  6. The iSeries' operating system  OS/400 [MI] + SLIC The System Licensed Internal Code [Kernel]

  7. Operating System Functional Split System-wide security is in OS/400, while the authorization to system resources is in the SLIC

  8. Technology-Independent Machine Interface

  9. Objects • how the iSeries uses objects . • iSeries is an object-based system [no inheritance] • This permits only iSeries servers to make technology advances in the hardware, such as storage, memory, and processor technology, while protecting end-users' investments in existing applications

  10. OBJECTS • LIBRARY -> MOHAMED • OBJECT -> QRPGSRC (Source File holds all RPG programs) • MEMBERS -> SALESPGM (Single program source) • RECORDS -> Single line of code in program

  11. Continued ... • LIBRARY/OBJECT (*object type) • ALLOWED • MOHAMED/PAYROLL (*File) • MOHAMED/PAYROLL (*Pgm) • NOT ALLOWED • MOHAMED/PAYROLL (*File) • MOHAMED/PAYROLL (*File)

  12. Different types of Screens • Menu • System Menus (GO XXXXX) • Utility Menus (STRXXX) • User Defined Menus • List (member type *all) • Command Entry (option 3 in PDM) • Information (help)

  13. Prompting • Command prompting • Field prompting

  14. Menu • Menus GO MAIN main menu (F16) GO MAJOR major commands menu (F4) GO VERB action menu GO SUBJECT objects menu GO CMDxxxx verb, noun, function

  15. Menu Questions • Which menu groups together all of the Work With commands? • Which menu groups together all of the commands by subject?

  16. User Profile • Same name as your User ID • Stores your password • Points to your Current Library • Points to your default output queue • Runs your startup programs and menus • Points to the object that stores your default library list • Lets you know the last time your signed on

  17. CL Syntax Command-name (space) parameter

  18. Commands that do not Require the Entry of Parameters • WRKJOB • WRKACTJOB • WRKSBMJOB

  19. Keyword vs Positional Notation Keyword WRKOUTQ OUTQ(PRT01) CRTLIB LIB(MOHAMED) + TEXT(‘Mohameds Library’) Positional WRKOUTQ PRT01 CRTLIB MOHAMED *TEST ‘Mohameds Library’

  20. Naming of Commands • Based on English! • Combination of Verb and Noun CRTLIB Library Create

  21. Naming of Commands • Typically start with the following verbs: CL Verb English Description CALL Call Executes a program GO Go to Executes a Menu CPY Copy Copies a file CRT Create Creates an object DSP Display Displays something about an object WRK Works With Works with an object

  22. CL Commands • Some typical nouns CL Noun English Description LIB Library Object that holds Objects LIBL Library List List of Libraries for a Job OUTQ Output Queue Object that stores Spool Files JOBQ Job Queue Object that stores Batch Jobs to be processed FD File Desc Description of file F File Object that stores data USRPRF User Profile Object that lists attributes about a Sign On Id

  23. CL Commands cont’d • 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

  24. CL Commands • AS400 Menus Menu Description MAIN Main Menu PROGRAM Programmers Menu MAJOR Sorts Commands CMDCPY Copy Commands CMDDSP Display Commands CMDWRK Work With Commands CMDLIB Library Commands CMDMSG Message Commands CMDOUTQ Output Queue Commands CMDUSRPRF User Profile Commands

  25. How do I find the Keywords to a command? • Type the command and press F11

  26. Library Lists • Each job has an attached Library List • Different Types of Libraries: • System: IBM Supplied • Product: Added automatically when an IBM product is used • Current: Defined by an individual user ID User ID’s default Library • User: Non-IBM Supplied Libraries Created by Business to organize programs, files, etc.

  27. Library List • Determine where a Job finds Objects

More Related