IBC233 Lecture 2 Updated Winter 2008 Agenda Test next Week – Jan 23 ISeries Architecture CL (Control Language) Library Lists Operations Navigator.

Slides:



Advertisements
Similar presentations
MICS Data Processing Workshop
Advertisements

Week # 3 AS/400 Library List A library list is:
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.
User Training. Step 1 Press Ctrl-I or choose File > Login, this will open the Login window. Figure 1-1 shows the Login window. Figure 1-1 Login Window.
 Copyright I/O International, 2013 Visit us at: A Feature Within from Vendor Payment Terms User Friendly Maintenance 
Week # 2 - Agenda Types of AS/400 Objects Qualified/Unqualified Names
UNESCO ICTLIP Module 4. Lesson 3 Database Design, and Information Storage and Retrieval Lesson 3. Information storage and retrieval using WinISIS.
Access - Project 1 l What Is a Database? –A Collection of Data –Organized in a manner to allow: »Access »Retrieval »Use of That Data.
Guide to Oracle10G1 Introduction To Forms Builder Chapter 5.
A Guide to Oracle9i1 Introduction To Forms Builder Chapter 5.
CICS Basic Commands COBOL programming statements.
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.
DEMONSTRATION FOR SIGMA DATA ACQUISITION MODULES Tempatron Ltd Data Measurements Division Darwin Close Reading RG2 0TB UK T : +44 (0) F :
Session 5: Working with MySQL iNET Academy Open Source Web Development.
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!
User Group Meeting Dashboard Features Products Customers Vendors Quick Find Menu/Search Shortcuts Popups Key Performance Indicators Tasks.
Taught by Mohamed Kassim
1 Lesson 22 Getting Started with Access Essentials Computer Literacy BASICS: A Comprehensive Guide to IC 3, 3 rd Edition Morrison / Wells.
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.
PMS /134/182 HEX 0886B6 PMS /39/80 HEX 5E2750 PMS /168/180 HEX 00A8B4 PMS /190/40 HEX 66CC33 By Adrian Gardener Date 9 July 2012.
Creating a Web Site to Gather Data and Conduct Research.
®® Microsoft Windows 7 for Power Users Tutorial 13 Using the Command-Line Environment.
Copyright © 2007, Oracle. All rights reserved. Managing Concurrent Requests.
IPC144 Introduction to Programming Using C Week 1 – Lesson 2
Chapter Three The UNIX Editors. 2 Lesson A The vi Editor.
Tutorial 111 The Visual Studio.NET Environment The major differences between Visual Basic 6.0 and Visual Basic.NET are the latter’s support for true object-oriented.
Management Information Systems MS Access MS Access is an application software that facilitates us to create Database Management Systems (DBMS)
Lesson 17 Getting Started with Access Essentials
AS/400 Concepts & Tools. Day 1 Introduction to the AS/400 Basic Technical Concepts Programming Environment & Tools Programming Development Manager (PDM)
Shell Script Programming. 2 Using UNIX Shell Scripts Unlike high-level language programs, shell scripts do not have to be converted into machine language.
1 Command Field: Use this field to go to transactions directly by entering the transaction code. The transaction codes can be found either in the SAP Easy.
Linux Operations and Administration
Key Applications Module Lesson 21 — Access Essentials
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.
MS Access 2007 Management Information Systems 1. Overview 2  What is MS Access?  Access Terminology  Access Window  Database Window  Create New Database.
Using Microsoft Visual Studio 2005 Original by Suma Rao Revised by John G. McMahon ( 9/6/2008 )
Lecture 21 Lecture 2: Using TSO and ISPF Tuesday, January 20, 2009.
Week 4 presentation! This week we will cover editing and the use of the on-board tools provided, SEU and PDM.
Chapter Three The UNIX Editors.
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.
Chapter Six Introduction to Shell Script Programming.
Lecture 3 REVIEW of concepts security assistance profiles Library list
®® Microsoft Windows 7 for Power Users Tutorial 3 Managing Folders and Files.
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.
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.
Software Interfaces. Learning Objectives Describe the characteristics of different types of user interfaces. Discuss the types of user interfaces which.
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.
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.
COMPUTER SKILLS MS-ACCESS. Introduction Access is a piece of software known as a database management system. At its most basic level, it can be used to.
Welcome to IBC233 Cindy Laurin And Russ Pangborn.
How’s assignment 1 coming? Winter 2007
IBC233 Week 6.
Chapter 10 Backup and Recovery.
Database application MySQL Database and PhpMyAdmin
IBC233- iSeries Business Computing Summer 2006 Welcome!
OS/400 Command Structure and Control Language
IBC233 Week 2 Updated Winter 2011
The SMS Query Menu System for the iSeries
IBC233 Week 2 Updated Fall 2011.
IBC233 Week 5.
IBC233 Lecture 3 Updated Fall 2011
Manufacture Part Search Template Overview
CL programming (with Display Files)
Presentation transcript:

