IBC233 Week 1 Updated Fall 2010 Homework? Finish Lab 1 – hand in compile listings of the two...

24
IBC233 Week 1 Updated Fall 2010

Transcript of IBC233 Week 1 Updated Fall 2010 Homework? Finish Lab 1 – hand in compile listings of the two...

Page 1: 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!

IBC233 Week 1

Updated Fall 2010

Page 2: 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!

Homework?

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

Page 3: 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

Page 4: 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!

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?

Page 5: 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!

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

Page 6: 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!

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

Page 7: 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!

System Values vs User Profile

• System Values configures ODIN for everyone.

• User Profile customizes ODIN’s configuration for an individual

Page 8: 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!

What’s ODIN Doing?

• WoRK with ACTive JOBs

• System vs Subsystem

• Effects of an infinite loop

Page 9: 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!

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

Page 10: 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!

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

Page 11: 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!

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

Page 12: 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!

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

Page 13: 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!

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.

Page 14: 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!

What is CL?

• What does CL stand for?

• What is the IBM defined acronym?

Page 15: 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!

Steps to Writing a CL Program

Page 16: 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!

Writing a program

CL Compiler

Source Code

QCLLESRC*FILE

(PGM1)

CompiledListing(PGM1)

PGM1*PGM

*OUTQWRKSPLF

Successfully Completed

*MSGQDSPMSG

Page 17: 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!

What does RPG Stand for?

Page 18: 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!

Steps to Writing a RPG Program

Page 19: 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!

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

Page 20: 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!

What does DDS Stand for?

Page 21: 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!

Steps to Writing a DDS Program

Page 22: 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!

DB2 – the database

• Objects created using either DDS coded programs

• Or SQL

Page 23: 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!

DDS – Physical File Demo

Page 24: 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!

Homework?

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