Browse Definitions:
This Content Component encountered an error
Reference

Common AS/400 commands

Ask your questions about AS/400 at ITKnowledgeExchange.com

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
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

This was last updated in August 2009
This Content Component encountered an error

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

File Extensions and File Formats

SearchCompliance

SearchSecurity

  • copyright

    Copyright is a legal term describing ownership of control of the rights to the use and distribution of certain works of creative ...

  • keylogger (keystroke logger or system monitor)

    A keylogger, sometimes called a keystroke logger or system monitor, is a type of surveillance technology used to monitor and ...

  • password

    A password is an unspaced sequence of characters used to determine that a computer user requesting access to a computer system is...

SearchHealthIT

SearchDisasterRecovery

  • business continuity plan (BCP)

    A business continuity plan (BCP) is a document that consists of the critical information an organization needs to continue ...

  • call tree

    A call tree -- sometimes referred to as a phone tree -- is a telecommunications chain for notifying specific individuals of an ...

  • mass notification system (MNS)

    A mass notification system is a platform that sends one-way messages to inform employees and the public of an emergency.

SearchStorage

  • CompactFlash card (CF card)

    A CompactFlash card (CF card) is a memory card format developed by SanDisk in 1994 that uses flash memory technology to store ...

  • email archiving

    Email archiving (also spelled e-mail archiving) is a systematic approach to saving and protecting the data contained in email ...

  • RAID (redundant array of independent disks)

    RAID (redundant array of independent disks) is a way of storing the same data in different places on multiple hard disks to ...

SearchSolidStateStorage

  • M.2 SSD

    An M.2 SSD is a solid-state drive (SSD) that conforms to a computer industry specification written for internally mounted storage...

  • NVMe (non-volatile memory express)

    NVMe (non-volatile memory express) is a host controller interface and storage protocol to enable a solid-state drive to use the ...

  • SSD RAID (solid-state drive RAID)

    SSD RAID (solid-state drive RAID) is a methodology commonly used to protect data by distributing redundant data blocks across ...

SearchCloudStorage

  • RESTful API

    A RESTful application program interface breaks down a transaction to create a series of small modules, each of which addresses an...

  • cloud storage infrastructure

    Cloud storage infrastructure is the hardware and software framework that supports the computing requirements of a private or ...

  • Zadara VPSA and ZIOS

    Zadara Storage provides block, file or object storage with varying levels of compute and capacity through its ZIOS and VPSA ...

Close