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