IBC233 Lecture 2 Updated Winter 2008

Agenda Test next Week – Jan 23 ISeries Architecture CL (Control Language) Library Lists Operations Navigator

ISeries Architecture Logical Machine Physical Machine Application Software OS/400 Machine Interface (MI) Physical Machine

CL Control Language –It’s how you communicate with the ISeries Server –Made up of over 1500 commands based on the English language –Commands can be grouped together in a CL program to perform a certain task.

Command Syntax Command Name—  Parameter(s) eg. WRKOBJPDM LIBRARY01 or WRKOBJPDM LIB(LIBRARY01) A Parameter is a key piece of information that the command needs for execution. Most parameters have default values.

Command Names Based on the English Language Verbs eg. Create, Delete, Copy, etc. Nouns (objects) eg. Library, File, Job Adjectives - used to further define the noun (object) eg. CRTLIB WRKUSRPRF DSPJOBQ CRTCBLPGM

Finding Commands Use the menus (MAJOR, VERB menus) Go directly to the menu associated with the noun or verb e.g. GO CMDCRT or GO CMDOUTQ DSP*

What are the easiest ways to enter Commands? Use the iSeries menus Use the Prompt Screens (F4)

CL Syntax Keyword –Each command parameter has a keyword or label associated –Keyword notation assigns the parameter value to the parameter with the given keyword Positional Notation –Assigns the parameter value to each parameter in order

WRKOBJPDM Parameters: –Library (LIB) –Objects (OBJ) –Object Type (OBJTYP) –Object Attribute (OBJATR) WRKOBJPDM QCLLESRC –Is positional notation and will work with objects using PDM on library QCLLESRC WRKOBJPDM OBJ(QCLLESRC) –Is keyword notation and will work with all objects in the previously used library that have the name QCLLESRC)

Question How would you find the keyword for the DATE and USER parameters used in the command to retrieve job attributes? How would you find all the keywords of a command to display your job log (the history of your job)?

Question What would you type to send the “Hi Friend’ to the message queue for DB233C40?

Steps to Creating a CL Program 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

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.

Demo “MARKS” Application See in done in C See it done using a display file and a CL program

Input/Output Screen:

Constants and Attributes ‘Constants’ are basically the words that you want displayed on the screen. Examples of constants would be Screen Title, showing available function keys. Attributes define how constants and other fields are displayed on the screen. Each field on the screen has an attribute byte or properties.

Designing your screen Use constants to give the user information Define your data (input/output) fields –Fields must be identified as input, output or both –They must declared as character or numeric –Length and if numeric, no. of decimal places must be defined Date, Time or User constants can be used to display system values.

Designing Screens Start IBM WDSC – Code Designer Find the following Icons –Create named field –Create date constant –Create time constant –Create text constant Use Properties to change named field attributes

Naming Data Fields It is important to name each of the data fields. These names will become the variable names when used in a program.

Changing Display Options Right Click on entity Click on Properties

Enabling Function Keys Click on the icon – Show record Properties Click on CA/CF Click on either CA to create a CA function key or CF to create a CF function key Click on the function Key Click on the parameters function key

Demonstration

Testing Display Files – Screen Design Aid Check compile listing to make sure it’s OK STRSDA, Option 3: Test Display File Enter the Display File Name Set the indicators and data fields Press enter to see how it looks Repeat the last 2 steps as needed

For next Week: