last week s review n.
Download
Skip this Video
Loading SlideShow in 5 Seconds..
Last Week’s Review PowerPoint Presentation
Download Presentation
Last Week’s Review

Loading in 2 Seconds...

play fullscreen
1 / 35

Last Week’s Review - PowerPoint PPT Presentation


  • 83 Views
  • Uploaded on

Last Week’s Review. Any Questions?. CL Syntax. Command-name. (space) parameter. CL Syntax. Do all commands have parameters? Why should you always press F4 following a command instead of enter?. Positional or Keyword?. By Keyword, both these are allowed

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'Last Week’s Review' - fadhila


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
last week s review

Last Week’s Review

Any Questions?

slide2

CL Syntax

Command-name

(space) parameter

cl syntax
CL Syntax
  • Do all commands have parameters?
  • Why should you always press F4 following a command instead of enter?
positional or keyword
Positional or Keyword?

By Keyword, both these are allowed

CRTLIB LIB(PAYROLL) TYPE(*TEST) TEXT(‘Payroll Development’)

CRTLIB TYPE(*TEST) TEXT(‘Payroll Development’) LIB(PAYROLL)

positional
Positional
  • Allowed:
    • CRTLIB PAYROLL *TEST
  • Not Allowed
    • CRTLIB *TEST PAYROLL
syntax question
Syntax Question
  • How could you find the keyword syntax to Create a Physical File named EMPPF in Library IBC233LIB with a record length of 120 characters?
menu questions
Menu Questions
  • Which menu groups together all of the Work With commands?
  • Which menu groups together all of the commands by subject?
slide8
Menu
  • Menus

GO MAIN main menu (F16)

GO MAJOR major commands menu (F4)

GO VERB action menu

GO SUBJECT objects menu

GO CMDxxxx verb, noun, function

4 parts of a library list
4 Parts of a Library List

(or the 4 library list types)

  • System (SYS)
  • Product (PRD)
  • Current (CUR)
  • User (USR)
library list commands
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 commands1
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.
data storage hierarchy
Data Storage Hierarchy

MOHAMED - *LIB

IBC233LIB - *LIB

DA233x99 - *LIB

Reviews

*FILE

DA233x99

*OUTQ

Object1

*PGM

Review1

Reviews

*FILE

Review2

Object2

*OUTQ

Review3

Review1

Labanswers

*FILE

Object3

*FILE

Review2

Answers

Lab1

slide13

Objects

Chapter 3

today s lecture
Today’s Lecture
  • Use of ‘*’ on the AS/400
  • Use of ‘?’ on the AS/400
  • AS/400 Architecture
  • Object Types
  • Storing Objects
  • Manipulating Library Lists
  • Spooled Files
  • Work with Jobs Commands
asterix
‘*’ (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*
use of the
Use of the ‘?’
  • Entering a command to see all possible values for a parameter.
  • F4 does the same
objects
Objects
  • Takes up Space on the AS400
  • Has a Description
  • Has an Object Type
object types1
Object Types
  • Certain types of commands only work with certain types of Object Typeseg. DSPUSRPRF
  • Object Type is assigned to the Object at time of creationeg. CRTLIB creates objects with a type of *LIB
as 400 finds objects
AS/400 finds Objects
  • Qualified Names Library/Object IBC233LIB/REVIEWS
  • Using Library Lists! How are Library Lists sequenced?
slide25

AS/400 finds Objects

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

spooled files
Spooled Files
  • AS/400 objects that contain data for printing
  • Are stored in Output Queues
  • To print a Spooled File, the file must be moved to an Output Queue attached to a printer.
how do spooled files get created
How Do Spooled Files get Created?

QINTER

Output Queue

Job

Program/

Command

Spooled File

Report

Layout

Data

*FILE

*FILE

slide29

DC234X99

PRT01

SPLF#1

SPLF#3

SPLF#2

SPLF#4

Change the

Spooled File

to OutQ

PRT01

work with jobs command
Work with Jobs Command
  • To display information about your current Interactive job, simply type: WRKJOB
  • To display information about any other job, use the Work With Job and enter the Job Name and User. Number is Optional.
  • To display your Batch Jobs, use the Work with Submitted Jobs Commands (WRKSBMJOB)
wrkusrjob
WRKUSRJOB
  • Shows you a list of all of the jobs that you own on the system irregardless of the subsystem
  • Status
    • Active = Job is currently running
    • Outq = Job is finished
    • Jobq = Job is waiting to process.
  • To delete a ‘run-away’ job, take option 4
problems
Problems ?
  • Enter GO SENECA on the command line. You will get a menu for information on fixing your user profile if you cannot sign on.
test 1 date
Test 1 Date

IBC233 - Friday Sept. 26, 2003

before next lab
Before Next Lab
  • Reread Chapter 3. Maybe now it makes sense
  • Print Lab 3.
before next class
Before Next Class
  • Do the Review Questions for Chapter 3.
  • Read Chapter 11.