Most commonly used AS400 commands

本文档详细列举了AS/400系统中常用的各类命令,包括Domino服务管理、文件操作、安装与备份恢复、目录管理、TCP/IP配置、用户配置管理等。这些命令对于日常维护和管理工作至关重要。
 

Below is a list of generally-used AS/400 commands. On the AS/400, everything is referred to as object. Each object has a type; ie, library, file, outq, msgq, etc. The first hierarchy in the structure is the library. Then different objects; ie, message queues, output queues, files, source files, physical/logical files, and programs (which are created from a source member in a source file), are stored or placed in the library. Physical files or database files can contain individual members.

____________________________________________________________________________

The first group are the Domino for AS/400 commands. These commands are used when working with servers.

Domino Commands

 CFGDOMSVR         Configure Domino Server

 ENDDOMSVR         End Domino Server     

 STRDOMSVR         Start Domino Server          

 WRKDOMCSL        Work with Domino Console    

 WRKDOMSVR       Work with Domino Servers  

 

______________________________________________________________________________________________________

The FILE commands are used when working with the different kinds of files. Source physical files contain the source members of a program, for instance. Spooled files contain the output from a job; ie, joblog. 

 

 FILE Commands

             

 CHGSAVF             Change Save File

 CPYF                     Copy File                                

 CRTPF                  Create Physical File

 CRTSAVF              Create Save File

 CRTSRCPF            Create Source Physical File

 DSPSAVF              Display Save File 

 DSPSPLF              Display Spooled File                          

 DLTF                     Delete File

 EDTF                     Edit File

 WRKSPLF             Work with Spooled Files    

                  

______________________________________________________________________________________________________

The next group of commands are used when installing/loading/deleting products from the system, saving and restoring libraries or a specific object in a library to tape, preparing a tape (INZTAP) to save libraries or objects onto it, and displaying/loading PTFs,

 

INSTALL, HARDWARE/SOFTWARE & SAVE/RESTORE Commands

            

DLTLICPGM        Delete Licensed Program 

DSPSFWRSC      Display Software Resources

DSPDRVLVL       Display Driver Level (Requires library QDEVELOP)    

DSPPTF              Display Program Temporary Fix

DSPTAP              Display Tape

INZTAP               Initialize Tape 

INSPTF                Install Program Temporary Fix

LODPTF              Load Program Temporary Fix

PWRDWNSYS   Power Down System        

RSTLIB               Restore Library    (from a tape or *SAVF)         

RSTLICPGM       Restore Licensed Program  (from a tape or *SAVF) 

RSTOBJ              Restore Object  (from a tape or *SAVF)

SAVLIB               Save Library (to a tape or *SAVF)          

SAVOBJ              Save Object (to a tape or *SAVF) 

STRPRTWTR     Start Printer Writer  (used to start a printer attached to a system)                                         

WRKHDWRSC    Work with Hardware Resources

WRKCFGSTS      Work with Configuration Status

 

______________________________________________________________________________________________________

These  commands work on libraries and some of the different types of objects which can exist in the library. Included here are the basics to create/copy/delete a few specific types of objects.    

 

LIBRARY AND OBJECT Commands

           

CPY                      Copy Object               

CPYLIB                 Copy Library               

CRTLIB                 Create Library

CRTCMD               Create Command        

DLTLIB                 Delete library

DSPLIB                 Display Library

DSPLIBD              Display Library Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 DLTCMD               Delete Command 

DSPCMD               Display Command

GRTOBJAUT        Grant Object Authority                     

RNMM                   Rename Member                           

RNMOBJ               Rename Object

RVKOBJAUT         Revoke Object Authority

WRKOBJLCK        Work with Object Locks

WRKOBJOWN       Work with Objects by Owner

 

______________________________________________________________________________________________________

These  commands are used when working with directories.

 

IFS Commands   

CD                           Change Current Directory 

CHGOWN               Change Owner

MKDIR                    Make Directory

WRKLNK               Work with Object Links

 

______________________________________________________________________________________________________

These  commands are used when working with TCP/IP

TCP/IP Commands

CFGTCP                  Configure TCP/IP

ENDTCP                 End TCP/IP                     

ENDTCPSVR          End TCP/IP Server

FTP                         Start TCP/IP File Transfer

