Você está na página 1de 5

AS/400 System Functions (Daily checking) WRKSYSSTS - Work with System Status (Wait at least 5 mins before using

any of the values, Pressing the refresh key, PF5) a. % CPU used. b. % System ASP used, system pool size. Check not over 80%. Would require additional memory. c. Observe page faulting -Fault rate non-DB machine Pool The rate, page faults per second, of non-database page faults against pages other than those designated as database pages. A page fault is a program notification that occurs when a page that is marked as not in main storage is referred to by an active program. d. Active to Wait. (F11). The rate, transitions per minute, of transitions of jobs from an active condition to a waiting condition. (Adjust MAX Active so that 10% of Active->Wait is Wait->Ineligible) DSPMSG MSGQ(*SYSOPR) - Messages from the system operator message queue. Check the "Messages needing a reply" WRKACTJOB - Work with Active Jobs (To check the jobs using the largest amount of CPU, press the F16" key, while the cursor is over the CPU heading). (All jobs on the AS/400 run in memory. To determine which pools your jobs are running in use WRKACTJOB) (Press "F11", Elapsed data, to display the pool number) WRKUSRJOB - Work with User Jobs WRKUSRJOB USER(*ALL) STATUS(*ACTIVE) JOBTYPE(*INTERACT) ASTLVL(*BASIC) (Ability to check what user jobs are running and, as shown above, to send messages to all interactive users "F10=Send message to all") WRKDSKSTS - Work with Disk Status Check the estimated percentage of time the disk unit is being used during the elapsed time. This estimate is based on the number of I/O requests, the amount of data transferred, and the performance characteristics of the type of disk unit. WRKJOBSCDE - Work with Job Schedule Entries Check the last submission date and time.

WRKSBS - Which subsystems are active. (What types of jobs in each subsystem and how many. Press "F11", to display the number of jobs in each subsystem.) Note: DSPSYSVAL QCTLSBSD - QCTL (Controlling subsystem)

Ask your questions about AS/400 at ITKnowledgeExchange.com DSPMSG DSPMSGD WRKMSGF QCPFMSG WRKUSRPRF WRKSBMJOB *JOB WRKACTJOB WRKUSRJOB WRKOBJ WRKSPLF WRKOUTQ DISPLIB EDTLIBL ADDLIBLE Library Name STRPDM STRDBG ADDBKP RMVBKP ENDDBG Displays messages in queue Displays description of messages, ie CPF messages Displays contents of MONMSG file Can work with specified user's profile Displays my jobs for the current session Displays all active jobs Displays list of my jobs to work with Work with an object. Use *ALLUSR in qualified name to skip Q libraries Displays spool files Displays members in specified OUTQ Displays contents of specified library Allows addition and deletion of libraries to and from list Add library to current list Start PDM Start Debug Add a break point and variables to monitor in debug Remove a break point in debug End Debug

STRDBU

Start DBU (Database Utility) Look at and make changes to the database Runs DBU without the above command. ADDLIBLE DBU41 *LAST before using Start DFU (Data File Utility) Many of the same functions of DBU Displays file field descriptions Displays file description for specified file Displays member of a physical file Displays contents of database file. Must add TAATOOL to library list before using this command Display the files used in a program and which libraries the program was compiled over Will allow printing a range of pages from a member in the specified OUTQ. Must add PRTRNG to library list before using this command Mark object in spool file with 2 for change. Type this on the command line. Look at scheduled jobs Run query on a file with no parameters Shows logicals related to a physical file

DBU Qualified Name

STRDFU DSPFFD DSPFD DSPPFM

DSPDBF

DSPPGMREF

PRTRNG

OUTQ(PRINTER) WRKJOBSCDE RUNQRY QRYFILE(LIB/FILE) DSPDBR LIB/FILE Miscellaneous:

F4 on a command line will take you to the Major Commands Menu F9 on a command line will retrieve prior commands

F16 Displays User Defined Options To compile a program without generating a new source object enter 14 for compile then F4. Press F10 for additional parameters. Under source listing options put *NOGEN To end a job without creating a log. Enter the 4 and press F4, How to end *IMMED, Maximum log entries 0

Você também pode gostar