OS/400 Command Structure and Control Language

Slides:



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

User Query Control An Enhancement For AS/400 Query On The IBM iSeries from  Copyright I/O International, 2005 Skip Intro.
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
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
1 REVIEW Object types - ???? System security levels - ???? Current library - How is it assigned ???? How do you change it??? Qualified naming - What is.
Chapter 16 - Monitoring Hardware and Jobs
W1L1ops400.ppt1 Welcome! OPS400 students to the POWER SYSTEM Mid-Range Operating System.
UNESCO ICTLIP Module 4. Lesson 4 Database Design, and Information Storage and Retrieval Lesson 4. Advanced features of WinISIS.
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.
Copyright © 2007, Oracle. All rights reserved. Managing Concurrent Requests.
1 OPS650 Andre Berns. Welcome! OPS650 students to the follow up of OPS400 On the AS/400 Mid-Range Operating System.
AS/400 Concepts & Tools. Day 1 Introduction to the AS/400 Basic Technical Concepts Programming Environment & Tools Programming Development Manager (PDM)
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.
Introduction to Query Part 1. Query Overview Quick Utility Efficient Report Yes! Impress your manager!
Accessing the AS/400 DATABASE Preparation for DATA storage Create a receptacle (file) internal -- in program or direct (output / crtpf) external -- with.
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.
AgVantage Software’s Most Commonly Used Queries Lab - Part 2 Presented by: Mike Smark AgVantage National Conference 2010 Presented by: Mike Smark AgVantage.
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
Introduction to Query Part 3. Query Topics Report Breaks  Totals and subtotals Forms of Output  Detail verses summary Output Types  Data base file.
IBC233 Lecture 2 Updated Summer 2006 Agenda Review What’s ODIN doing? Library List Websphere –Filters.
Preparation for and Accessing the AS/400 DATABASE.
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.
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.
Fab25 User Training Cerium Labs LabCollector - LIMS Lynette Ballast.
IBM I TIPS AND TECHNIQUES A HODGE PODGE OF HELPFUL IBM I INFORMATION PROVIDED BY LAURA AND OTHER COMMUNITY MEMBERS PRESENTED BY LAURA.
W1L2ops400.ppt1 Lecture 1 OPS400 AS/400 / iSeries / eSeries Mid-Range Operating System OS/400.
Emdeon Office Batch Management Services This document provides detailed information on Batch Import Services and other Batch features.
3 A Guide to MySQL.
Practical Office 2007 Chapter 2
Messages, Logs, and Cleanup
Operating System, Licensed Program Products, and PTFs
Chapter 16 Basic Trouble Shooting, Problem solving and Using Electronic Customer Support (ECS)
Chapter 6 Chapter 6 - Summary.
Security and Security System Values
How’s assignment 1 coming? Winter 2007
IBC233 Week 6.
Exploring Microsoft Office Access 2007
Objects, Libraries, and Library Lists
Lecture 2 REVIEW of concepts security assistance profiles Library list
European Computer Driving Licence
Chapter 10 Backup and Recovery.
Administrator Training
Guide To UNIX Using Linux Third Edition
Starting and Stopping the AS/400
Chapter 13 Subsystems.
IBC233 Week 2 Updated Winter 2011
Handling Spooled Files and Printing Functions
Recommended Budget Reductions
For a new user you must click on the “Registration for Generator” link
The SMS Query Menu System for the iSeries
Online Claim Submission – Enhancements/Internal Training
Access Lesson 2 Creating a Database
When would you use a Qualified Name to find an object?
Aleph Beginning Circulation
Lesson 23 Getting Started with Access Essentials
European Computer Driving Licence
IBC233 Week 2 Updated Fall 2011.
Welcome to BAC344! Business Applications using COBOL
IBC233 Week 5.
CL programming (with Display Files)
Presentation transcript:

OS/400 Command Structure and Control Language Chapter 3 OS/400 Command Structure and Control Language

Understanding AS/400 System Operations CL Command Name CRTLIB Noun (object of the action) “Library” Verb (action) “Create” Understanding AS/400 System Operations

Understanding AS/400 System Operations Verbs or Action Verb/Action Cl Abbreviation Add ADD Release RLS Change CHG Remove RMV Clear CLR Restore RST Create CRT Retrieve RTV Copy CPY Save SAV Delete DLT Send SND Display DSP Submit SBM Hold HLD Work with WRK Verbs and Action works generally consist of: Three letters Most significant non-repeating consonants Understanding AS/400 System Operations

Understanding AS/400 System Operations Nouns Noun CL Abbreviation Configuration CFG Member MBR Command CMD Message MSG Description D Object OBJ Entry E Queue Q File F Source SRC Job JOB Spool SPL Library LIB Subsystem SBS List L System SYS Nouns generally are: 1-4 characters Understanding AS/400 System Operations

Verbs, Nouns and Adjectives CL Abbr. Meaning ACT Active CUR Current BRK Break PRF Profile EDT Edit STR Start PRT Printer WRK Work Understanding AS/400 System Operations

Understanding AS/400 System Operations Practice Verbs Verb CL Abbr. Create Remove Work Copy Display Save Change Restore Delete Command Retrieve Move Create CRT Work WRK Display DSP Change CHG Delete DLT Retrieve RTV Remove RMV Copy CPY Save SAV Restore RST Command CMD Move MOV Understanding AS/400 System Operations

Practice Nouns and Adjectives Word Abbr. File User Object Profile Library Queue Physical Message Description System File F Object OBJ Library LIB Physical P Description D User USR Profile PRF Queue Q Message MSG System SYS Understanding AS/400 System Operations

Command With Adjective CHGCURLIB Noun (object of the action) “Library” Adjective (qualifier) “Current” Verb (action)”Change” Understanding AS/400 System Operations

Understanding AS/400 System Operations Common CL Commands Command Meaning CRTLIB Create Library CPYF Copy File WRKSPLF Work with Spool Files CRTSRCPF Create Source Physical File Understanding AS/400 System Operations

Understanding AS/400 System Operations Practice Commands Command Meaning WRKACTJOB DSPJOBD DLTPF CHGMSGQ WRKACTJOB Work with Active Jobs DSPJOBD Display Job Description DLTPF Delete Physical File CHGMSGQ Change Message Queue Understanding AS/400 System Operations

Understanding AS/400 System Operations Practice Abbr. Meaning ADD CHG DSP DLT SND WRK SAV RST SRC M ADD Add DSP Display SND Send SAV Save SRC Source CHG Change DLT Delete WRK Work RST Restore M Member Understanding AS/400 System Operations

Understanding AS/400 System Operations Practice Abbr. Meaning CRT RTV HLD RMV RLS SBM CPY STR CRT Create HLD Hold RLS Release CPY Copy RTV Retrieve RMV Remove SBM Submit STR Start Understanding AS/400 System Operations

Understanding AS/400 System Operations Practice Commands Command Meaning CRTLIB CPYF CRTSRCPF CRTDUPOBJ CRTPF RNMOBJ CRTLF ADDLFM DSPPFM ADDPFM CRTLIB Create library CRTSRCPF Create Source Physical File CRTPF Create Physical File CRTLF Create Logical File DSPPFM Display Physical File Member CPYF Copy File CRTDUPOBJ Create Duplicate Object RNMOBJ Rename Object ADDLFM Add Logical File Member ADDPFM Add Physical File Member Understanding AS/400 System Operations

Understanding AS/400 System Operations Practice Commands Command Meaning ADDLIBLE STRSDA DSPLIBL WRKSPLF STRPDM WRKOUTQ STRSEU WRKJOBQ STRWTR WRKACTJOB ADDLIBLE Add Library List Entry DSPLIBL Display Library List STRPDM Start PDM (Program Development Management) STRSEU Start SEU (Source Entry Utility) STRWTR Start Writer STRSDA Start SDA (Screen Design Aid) WRKSPLF Work Spool File WRKOUTQ Work Output Queue WRKJOBQ Work Job Queue WRKACTJOB Work Active Job Understanding AS/400 System Operations

Understanding AS/400 System Operations Practice Commands Command Meaning HLDWTR DSPMSG RLSWTR HLDJOB ENDWTR RLSJOB SNDMSG HLDOUTQ SNDBRKMSG RLSOUTQ HLDWTR Hold Writer RLSWTR Release Writer ENDWTR End Writer SNDMSG Send Message SNDBRKMSG Send Break Message DSPMSG Display Message HLDJOB Hold Job RLSJOB Release Job HLDOUTQ Hold Output Queue RLSOUTQ Release Output Queue Understanding AS/400 System Operations

Understanding AS/400 System Operations Practice Commands Command Meaning PWRDWNSYS CHGJOB WRKUSRJOB CHGCURLIB DSPUSRPRF CHGLIB DSPSYSVAL WRKLIB MOVOBJ WRKJOBD PWRDWNSYS Power Down System WRKUSRJOB Work User Job DSPUSRPRF Display User Profile DSPSYSVAL Display System Value MOVOBJ Move Object CHGJOB Change Job CHGCURLIB Change Current Library CHGLIB Change Library WRKLIB Work Library WRKJOBD Work Job Description Understanding AS/400 System Operations

Command Prompt - Values Create Library (CRTLIB)   Type choices, press Enter. Library . . . . . . . . . . . . __________ Name Library type . . . . . . . . . . *PROD *PROD, *TEST Text 'description' . . . . . . . *BLANK_____________________________ ________________ Bottom F3=Exit F4=Prompt F5=Refresh F10=Additional parameters F12=Cancel F13=How to use this display F24=More keys Use F4 to prompt on a command. Note the permissible values for fields Show Default values Define Special Values Understanding AS/400 System Operations

Command Prompt - Keywords Create Library (CRTLIB) Type choices, press Enter. Library . . . . . . . . . . . . LIB __________ Library type . . . . . . . . . . TYPE *PROD      Text 'description' . . . . . . . TEXT *BLANK                     __________________________________________________________________________ Bottom F3=Exit F4=Prompt F5=Refresh F10=Additional parameters F12=Cancel F13=How to use this display F24=More keys Understanding AS/400 System Operations

Understanding AS/400 System Operations Field Prompting Specify Value for Parameter TYPE Type choice, press Enter. Library type . . . . . . . . . . *PROD      *PROD *TEST F3=Exit F5=Refresh F12=Cancel F13=How to use this display F24=More keys Understanding AS/400 System Operations

Contextual Help - Field Create Library (CRTLIB) Type choices, press Enter. Library . . . . . . . . . . . . LIB ____________ Library type . . . . . . . . . . TYPE *PROD        Text 'descrip ................................................................ : Library type (TYPE) - Help : : : : Specifies the type of library being created. : : *PROD : : This is a production library. Database files in : : production libraries cannot be opened for updating if : : a user is in debug mode and he requested that : : production libraries be protected. A user can protect : : all database files in production libraries by : : specifying UPDPROD(*NO) on the Start Debug (STRDBG) : : command to begin testing. However, this protection : : More... : : F2=Extended help F10=Move to top F11=InfoSeeker : F3=Exit F4= : F12=Cancel F20=Enlarge F24=More keys : F13=How to us : : :..............................................................: Understanding AS/400 System Operations

Additional Parameters Create Library (CRTLIB) Type choices, press Enter. Library . . . . . . . . . . . . LIB ___________ Library type . . . . . . . . . . TYPE *PROD       Text 'description' . . . . . . . TEXT *BLANK_________________________ _______________________________________________________________________________ Additional Parameters Authority . . . . . . . . . . . AUT *LIBCRTAUT Auxiliary storage pool ID . . . ASP 1   Create authority . . . . . . . . CRTAUT *SYSVAL    Create object auditing . . . . . CRTOBJAUD *SYSVAL    Bottom F3=Exit F4=Prompt F5=Refresh F12=Cancel F13=How to use this display F24=More keys Understanding AS/400 System Operations

Understanding AS/400 System Operations Command Format Commands written in one of these forms Keyword Positional Combination Understanding AS/400 System Operations

Commands With Parameters Name Parameter Parameter Parameter (value) (value) (value) | | | | CRTLIB LIB(MYLIBR) TYPE(*PROD) TEXT(‘My Library’) / | \ KEYWORD KEYWORD KEYWORD Understanding AS/400 System Operations

Understanding AS/400 System Operations Positional Notation Command Parameter Parameter Parameter Name 1 (LIB) 2 (TYPE) 3 (TEXT) | | / / | | / / | | / / | | / / CRTLIB MYLIBR *PROD ‘My Library’ Understanding AS/400 System Operations

Understanding AS/400 System Operations Combined CRTLIB MYLIBR TYPE(*PROD) TEXT(‘My Library’)   There is a rule to remember when you mix parameter entry types: Once you use your first keyword parameter, you cannot go back to using positional parameters. Incorrect Example: CRTLIB MYLIBR TYPE(*PROD) ‘My Library’ Understanding AS/400 System Operations

Understanding AS/400 System Operations Skip Parameter CRTLIB MYLIBR TEXT(‘My Library’) Use *N for default parameter. CRTLIB MYLIBR *N ‘My Library’ Understanding AS/400 System Operations

Understanding AS/400 System Operations Major Menu MAJOR Major Command Groups System: BIGBLUE Select one of the following: 1. Select Command by Name SLTCMD 2. Verb Commands VERB 3. Subject Commands SUBJECT 4. Object Management Commands CMDOBJMGT 5. File Commands CMDFILE 6. Save and Restore Commands CMDSAVRST 7. Work Management Commands CMDWRKMGT 8. Data Management Commands CMDDTAMGT 9. Security Commands CMDSEC 10. Print Commands CMDPRT 11. Spooling Commands CMDSPL 12. System Control Commands CMDSYSCTL 13. Program Commands CMDPGM More... Selection or command ===> _________________________________________________________________________ F3=Exit F4=Prompt F9=Retrieve F12=Cancel F13=Information Assistant F16=AS/400 Main menu (C) COPYRIGHT IBM CORP. 1980, 1998. Understanding AS/400 System Operations

Understanding AS/400 System Operations Subject Menu CMDLIB Library Commands Select one of the following: Commands 1. Change Current Library CHGCURLIB 2. Change Library CHGLIB 4. Clear Library CLRLIB 5. Copy Library CPYLIB 6. Create Library CRTLIB 7. Delete library DLTLIB 8. Display Library DSPLIB 9. Display Library Description DSPLIBD 10. Query Document Library QRYDOCLIB 11. Reclaim Library RCLLIB 12. Restore Library RSTLIB 13. Restore S/36 Library Members RSTS36LIBM More... Selection or command ===> _________________________________________________________________________ F3=Exit F4=Prompt F9=Retrieve F12=Cancel F16=Major menu Understanding AS/400 System Operations

Understanding AS/400 System Operations Accessing a Menu Go to Menu (GO) Type choices, press Enter. Menu . . . . . . . . . . . . . . Name, generic*, *ALL Library . . . . . . . . . . . *LIBL Name, *LIBL, *CURLIB... Return point . . . . . . . . . . *YES *YES, *NO Understanding AS/400 System Operations

Understanding AS/400 System Operations Command Menus Access menus grouped by Command GO CMDWRK (all work commands) GO CMDxxx (where xxx is any section of a command) GO CMD* (All commands) GO CMDC* (Commands starting with a ‘C’) Understanding AS/400 System Operations

Understanding AS/400 System Operations Command Entry BIGBLUE Request level: 7 Previous commands and messages: (No previous commands or messages) Bottom Type command, press Enter. ===> __________________________________________________________ _______________________________________________________________ F3=Exit F4=Prompt F9=Retrieve F10=Include detailed messages F11=Display full F12=Cancel F13=Information Assistant F24=More keys Understanding AS/400 System Operations

Understanding AS/400 System Operations Command Entry Screen Command Entry BIGBLUE Request level: 4 All previous commands and messages: > /* */ 3 > go cmdprt 3 > call qcmd 4 > CPYF FROMFILE(ASDF) TOFILE(*PRINT) From-file ASDF in *LIBL not found. Copy command ended because of error. 4 > gomajor Command GOMAJOR in library *LIBL not found. Error found on GOMAJOR command. 4 > go Major 4 > Call qcmd End of requests. Bottom Type command, press Enter. ===> ________________________________________________________________________ ____________________________________________________________________________ __________________________________________ F3=Exit F4=Prompt F9=Retrieve F10=Exclude detailed messages F11=Display full F12=Cancel F13=Information Assistant F24=More keys Understanding AS/400 System Operations