IBC233 Lecture 2 Updated Summer 2007 Agenda Real Estate Issues Review System Values What’s ODIN doing? Library List Websphere –Filters –Writing a CL.

Slides:



Advertisements
Similar presentations
Week # 3 AS/400 Library List A library list is:
Advertisements

August 29, Accessing the iSeries and Some Commands.
iSeries Lecture 2 Technology independence Technology independence  change the underlying hardware architecture and add new functionality without disrupting.
Week # 2 - Agenda Types of AS/400 Objects Qualified/Unqualified Names
Creating Computer Programs lesson 27. This lesson includes the following sections: What is a Computer Program? How Programs Solve Problems Two Approaches:
1 Intro to the AS/400 Chapter 5 - CL Programming Copyright 1999 by Janson Industries.
iSeries Lecture 4 ‘*’ (Asterix) When used before an ‘AS/400’ word, indicates that the word is a special value. eg. CRTLIB LIB(MYLIB) TYPE(*TEST) TEXT(‘Test.
Seneca College of Applied Arts & Technology
The AS/400 and the printing process
Agenda What is Computer Programming? The Programming Process
W1L1ops400.ppt1 Welcome! OPS400 students to the POWER SYSTEM Mid-Range Operating System.
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!
Taught by Mohamed Kassim
L1C1introops400.ppt1 Welcome! OPS400 students to the AS/400, iSeries Mid-Range Operating System Used for Commercial applications and as powerful servers.
W1L1ops400.ppt1 Welcome! OPS400 students to the AS/400 Mid-Range Operating System.
Last Week’s Review Any Questions? CL Syntax Command-name (space) parameter.
Mastering the AS/400, Third Edition, author Jerry Fottral 1 Week 2 The System The AS/400 is a multi-user, multi-tasking system -- a system on which many.
1 OPS650 Andre Berns. Welcome! OPS650 students to the follow up of OPS400 On the AS/400 Mid-Range Operating System.
Data Types and RunSQLSTM. Agenda Lab 1 demo this week –Bring your lab notes! Create your own Data Types Label on Authority RunSQLstm.
Introduction to the Adapter Server Rob Mace June, 2008.
ICS124 Session 11 Introduction to AS/ By the end of this section, the student will be able to: Define the major difference between the AS/400 and.
Set path vs current schema. Set Current Schema ‘The CURRENT SCHEMA special register specifies a VARCHAR(128) value that identifies the schema name used.
IBC233 Lecture 2 Updated Winter 2008 Agenda Test next Week – Jan 23 ISeries Architecture CL (Control Language) Library Lists Operations Navigator.
Welcome to BAC344! Business Applications using COBOL Andre Berns.
Chapter 6 Introduction to Defining Classes. Objectives: Design and implement a simple class from user requirements. Organize a program in terms of a view.
Week 4 presentation! This week we will cover editing and the use of the on-board tools provided, SEU and PDM.
1 “User” A person who “uses” the AS/400 You are all “Users” each with an unique Userid A Userid identifies you to the system when you signon or run a job.
W6L1ops400.ppt1 Reviews. 2 Notation types? Difference ? Job commands ?Get help with CMD??? Menu What role does the user profile play?What is your job.
Lecture 3 REVIEW of concepts security assistance profiles Library list
A Guide to SQL, Eighth Edition Chapter Eight SQL Functions and Procedures.
8 Chapter Eight Server-side Scripts. 8 Chapter Objectives Create dynamic Web pages that retrieve and display database data using Active Server Pages Process.
IBC233 Lecture 2 Updated Summer 2006 Agenda Review What’s ODIN doing? Library List Websphere –Filters.
BIF713 Operating System Concepts MS Windows. Agenda 1. What is an Operating System (definition)? 2. Types of Operating Systems 3. Basic Operations: –
1 Project 3 String Methods. Project 3: String Methods Write a program to do the following string manipulations: Prompt the user to enter a phrase and.
1 Week # 4 Introduction to PDM PDM is a workbench environment that lets programmers and system operators navigate the three levels of the AS/400’s object-based.
IBC233 Week 2 Updated Fall 2011 Homework? Finish Lab 1 – Due Today! Send me an with your userid when you are done! Download and install software.
1 Welcome! DBT544 students to the iSeries, DB2 Universal Database And SQL interface.
Jump-Start WDSc-RSE by Robert Arce from PrismaTech. Jump-Start WDSc-RSE Presented by: Robert Arce.
Project Assignment Snake Game/Car Acceleration Meter Min 10 Pages 10 min Presentation Max 5 group members Submitting Date: lab 2:Dec 27, 2014 Lab 3: Dec.
Today’s Agenda Object Management Library List PDM (Programming Development Manager) SEU (Source Entry Utility)
1 Week # 5 Agenda CL Programming CL Commands Job Logs Review for test # 1.
Welcome to IBC233 Cindy Laurin And Russ Pangborn.
W1L2ops400.ppt1 Lecture 1 OPS400 AS/400 / iSeries / eSeries Mid-Range Operating System OS/400.
Welcome to IBC233 Cindy Laurin And Russ Pangborn.
CL Programming with Database Files Updated Summer 2007.
Development Environment
Operating System Concepts
Standard Operating Procedure
How’s assignment 1 coming? Winter 2007
z/Ware 2.0 Technical Overview
Objects, Libraries, and Library Lists
Chapter 8 Text Files We have, up to now, been storing data only in the variables and data structures of programs. However, such data is not available.
Lecture 2 REVIEW of concepts security assistance profiles Library list
Chapter 10 Backup and Recovery.
IBC233- iSeries Business Computing Summer 2006 Welcome!
Objectives Identify the built-in data types in C++
IBC233 Week 2 Updated Winter 2011
Welcome to IBC233 Taught by Cindy Laurin.
Welcome to IBC233 Taught by Cindy Laurin.
Week 4 Updated Winter 2011.
When would you use a Qualified Name to find an object?
Web DB Programming: PHP
Object Oriented Programming in java
IBC233 Week 2 Updated Fall 2011.
Taught by Cindy Laurin And Mohamed Kassim
Welcome to IBC233 Cindy Laurin.
Welcome to BAC344! Business Applications using COBOL
WDSc Websphere Development Studio client
Week 8! Any Questions?.
CL programming (with Display Files)
Presentation transcript:

IBC233 Lecture 2 Updated Summer 2007

Agenda Real Estate Issues Review System Values What’s ODIN doing? Library List Websphere –Filters –Writing a CL program

Real Estate Issues Section B – Friday’s lab is moved to T4042 Section A – Thursday’s lab is full –Please arrive early with your student card and proof that you are in the section

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? Who is PROFPLUTO? What does CL stand for?

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 iSeries 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) Compiled Listing (PGM1) PGM1 *PGM *OUTQ WRKSPLF Successfully Completed *MSGQ DSPMSG

