Browse Definitions :
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

Join the conversation

1 comment

Send me notifications when other members comment.

Please create a username to comment.

Which is the command used to IPL the system?
Cancel

-ADS BY GOOGLE

File Extensions and File Formats

SearchCompliance

  • Whistleblower Protection Act

    The Whistleblower Protection Act of 1989 is a law that protects federal government employees in the United States from ...

  • smart contract

    A smart contract, also known as a cryptocontract, is a computer program that directly controls the transfer of digital currencies...

  • risk map (risk heat map)

    A risk map, also known as a risk heat map, is a data visualization tool for communicating specific risks an organization faces. A...

SearchSecurity

  • buffer underflow

    Buffer underflow, also known as buffer underrun or buffer underwrite, is a threat to data that typically occurs when the ...

  • digital signature

    A digital signature is a mathematical technique used to validate the authenticity and integrity of a message, software or digital...

  • denial-of-service attack

    A denial-of-service attack is a security event that occurs when an attacker prevents legitimate users from accessing specific ...

SearchHealthIT

SearchDisasterRecovery

  • virtual disaster recovery

    Virtual disaster recovery is a type of DR that typically involves replication and allows a user to fail over to virtualized ...

  • tabletop exercise (TTX)

    A tabletop exercise (TTX) is a disaster preparedness activity that takes participants through the process of dealing with a ...

  • risk mitigation

    Risk mitigation is a strategy to prepare for and lessen the effects of threats faced by a data center.

SearchStorage

  • secondary storage

    Secondary storage is storage for noncritical data that does not need to be frequently accessed.

  • Pure Storage

    Pure Storage is a provider of enterprise data flash storage solutions designed to substitute for electromechanical disk arrays.

  • yobibyte (YiB)

    A yobibyte (YiB) is a unit of measure used to describe data capacity as part of the binary system of measuring computing and ...

Close