User interfaces

Download Report

Transcript User interfaces

OPS400
Chapter 3
W3L1ops400.ppt
1
Agenda
• Review
• THE USER INTERFACE
SCREEN TYPES ARE ????
• HELP / MENU / ASSISTANCE HOW?
• COMMAND STRUCTURE HOW?
• Source Entry Utility (SEU) - again!
2
“Objects”
• anything on the AS/400 that has a name, takes up space in
storage, can be acted on or executed and is not of a
temporary nature” is an object
• on AS/400 files have members
• Each objects has an associated DESCRIPTION
in which both the physical and logical
attributes (properties) are defined
• Common object types include:
– libraries, data files, job queues, programs, device
descriptions, user profiles
• Common sub types / attributes are
CBL, CL, DSPF, PF, LF , SAVF
3
Some OBJECT type identifiers are
*ALL
*DOC
*FILE
*JOBQ
*SBSD
object name
*CTLD
*AUTL
*DEVD
*DTAARA *CMD
*DTAQ
*LIND
*MENU
*MSGQ
*LIB
*OUTQ *QRYDFN
*PGM
*USRPRF
library
type
subtype or
attribute
INVTRY
INVTRYL1
LABS
LECTSCRN
MARKSDF
MCDATA
DA400D11X
EMPVIEW2
IN100C
ABERNS
ABERNS
ABERNS
ABERNS
ABERNS
ABERNS
ABERNS
ABERNS
ABERNS
*FILE
*FILE
*FILE
*FILE
*FILE
*FILE
*PGM
*PGM
*PGM
PF
LF
PF
DSPF
DSPF
SAVF
CLP
CBLLE
CBL
4
Object storage in daily life
Public Library
*Secretary desk
(0-many) 1 : NN (root level)
*Check out counter
(0-many)
*Reading corner (0-many)
*Magazine stand (0-many)
……(many other object types)…....
*Shelves
(0-many)
1 : NN
*DVD’s
(0-many)
*Audio tapes
(0-many)
*VHS tapes
(0-many)
……(many other types except Shelves) …....
*Books
(0-many)
1 : NN
Book1
Chapter 1(1-many)
……..
Book2 Chapter 1
……(more maybe!)…….
*Shelves
N
O
O
T
H
E
R
L
E
V
E
L
S
5
AS/400 STORAGE HIERARCHY
QSYS *USRPRF
*DEVD
*LIND
*CTLD
(0-many)
(0-many)
(0-many)
(0-many)
1 : NN
(root level)
……(many other types)…....
*LIB
(0-many)
1 : NN
*PGM
(0-many)
*OUTQ
(0-many)
*MSGF
(0-many)
……(many other types except libraries ) …....
*FILE
(0-many)
1 : NN
MEMBER1
(1-many)
MEMBER2
……(more)…….
*FILE
*LIB
N
O
O
T
H
E
R
L
E
V
E
L
S
6
AS/400 STORAGE HIERARCHY
.
*LIB *USRPRF
QSYS (root level)
.
*DEVD *LIND etc etc etc …(many other types)…
(0-many. Of each object type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . )
.
Library level
*PGM
*OUTQ
.
*MSGF
(0-many)
*FILE
(0-many)
……(many other types except libraries
) …....
File level
MBR1 , MBR2 , …..1-many
NO OTHER LEVELS! !
7
Data Storage Hierarchy In Operations Navigator
8
FILE TYPES
Attribute / subtype
PF-SRC
PF-DTA
LF
DSPF
PRTF
….ETC….
*FILE
Source physical file records (rows)
Record length . . . . . . . . . . . . . . . :
Field Level Information
Data
Field
Field
Type
Length
SRCSEQ ZONED
6 2
SRCDAT ZONED
6 0
SRCDTA CHAR
80
are FIXED LENGTH 92/112/136
92
Record length . . . . . . . . . . . . . . . : 59
Field Level Information
Data
Field
Buffer Buffer
Field
Type
Length
Length Position
EREFNUM ZONED
5 0
5
1
EXTONAME CHAR
20
20
6
Field text . . . . . . . . . . . . . . . : NAME
Coded Character Set Identifier . . . . . : 37
EXTODATE DATE
10
10
26
Date Format . . . . . . . . . . . . . . . : *ISO
Coded Character Set Identifier . . . . . : 37
ELOCATION CHAR
20
20
36
Field text . . . . . . . . . . . . . . . : LOCATION
Coded Character Set Identifier . . . . . : 37
ECOST PACKED
7 2
4
56
Buffer Buffer
Length Position
6
1
6
7
80
13
Field Column
Usage Heading
Both
Both
Both
Field
Usage
Both
Both
Column
Heading
EREFNUM
NAME
Both
EXTODATE
Both
LOCATION
Both
ECOST
9
SCREEN TYPES
10
MAIN
AS/400 Main Menu
System: ODIN
Select one of the following:
1. User tasks
2. Office tasks
3. General system tasks
4. Files, libraries, and folders
5. Programming
6. Communications
7. Define or change the system
8. Problem handling
9. Display a menu
10. Information Assistant options
11. Client Access/400 tasks
MENU SCREEN
90. Sign off
Selection or command
===> go major
.
F3=Exit F4=Prompt F9=Retrieve F12=Cancel F13=Information Assistant
F23=Set initial menu
11
ENTRY SCREEN
used to enter command parameters or user data
remember a parameter is data to a utility
Specify Members to Work With
Type choices, press Enter.
File . . . . . . . . . . QCLSRC
Library . . . . . . . .
ABERNS
Member:
Name . . . . . . . . . *ALL
Type . . . . . . . . . *ALL
F3=Exit
F4=Prompt
Name, F4 for list
*LIBL, *CURLIB, name
*ALL, name, *generic*
*ALL, type, *generic*, *BLANK
F5=Refresh
F12=Cancel
12
Work with All Spooled Files
LIST SCREEN (to drill down with)
Type options, press Enter.
1=Send 2=Change 3=Hold 4=Delete 5=Display 6=Release 7=Messages
8=Attributes
9=Work with printing status
Device or
Opt File
User
__ APVENDOR
ABERNS
__ OP400PF
ABERNS
__ ARTRANPF
ABERNS
__ ARUPDT
ABERNS
__ ASSIGN2
ABERNS
__ ARTRANS
ABERNS
__ QPDZDTALOG ABERNS
__ PGM400D03
ABERNS
__ INVTRY
ABERNS
Queue
ABERNS
ABERNS
ABERNS
ABERNS
ABERNS
ABERNS
ABERNS
ABERNS
ABERNS
Total
Cur
User Data Sts
RDY
RDY
RDY
RDY
RDY
RDY
RDY
RDY
RDY
Pages
4
4
3
6
4
6
2
4
3
Page Copy
1
1
1
1
1
1
1
1
1
More...
Parameters for options 1, 2, 3 or command
===> ______________________________________
F3=Exit F10=View 4 F11=View 2 F12=Cancel F22=Printers F24=More keys
13
INFORMATION SCREEN (help)
........................................................................…………………………………………......
:
All Spooled Files - Help
:
: The Work with All Spooled Files display shows all (or a specified
: portion) of the spooled files that are currently on the system. The
:
purpose of this display is to allow you to find spooled files on the
:
system. This display is shown when you specify the assist level
:
parameter as intermediate, ASTLVL(*INTERMED) on the WRKSPLF command.
:
: You can type an option number next to one or more files. When you
:
then press the Enter key, the function associated with the selected
:
option is performed for each of the selected files.
:
:
If you press the Enter key from this display without typing any
:
other data, you are returned to the previous menu or display.
:
: You can type parameters in the command line if you want to override
: the defaults for the options you typed. You can type parameters
:
More...
: F3=Exit help F10=Move to top F12=Cancel F13=Information Assistant
: F14=Print help
:
:.....................................................................……………….…
.
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
: 14
KEYS
15
Using ‘ * ‘ On the AS/400
• The * (asterisk or star) when used before a
parameter value denotes a special value.
Eg. *all, *libl, *curlib
• When the * is used after a parameter
value, it is a wild card
(just like in DOS/UNIX)
• Eg. WRKUSRPRF DB400C*
16
Commonly Used Function Keys
•
•
•
•
•
•
F1 = Help
F2 = Extended Help
F3 = Exit
F4 = Prompt
F5 = Refresh Screen
F10 = Additional
parameters / different
views
• F9 = Retrieve
Previous Command
• F11 = Keyword toggle
/ different views
• F12 = Cancel step
• F23 = More options
• F24 = More functions
17
Using F4 or ?
• The ? is used the same way F4 is.
• Entered into a command field, it gives you
the possible values for the field.
• Entered before a command, puts you in
prompt mode for that command.
Eg. ?CRTLIB
18
IBM AS/400 Help
 F1 = HELP
