844-NOGALIS (844-664-2547)
Nogalis, Inc.
  • Link to Facebook
  • Link to X
  • Link to LinkedIn
  • Link to Mail
  • Company
    • News, Events and Articles
    • About Us
  • Products
    • Infor Lawson Data Archive
    • PeopleSoft Data Archive
    • Oracle Data Archive
  • Services
    • Infor Lawson Support
    • Infor Lawson / CloudSuite Consulting
  • Education & Training
  • Support
  • Contact Us
  • Click to open the search input field Click to open the search input field Search
  • Menu Menu

Common AS/400 commands

Articles, Frontpage Article, News

AS/400 (Application System/400) is the operating system made by IBM. Companies use this system for enterprise resource planning (ERP) in industries that involve extreme reliability. Below is a list of common AS/400 commands that are useful for your everyday knowledge base.

 

DSPMSG Displays messages in queue
DSPMSGD Displays description of messages, ie CPF messages
WRKMSGF QCPFMSG Displays contents of MONMSG file
WRKUSRPRF – Can work with specified user’s profile
WRKSBMJOB *JOB  Displays my jobs for the current session
WRKACTJOB Displays all active jobs
WRKUSRJOB Displays list of my jobs to work with
WRKOBJ Work with an object.  Use *ALLUSR in qualified name to skip Q libraries
WRKSPLF Displays spool files
WRKOUTQ Displays members in specified OUTQ
DISPLIB Displays contents of specified library
EDTLIBL Allows addition and deletion of libraries to and from list
ADDLIBLE Library Name Add library to current list
STRPDM Start PDM
STRDBG Start Debug
ADDBKP Add a break point and variables to monitor in debug
RMVBKP Remove a break point in debug
ENDDBG End Debug
STRDBU Start DBU (Database Utility) Look at and make changes to the database
DBU Qualified Name Runs DBU without the above command.  ADDLIBLE DBU41 *LAST before using
STRDFU Start DFU (Data File Utility) Many of the same functions of DBU
DSPFFD Displays file field descriptions
DSPFD Displays file description for specified file
DSPPFM Displays member of a physical file
DSPDBF Displays contents of database file.
Must add TAATOOL to library list before using this command
DSPPGMREF Display the files used in a program and which libraries the program was compiled over
PRTRNG Will allow printing a range of pages from a member in the specified OUTQ.
Must add PRTRNG to library list before using this command
OUTQ(PRINTER) Mark object in spool file with 2 for change.  Type this on the command line.
WRKJOBSCDE Look at scheduled jobs
RUNQRY QRYFILE(LIB/FILE) Run query on a file with no parameters
DSPDBR  LIB/FILE Shows logicals related to a physical file

 

DSPMSG Displays messages in queue
DSPMSGD Displays description of messages, ie CPF messages
WRKMSGF QCPFMSG Displays contents of MONMSG file
WRKUSRPRF – Can work with specified user’s profile
WRKSBMJOB *JOB  Displays my jobs for the current session
WRKACTJOB Displays all active jobs
WRKUSRJOB Displays list of my jobs to work with
WRKOBJ Work with an object.  Use *ALLUSR in qualified name to skip Q libraries
WRKSPLF Displays spool files
WRKOUTQ Displays members in specified OUTQ
DISPLIB Displays contents of specified library
EDTLIBL Allows addition and deletion of libraries to and from list
ADDLIBLE Library Name Add library to current list
STRPDM Start PDM
STRDBG Start Debug
ADDBKP Add a break point and variables to monitor in debug
RMVBKP Remove a break point in debug
ENDDBG End Debug
STRDBU Start DBU (Database Utility) Look at and make changes to the database
DBU Qualified Name Runs DBU without the above command.  ADDLIBLE DBU41 *LAST before using
STRDFU Start DFU (Data File Utility) Many of the same functions of DBU
DSPFFD Displays file field descriptions
DSPFD Displays file description for specified file
DSPPFM Displays member of a physical file
DSPDBF Displays contents of database file.
Must add TAATOOL to library list before using this command
DSPPGMREF Display the files used in a program and which libraries the program was compiled over
PRTRNG Will allow printing a range of pages from a member in the specified OUTQ.
Must add PRTRNG to library list before using this command
OUTQ(PRINTER) Mark object in spool file with 2 for change.  Type this on the command line.
WRKJOBSCDE Look at scheduled jobs
RUNQRY QRYFILE(LIB/FILE) Run query on a file with no parameters
DSPDBR  LIB/FILE Shows logicals related to a physical file

 

Retiring Lawson, PeopleSoft, or Oracle? APIX archives the entire application — every table, every year, attachments and security included — into your own AWS account in about 30 days, so you can decommission the legacy system and keep full access to the history.

See how the APIX ERP archive works →

06/21/2022
Share this entry
  • Share on Facebook
  • Share on X
  • Share on WhatsApp
  • Share on LinkedIn
  • Share on Reddit
  • Share by Mail
https://www.nogalis.com/wp-content/uploads/2022/06/Common-AS400-commands.jpg 470 470 Angeli Menta https://www.nogalis.com/wp-content/uploads/2013/04/logo-with-slogan-good.png Angeli Menta2022-06-21 09:13:032022-06-20 11:18:47Common AS/400 commands

LEGACY ERP DATA ARCHIVE SOLUTION



Discover how our clients are leveraging AWS services to archive their Legacy ERP data and provide ubiquitous access to users via a light-weight, secure, and read-only web interface. Secure, Fast, Reliable, and Cost Effective. That is the promise of APIX. Follow the link below to find out more and book a discovery call with our data archive specialist.

BOOK DEMO

© Copyright - Nogalis, Inc. 2026
  • Legal
  • Privacy
  • Contact Us
Link to: Hydrite Selects Infor to Modernize its Business Link to: Hydrite Selects Infor to Modernize its Business Hydrite Selects Infor to Modernize its Business Link to: Rotair Chooses Infor Cloud ERP to Support Growth and Internationalization Link to: Rotair Chooses Infor Cloud ERP to Support Growth and Internationalization Rotair Chooses Infor Cloud ERP to Support Growth and Internationalization
Scroll to top Scroll to top Scroll to top