ibc233 week 1 updated fall 2010 homework? finish lab 1 – hand in compile listings of the two...

Post on 11-Jan-2016

216 Views

Category:

Documents

1 Downloads

Preview:

Click to see full reader

TRANSCRIPT

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!

Agenda

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

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?

News Item 2007

• IBM Unleashes World's Fastest Chip in Powerful New Computer

• This processor doubles speed without adding to energy 'footprint,' enabling customers to reduce electricity consumption by almost half; Enough bandwidth to download entire iTunes catalog in 60 seconds

• Power Systems based on Power 6 Processors

Name that Server?

Our Server Machine Name Operating System Name

ODIN AS/400 OS/400

iSeries OS/400

system i i5/OS

ZEUS Power Systems IBM i

System Values vs User Profile

• System Values configures ODIN for everyone.

• User Profile customizes ODIN’s configuration for an individual

What’s ODIN Doing?

• WoRK with ACTive JOBs

• System vs Subsystem

• Effects of an infinite loop

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

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

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

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

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.

What is CL?

• What does CL stand for?

• What is the IBM defined acronym?

Steps to Writing a CL Program

Writing a program

CL Compiler

Source Code

QCLLESRC*FILE

(PGM1)

CompiledListing(PGM1)

PGM1*PGM

*OUTQWRKSPLF

Successfully Completed

*MSGQDSPMSG

What does RPG Stand for?

Steps to Writing a RPG Program

RDi

Rational Developer for system i

• Based on Eclipse Technology

• part of IBM’s suite of products designed to enhance programmer’s productivity

• PC version of PDM

What does DDS Stand for?

Steps to Writing a DDS Program

DB2 – the database

• Objects created using either DDS coded programs

• Or SQL

DDS – Physical File Demo

Homework?

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

top related