240 likes | 406 Views
OPS400. Chapter 3. Agenda. Review THE USER INTERFACE SCREEN TYPES ARE ???? HELP / MENU / ASSISTANCE HOW? COMMAND STRUCTURE HOW? Source Entry Utility (SEU) - again!. “ Objects ”.
E N D
OPS400 Chapter 3 W3L1ops400.ppt
Agenda • Review • THE USER INTERFACE SCREEN TYPES ARE ???? • HELP / MENU / ASSISTANCE HOW? • COMMAND STRUCTURE HOW? • Source Entry Utility (SEU) - again!
“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
Some OBJECTtype identifiers are *ALL *CTLD *AUTL *DEVD *DOC *DTAARA *CMD *DTAQ *FILE *LIND *MENU *MSGQ *JOBQ *LIB *OUTQ *QRYDFN *SBSD *PGM *USRPRF object name library type subtype or attribute INVTRY ABERNS *FILE PF INVTRYL1 ABERNS *FILE LF LABS ABERNS *FILE PF LECTSCRN ABERNS *FILE DSPF MARKSDF ABERNS *FILE DSPF MCDATA ABERNS *FILE SAVF DA400D11X ABERNS *PGM CLP EMPVIEW2 ABERNS *PGM CBLLE IN100C ABERNS *PGM CBL
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
AS/400 STORAGE HIERARCHY QSYS *USRPRF (0-many) 1 : NN (root level) *DEVD (0-many) *LIND (0-many) *CTLD (0-many) ……(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
AS/400 STORAGE HIERARCHY . QSYS (root level) . *LIB *USRPRF *DEVD *LIND etc etc etc …(many other types)… (0-many. Of each object type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ) . Library level . *PGM *OUTQ *MSGF *FILE ……(many other types except libraries ) ….... (0-many) (0-many) File level NO OTHER LEVELS! ! MBR1 , MBR2 , …..1-many
FILE TYPES *FILE Attribute / subtype PF-SRC PF-DTA LF DSPF PRTF ….ETC…. Source physical file records (rows) are FIXED LENGTH 92/112/136 Record length . . . . . . . . . . . . . . . : 92 Field Level Information Data Field Buffer Buffer Field Column Field Type Length Length Position Usage Heading SRCSEQ ZONED 6 2 6 1 Both SRCDAT ZONED 6 0 6 7 Both SRCDTA CHAR 80 80 13 Both Record length . . . . . . . . . . . . . . . : 59 Field Level Information Data Field Buffer Buffer Field Column Field Type Length Length Position Usage Heading EREFNUM ZONED 5 0 5 1 Both EREFNUM EXTONAME CHAR 20 20 6 Both NAME Field text . . . . . . . . . . . . . . . : NAME Coded Character Set Identifier . . . . . : 37 EXTODATE DATE 10 10 26 Both EXTODATE Date Format . . . . . . . . . . . . . . . : *ISO Coded Character Set Identifier . . . . . : 37 ELOCATION CHAR 20 20 36 Both LOCATION Field text . . . . . . . . . . . . . . . : LOCATION Coded Character Set Identifier . . . . . : 37 ECOST PACKED 7 2 4 56 Both ECOST
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 90. Sign off Selection or command ===> go major . F3=Exit F4=Prompt F9=Retrieve F12=Cancel F13=Information Assistant F23=Set initial menu MENU SCREEN
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 Name, F4 for list Library . . . . . . . . ABERNS *LIBL, *CURLIB, name Member: Name . . . . . . . . . *ALL *ALL, name, *generic* Type . . . . . . . . . *ALL *ALL, type, *generic*, *BLANK F3=Exit F4=Prompt F5=Refresh F12=Cancel
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 Total Cur Opt File User Queue User Data Sts Pages Page Copy __ APVENDOR ABERNS ABERNS RDY 4 1 __ OP400PF ABERNS ABERNS RDY 4 1 __ ARTRANPF ABERNS ABERNS RDY 3 1 __ ARUPDT ABERNS ABERNS RDY 6 1 __ ASSIGN2 ABERNS ABERNS RDY 4 1 __ ARTRANS ABERNS ABERNS RDY 6 1 __ QPDZDTALOG ABERNS ABERNS RDY 2 1 __ PGM400D03 ABERNS ABERNS RDY 4 1 __ INVTRY ABERNS ABERNS RDY 3 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
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 : : : :.....................................................................……………….… . :
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*
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 Commonly Used Function Keys
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
IBM AS/400 Help • F1 = HELP Field Level (contextual) or extended dependent on the cursor location • F2 = Extended Help • Internet
GO ASSIST used for routine operational tasks ASSIST AS/400 Operational Assistant (TM) Menu System: ODIN To select one of the following, type its number below and press Enter: 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
GO CL Command navigation • AS400 Menus Menu Description MAIN Main Menu ASSIST Operational assistance Menu FILE All file related menu’s PROGRAM Programmers Menu MAJOR Sorts Commands VERB 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
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
Verbs nouns adjectives
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