Field Level (contextual) or extended
dependent on the cursor location
 F2 = Extended Help
 Internet
19
GO ASSIST
used for routine operational tasks
ASSIST
AS/400 Operational Assistant (TM) Menu
To select one of the following, type its number below and press Enter:
System: ODIN
1. Work with printer output
2. Work with jobs
3. Work with messages
4. Send messages
5. Change your password
10. Manage your system, users, and devices
11. Customize your system, users, and devices
75. Information and problem handling
80. Temporary sign-off
Type a menu option below
F1=Help F3=Exit F9=Command line F12=Cancel
20
GO CL Command navigation
•
AS400 Menus
Menu
MAIN
ASSIST
FILE
PROGRAM
MAJOR
VERB
Description
Main Menu
Operational assistance Menu
All file related menu’s
Programmers Menu
Sorts Commands
Alphabetical menu of commands
VERB based GO assistance (examples there are MORE)
CMDCPY
Copy Commands
CMDDSP
Display Commands
CMDWRK
Work With Commands
CMDLIB
Library Commands
CMDMSG
Message Commands
CMDOUTQ
Output Queue Commands
CMDUSRPRF User Profile Commands
21
Assistance Levels
• Determines how much information is
displayed and how it is formatted.
• Basic, Intermediate, Advanced, default on
USRPRF
• Page 19 in text.
• Try it out for yourself using the WRKSPLF
command and function key F21
22
COMMON VERBS
Add
Call
Copy
Create
Delete
Display
Go
Open
Remove
Save
Send
Start
Submit
Work with
ADD
Call
CPY
CRT
DLT
DSP
GO
OPN
RMV
SAV
SND
STR
SBM
WRK
CL Abbreviation
COMMON NOUNS
Description
Entry
Field
File
Job
Library
List
Message
Object
Profile
Program
Queue
User
CL Abbrevation
D
E
F
F
JOB
LIB
L
MSG
OBJ
PRF
PGM
Q
USR
COMMON ADJECTIVES
Output
Message
Spooled
System
*many nouns can also be
used as adjectives
CL Abbreviations
OUT
MSG
SPL
SYS
Verbs
nouns
adjectives
23
Keyword v.s. Positional Notation
KEYWORD NOTATION
- any order
- no space separation between keyword and bracket
ADDPFM FILE(BBBBB/AAAA) MBR(CCCCC) TEXT('SAMPLE COMMAND')
WRKUSRJOB USER(*ALL)
STATUS(*ACTIVE) JOBTYPE(*INTERACT)
WRKUSRJOB JOBTYPE(*INTERACT)
STATUS(*ACTIVE) USER(*ALL)
POSITIONAL NOTATION
- parameters must be entered in the exact order of the command syntax
- limit to maximum number of parameters entered
ADDPFM BBBBB/AAAA CCCCC 'SAMPLE COMMAND'
WRKUSRJOB *ALL *ACTIVE *INTERACT
24