1 / 23

IBC233

IBC233. Lecture 1. Signing On (Lab 0) & Lab 1. Were you successful? Any problems ?. Different types of Screens. Menu List Command Entry Information Can you easily identify the different kinds of screens that you come across. OBJECTS. LIBRARY -> MOHAMED

bendek
Download Presentation

IBC233

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. IBC233 Lecture 1

  2. Signing On (Lab 0) & Lab 1 • Were you successful? • Any problems ?

  3. Different types of Screens • Menu • List • Command Entry • Information • Can you easily identify the different kinds of screens that you come across.

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

  5. Objects have types or identifiers Library *LIB User Profile *USRPRF Program *PGM File *FILE

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

  7. System vs Subsystem • System = ODIN • Subsystem is a logical grouping of resources

  8. Types of Jobs • Interactive • Batch

  9. 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

  10. CL Syntax Command-name (space) parameter

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

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

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

  14. Naming of Commands cont’d • 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

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

  16. 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

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

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

  19. 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.

  20. Library List cont’d • Determine where a Job finds Objects

  21. Library Lists cont’d • Don’t rename or delete your current Library! • When would you want to rename a Library?

  22. Before the Lab • Reread Chapter 2 • Print Lab 2

  23. Before Next Class • Do the Review Questions for Chapter 2 • Read Chapter 3

More Related