Kbase 17254: Common AS/400 Commands
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  16/10/2008 |
|
Status: Verified
GOAL:
Common AS/400 Commands
FIX:
The following is a list of common AS/400 commands that are used frequently when using Progress/400 DataServer.
The following commands are not case-sensitive.
dsplibl: Display Library List.
This command allows you to view what libraries are going to be looked at when you perform a function on the AS/400. You will see various types of libraries shown on this command. There are SYSTEM (SYS) and USER (USR) libraries along with a CURRENT (CUR) library which is a Product Library for Progress/400.
addlible: Add Library List Entry.
This command allows you to add a library to the user portion of the library list. Only one library name can be added at a time.
wrkactjob: Work with Active Jobs.
This command allows you to view active jobs (processes) on the AS/400. Jobs that may be Progress related will generally have the letters PRO at the beginning of the job name. ex/ PROTCPBRK is the job relating to the TCP/IP broker or PROSERVER which is a Client/Server connection job. A helpful option on the PROxxx job is option 5 'Work with'. This allows authorized users to closely examine a jobs log of activity, printer output and various other components.
dsppfm: Display Physical File Member.
This command is used to display the contents of a physical file (table) on the AS/400. This command can be used to determine the version of the Progress/400 DataServer that you are using. ex/ DSPPFM FILE(PROGRESS/VERSION)
cfgtcp: Configure TCP/IP menu.
This command is used to configure TCP/IP on the AS/400. See Progress Solution 17032 for details on how to configure TCP/IP. This Solution also is shown on the FAQ section for AS/400 on the Progress Software Home Page.
wrksplf: Work with Spool File.
This command is used to display a list of all the spooled files on the system or for a particular user. You can choose to change, hold, delete, display or release any or all of the entries that are displayed. You can also send them to a printer or they can be copied into a database file.
dspusrprf: Display User Profile.
This command is used to display the contents or attributes of a user on the system. This is used frequently to check authorities or permissions that a user profile has. ex/ *ALLOBJ (all object authority).
dspjoblog: Display Job Log.
This command is used to show commands and related messages for a job on the AS/400. You can view a job that is still active on the system or view a job that has terminated due to a problem. When a job abnormally terminates on the AS/400 or if a certain function comes back with an error, a job log will be created on the system for that user. This job log is used very frequently to diagnose problems. Job logs are not automatically created when there are no problems that the AS/400 encounters.
wrkoutq: Work with Output Queue. Use this command to locate spool file output queues. QEZJOBLOG and QPRINT can be important places to look when troubleshooting a problem.