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.

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
Module 4.2 File management 1. Contents Introduction The file manager Files – the basic unit of storage The need to organise Glossary 2.
Chapter 1: Introduction
Chapter One The Essence of UNIX.
CS Lecture 03 Outline Sed and awk from previous lecture Writing simple bash script Assignment 1 discussion 1CS 311 Operating SystemsLecture 03.
Linux+ Guide to Linux Certification, Second Edition
Seneca College of Applied Arts & Technology
Introduction to the AS/400 AS/400 Mid-Range Operating System.
Systems Software Operating Systems.
CSM-Java Programming-I Spring,2005 Introduction to Objects and Classes Lesson - 1.
Systems Software & Operating systems
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.
Standard Grade Computing System Software & Operating Systems.
Software.
ASP.NET.. ASP.NET Environment ASP.NET is Microsoft's programming framework that enables the development of Web applications and services. It is an easy.
An Introduction to Java Chapter 11 Object-Oriented Application Development: Part I.
Data Types and RunSQLSTM. Agenda Lab 1 demo this week –Bring your lab notes! Create your own Data Types Label on Authority RunSQLstm.
Python From the book “Think Python”
Introduction to Computer Programming Using C Session 23 - Review.
CS CS Computing for Business Instructor:David Tucker GTA:Batul Mirza.
LINUX programming 1. INDEX UNIT-III PPT SLIDES Srl. No. Module as per Session planner Lecture No. PPT Slide No. 1.Problem solving approaches in Unix,Using.
Systems Software Operating Systems. What is software? Software is the term that we use for all the programs and data that we use with a computer system.
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.
Fall 2006Slides adapted from Java Concepts companion slides1 Introduction Advanced Programming ICOM 4015 Lecture 1 Reading: Java Concepts Chapter 1.
Lecture 31 Creating Executable Programs on the Mainframe Tuesday, January 20, 2009.
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.
IBC233 Lecture 1.
Structured COBOL Programming, Stern & Stern, 9th Edition CHAPTER 2 Cobol Language Fundamentals.
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 2 Parts of a Computer System. 2.1 PC Hardware: Memory.
IBC233 Lecture 2 Updated Summer 2006 Agenda Review What’s ODIN doing? Library List Websphere –Filters.
Introduction to the new mainframe © Copyright IBM Corp., All rights reserved. Chapter 6: Using Job Control Language (JCL) and System Display and.
A Python Tour: Just a Brief Introduction "The only way to learn a new programming language is by writing programs in it." -- B. Kernighan and D. Ritchie.
The Development Process Compilation. Compilation - Dr. Craig A. Struble 2 Programming Process Problem Solving Phase We will spend significant time on.
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.
Systems Software. Systems software Applications software such as word processing, spreadsheet or graphics packages Operating systems software to control.
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.
LECTURE 3 Translation. PROCESS MEMORY There are four general areas of memory in a process. The text area contains the instructions for the application.
Welcome to IBC233 Cindy Laurin And Russ Pangborn.
Welcome to IBC233 Cindy Laurin And Russ Pangborn.
A Python Tour: Just a Brief Introduction
INC 161 , CPE 100 Computer Programming
IBC233- iSeries Business Computing Summer 2006 Welcome!
IBC233 Week 2 Updated Winter 2011
Assembler, Compiler, Interpreter
Introduction to javadoc
Introduction to MS-DOS
Compiling and Job Submission
Welcome to IBC233 Taught by Cindy Laurin.
Welcome to IBC233 Taught by Cindy Laurin.
Assembler, Compiler, Interpreter
Introduction to javadoc
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
IBC233 Week 5.
Presentation transcript:

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 Library) When used at the end of a word, indicates a generic combination of alphanumerics (wildcards). eg. WRKLIB TST*

How does the AS/400 find Objects?

iSeries finds Objects Qualified Names Library/Object BTO230LIB/PGM1 Using Library Lists! How are Library Lists sequenced?

When would you use a Qualified Name to find an object? The object exists in two or more libraries on your library list. The object does not exist on your library list. You do not have authority to the object, but want to check if it exists.

iSeries finds Objects Note: Library Descriptions, Device Descriptions and User Profiles are stored in QSYS. All other Object Types can be stored anywhere.

Library List Determine where a Job finds Objects

Library Lists Each job has an attached Library List Different Types of Libraries: –System: IBM Supplied –Product:Added automatically when an IBM product is used –Current: Defined by an individual user ID User ID’s default Library –User: Non-IBM Supplied Libraries Created by Business to organize programs, files, etc.

CL Syntax Command-name (space) parameter

CL Control Language (CL) is a set of commands that you use to control operations and to request system-related functions on the IBM AS/400 computer.

Naming of Commands Based on English! Combination of Verb and Noun CRTLIB Library Create

CL Commands Some typical nouns CL NounEnglishDescription LIBLibraryObject that holds Objects LIBLLibrary ListList of Libraries for a Job OUTQOutput QueueObject that stores Spool Files JOBQJob QueueObject that stores Batch Jobs to be processed FDFile DescDescription of file FFileObject that stores data USRPRFUser ProfileObject that lists attributes about a Sign On Id

CL CL serves purposes comparable to Job Control Language (JCL) on mainframe computers. CL provides much more functionality than JCL. CL is similar to the PC-DOS commands you may use on a PC. DOS operations like copying files, redirecting output, and making directories have direct CL counterparts. CL is very rich in function but it is not considered to be a high-level language (HLL). You would not, for example, write a payroll application using CL.

CL CL commands may be entered into the system interactively on an AS/400 command line or included in a CL program group CL commands together, they may be compiled into a program object or submitted for interpretation during a batch process

CL 1.Using what you know about abbreviated verbs and subjects, identify the function of the following AS/400 CL commands: a.ADDLIBLE b.CHGPGM c.CLRPFM d.RMVMSGD e.DSPOBJAUT

CL 1.What is a source physical file and what does it contain? 2.What steps would you follow to create a CL program? 3.When will the CL compiler not produce a CL program object?

CL programming 1.Here are the four steps typically involved with creating a CL program: 1.Create a source physical file in your library to hold the source code for your CL programs  QCLSRC 2.For each specific program, add a member to the source physical file.  F6 3.Type all the needed CL commands into the source member  SEU 4.Compile the CL program, creating a program object  option 14