1 / 24

IBC233 Week 1 Updated Winter 2011

IBC233 Week 1 Updated Winter 2011. Homework?. Finish Lab 1 – hand in compile listings of the two programs at the beginning of next week’s Lab Period! Download and install software. Agenda . Review Name that Server? System Values What’s ODIN doing? Library List RDi Physical Files.

habib
Télécharger la présentation

IBC233 Week 1 Updated Winter 2011

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 Week 1 Updated Winter 2011

  2. Homework? • Finish Lab 1 – hand in compile listings of the two programs at the beginning of next week’s Lab Period! • Download and install software

  3. Agenda • Review • Name that Server? • System Values • What’s ODIN doing? • Library List • RDi • Physical Files

  4. Review • Where will you find course notes? • Where will you find schedules, labs and assignments? • What is Client Access? • Where do you get software for free? • What does CL stand for? • What’s the benefit of using the Wiki?

  5. Name that Server?

  6. Definitions

  7. System Values vs User Profile • System Values configures ODIN for everyone. • User Profile customizes ODIN’s configuration for an individual

  8. What’s ZEUS Doing? • WoRK with ACTive JOBs • System vs Subsystem • Effects of an infinite loop

  9. How the system i finds Objects • When an object is created, it is created ‘in’ a particular library. • To access an object, the iSeries needs to know what library the object is in. • (CL) Commands prompt you for the object name and library name. • *LIBL is the default for library

  10. Library Lists • The list of Libraries through which the iSeries searches to find objects. • Similar to the DOS ‘Path’ concept • Each Job has a library list • *LIBL = library list

  11. 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 ( up to 25) • To view your library list - DSPLIBL

  12. How do Libraries get on your Library List? • When you sign on, your library list is built from: • QSYSLIBL (system value) • QUSRLIBL (system value) • Current library from User Profile • Product libraries are added as needed by the system

  13. 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: Library Descriptions, Device Descriptions and User Profiles are always stored in library QSYS.

  14. Languages that we’ll be Learning • CL (Control Language) • How we communicate with the operating system • Similar idea to Unix Schell • RPG (Report Program Generator) • How we access the database • C does the same thing • DDS (Data Description Specifications) • How we define the Database • CMD – The language we use to write commands

  15. Steps to Writing a CL Program

  16. Writing a program *OUTQ WRKSPLF Compiled Listing (PGM1) Source Code QCLLESRC *FILE (PGM1) CL Compiler PGM1 *PGM Successfully Completed *MSGQ DSPMSG

  17. What does RPG Stand for?

  18. Steps to Writing a RPG Program

  19. RDp Rational Developer for Power Systems • Based on Eclipse Technology • part of IBM’s suite of products designed to enhance programmer’s productivity • PC version of PDM

  20. What does DDS Stand for?

  21. Steps to Writing a DDS Program

  22. DB2 – the database • Objects created using either DDS coded programs • Or SQL

  23. DDS – Physical File Demo

  24. Homework? • Finish Lab 1 – hand in compile listings of the two programs at the beginning of next week’s Lab Period!

More Related