NETSTAT               Work with TCP/IP Network Sts                                                                   

PING                       Verify TCP/IP Connection

STRTCP                 Start TCP/IP            

TELNET                  Start TCP/IP TELNET  

   

______________________________________________________________________________________________________

These  commands are used when working with user profiles

USER PROFILE Commands

 

CHGPWD              Change Password  

CHGUSRPRF        Change User Profile

CRTUSRPRF         Create User Profile

DSPUSRPRF         Display User Profile

GRTUSRAUT        Grant User Authority

WRKUSRPRF        Work User Profile                

____________________________________________________________________________

These  commands are used when working with library lists 

LIBRARY LIST Commands

ADDLIBLE             Add Library List Entry

CHGCURLIB          Change Current Library

CHGLIBL               Change Library List  

DSPLIBL               Display Library List 

EDTLIBL               Edit Library List

RMVLIBLE            Remove Library List Entry

 

____________________________________________________________________________

These  commands are used to create, change, delete, display objects which manage some of the work on the system.  

WORK MANAGEMENT Commands

 

 CHGJOB                Change Job                  

 CHGJOBD             Change Job Description

 CHGOUTQ            Change Output Queue              

 CHGOWN              Change Owner                     

 CLROUTQ             Clear Output Queue

 CRTOUTQ             Create Output Queue                  

 DLTOUTQ             Delete Output Queue

 DSPJOB                Display Job                  

 DSPJOBD             Display Job Description      

 DSPJOBLOG         Display Job Log                                                                                              

 DSPMSG              Display Messages

 DSPMSGD           Display Message Description

 DSPSYSSTS        Display System Status      

 DSPSYSVAL        Display System Value       

 ENDJOB               End Job                 

 ENDJOBABN        End Job Abnormal

 ENDSBS               End Subsystem                                  

 HLDJOB                Hold Job                     

 HLDJOBQ             Hold Job Queue               

 HLDOUTQ             Hold Output Queue            

 RLSJOB                 Release Job                

 RLSJOBQ               Release Job Queue

 SNDBRKMSG        Send Break Message   

 SNDMSG               Send Message                  

 STRSBS                Start Subsystem

 WRKACTJOB         Work with Active Jobs  

 WRKOUTQ            Work with Output Queue         

 WRKSYSSTS          Work with System Status          

 

 

______________________________________________________________________________________________________

Passthru is a command to execute if you need to signon to another AS/400 and Endpasthr will end the session. STROFC is the command to use to get to the AS/400 Office product. STRPDM will bringup The AS/400 Programming Development Manager (PDM) menu. PDM is an application which provides an interface to work with your libraries,  the source files (objects) in the library, and each member that exist in the source file.  

                                                                                                      

PASSTHRU and other PRODUCT Commands

 

ENDPASTHR        End Pass-Through 

STRPASTHR         Start Pass-Through

STROFC                 Start OfficeVision for AS/400   

STRPDM                Start PDM

 

[root@node1 tmp]# perf --help usage: perf [--version] [--help] [OPTIONS] COMMAND [ARGS] The most commonly used perf commands are: annotate Read perf.data (created by perf record) and display annotated code archive Create archive with object files with build-ids found in perf.data file bench General framework for benchmark suites buildid-cache Manage build-id cache. buildid-list List the buildids in a perf.data file c2c Shared Data C2C/HITM Analyzer. config Get and set variables in a configuration file. data Data file related processing diff Read perf.data files and display the differential profile evlist List the event names in a perf.data file ftrace simple wrapper for kernel's ftrace functionality inject Filter to augment the events stream with additional information kallsyms Searches running kernel for symbols kmem Tool to trace/measure kernel memory properties kvm Tool to trace/measure kvm guest os list List all symbolic event types lock Analyze lock events mem Profile memory accesses record Run a command and record its profile into perf.data report Read perf.data (created by perf record) and display the profile sched Tool to trace/measure scheduler properties (latencies) script Read perf.data (created by perf record) and display trace output stat Run a command and gather performance counter statistics test Runs sanity tests. timechart Tool to visualize total system behavior during a workload top System profiling tool. version display the version of perf binary probe Define new dynamic tracepoints trace strace inspired tool 翻译和解释含义
08-28
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值