Some CL Commands

Program Development Manager WRKLIBPDM WRKOBJPDM WRKMBRPDM 12 beside a library 12 beside a source file Default is a list of libraries on the library list Default is a list of objects from the last library that you looked at Default is a list of source members (program code) that you last looked at

CL Commands RTVJOBA – ReTrieVe JOB Attributes –Retrieves information about the environment RTVUSRPRF – ReTrieVe USeR PRoFile –Retrieves information about the User profile that started the job SNDPGMMSG –Sends a message to the bottom of the screen DCL – DeCLare CHGVAR – CHanGe a VARiable

ConCATenate Strings FLDA = ‘Cindy ‘ FLDB = ‘Laurin ‘ *CAT –Combines the strings, as they are –FLDA *CAT FLDB? *BCAT –Combines the strings by stripping the trailing spaces off the left string and replacing it with 1 character –FLDA *BCAT FLDB? *TCAT –Combines the string by stripping the trailing spaces off the left string. –FLDA *TCAT FLDB?

Websphere IBM WebSphere Developer Studio Client for System i 6.x (WDSC) Based on Eclipse Technology part of IBM’s suite of products designed to enhance programmer’s productivity PC version of PDM

WebSphere Demo

WebSphere - Seneca Implementation issues workspace stored in /temp folder

Homework?