IBC233 Lecture 2 Updated Summer 2006 Agenda Review What’s ODIN doing? Library List Websphere –Filters.

Slides:



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

August 29, Accessing the iSeries and Some Commands.
CL programming (with Display Files). Review Display Files Constants Input/Output fields Attributes Activating Function keys.
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
Computer Science A 1: 3/2. Course plan Introduction to programming Basic concepts of typical programming languages. Tools: compiler, editor, integrated.
CIS101 Introduction to Computing Week 09 Spring 2004.
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.
The AS/400 and the printing 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.
Linux Operations and Administration
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.
File Storage Organization The majority of space on a device is reserved for the storage of files. When files are created and modified physical blocks are.
Chapter 0 Getting Started. Objectives Understand the basic structure of a C++ program including: – Comments – Preprocessor instructions – Main function.
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.
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
®® Microsoft Windows 7 for Power Users Tutorial 3 Managing Folders and Files.
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.
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 Lecture 2 Updated Summer 2007 Agenda Real Estate Issues Review System Values What’s ODIN doing? Library List Websphere –Filters –Writing a CL.
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.
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.
Visual Basic.NET Comprehensive Concepts and Techniques Chapter 6 Looping and Multiple Forms.
FILES AND EXCEPTIONS Topics Introduction to File Input and Output Using Loops to Process Files Processing Records Exceptions.
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.
Creating professional PDF documents from basic Spool Files, utilising report definitions, maps and dynamic use of images. (CVTSPLDBF & CVTSPLPDF)
Standard Operating Procedure
How’s assignment 1 coming? Winter 2007
Objects, Libraries, and Library Lists
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++
Introduction to Programming
OS/400 Command Structure and Control Language
IBC233 Week 2 Updated Winter 2011
Welcome to IBC233 Taught by Cindy Laurin.
Topics Introduction to File Input and Output
Welcome to IBC233 Taught by Cindy Laurin.
Week 4 Updated Winter 2011.
When would you use a Qualified Name to find an object?
Introduction to Programming
Introduction to Programming
IBC233 Week 2 Updated Fall 2011.
Taught by Cindy Laurin And Mohamed Kassim
Welcome to IBC233 Cindy Laurin.
Topics Introduction to File Input and Output
Welcome to BAC344! Business Applications using COBOL
IBC233 Lecture 3 Updated Fall 2011
Week 8! Any Questions?.
CL programming (with Display Files)
Presentation transcript:

IBC233 Lecture 2 Updated Summer 2006

Agenda Review What’s ODIN doing? Library List Websphere –Filters

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’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

Library List Commands ADDLIBLE –Adds an entry to a library list to the USER portion of the library list RMVLIBLE –Removes an entry from the USER portion of the library list EDTLIBL –Adds/Deletes/Changes entries on the USER portion of the library list

Library List Commands CHGCURLIB –Changes the Current Library CHGLIBL –Changes the Current Library and allows Add/Change/Delete to the USER portion of the library list. All Library List commands are listed on the CMDLIBL menu.

Question Why would we want to change our library list? Is BAC344LIB a Current Library or a User Library?

Hunt for the program Hello

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.

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

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?

Steps to Creating a CL Program (using Websphere) Create a Source Physical File to hold the code if it doesn’t already exist Create a Source Member in the Source Physical File Type in code Exit and Save Compile

Properties of an Object DSPOBJD

Changing the User Profile Adding an initial program Use the CHGPRF command

Homework?