Vous êtes sur la page 1sur 7

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

ADDLIBLE Library Name

Add library to current list

CHGPWD

Change password

CLRLIB

Clear library

CPYFRMIMPF

Copy file form ifs to PF


file (CSV or DBF to PF
file)

CPYTOIMPF

Copy PF file to ifs (PF


file to CSV or DBF)

CRYTOSTMF

Copies file, member or save


file to an object on the
IFS

CRTDIR

Create Directory on IFS

CRTJRN

Create journal

CRTLIB

Create library

CRTPAGSEG

Create page segment for


printer file's overlay

CRTOVL

Create overlay for printer


file's overlay

CRTSRCPF

Create source physical file

CVTPCDPAGS

Convert PC document to page


segment

CVTOVLPFM

Convert Overlay to Physical File Membe

CVTPAGSPFM

Convert Page Segment to


Physical File Member

CVTPFMPAGS

Convert Physical File Member to Page S

DBU Qualified Name

Runs DBU without the STRDBU

DLCOBJ

De-allocate object

DLTJRN

Delete journal

DLTLIB

Delete library

DLTLICPGM

Delete license program

DSPDBF

Displays contents of database file. (m


TAATOOL to library first)

DSPDBR LIB/FILE

Shows logicals related to a


physical file

DSPFD

Displays file description


for specified file

DSPFFD

Displays file field


descriptions

DSPJRN

Display journal

DSPLIB

Displays contents of
specified library

DSPLIBD

Display library description

DSPLICKEY

Display license key info

DSPMSG

Displays messages in queue

DSPMSGD

Displays description of
messages, i.e. CPF messages

DSPPFM

Displays member of a
physical file before

DSPPGMREF

Display the files used in a


pgm and which libraries the
pgmwas compiled over

DSPRCDLCK

Display record locks

DSPUSRPRF

Display user profile

ENDDBG

End Debug

ENDJRN

End journal

EDTLIBL

Allows addition and deletion of librar


from list

OUTQ

Must add PRTRNG to library


list before using this
command

OUTQ(PRINTER)

Mark object in spool file with 2 for c

PRTRNG

Print a range of pages from


a member in the specified

PRTPFDDTA

Print PFD Data

RMVDIR

Remove directory on IFS

RMVBKP

Remove a break point in


debug

RMVLICKEY

Remove license key


information

RMVLNK

Delete object from IFS

RMVJRNCHG

Remove journaled changes

RSTLICPGM

Restore licensed program

RTVJOBA

Retrieve job attributes

RUNQRY QRYFILE(LIB/FILE)

Run query on a file with no parameters

SAVLIB

Save library

SAVLICPGM

Save licensed program

SAVRSTLIB

Save restore library

SNDMSG

Send message to a message


queue

SNDPGMMSG

Send message to program's


message queue

STRAFPU

Start AFP Utilities for


iSeries

STRDBG

Start Debug

STRDBMON

Start Database Monitor display access path

STRDBU

Start DBU (Database


Utility) Look at and make
changes to the database

STRDFU

Start DFU (Data File


Utility) Many of the same
functions of DBU

STRJRN

Start journal

STROVLU

Start Overlay Utility

STRPDM

Start PDM

STRPFU

Start Print Format Utility

STRSQL

Start SQL interactive

WRKACTJOB

Displays all active jobs


(Select order by column
(job, user, %CPU)

WRKJOBSCDE

Look at scheduled jobs

WRKLICINF

Work with license information

WRKOBJ

Work with an object. Use *ALLUSR in qu


to skip Q libraries

WRKOUTQ

Displays members in specified OUTQ

WRKMSGF QCPFMSG

Displays contents of MONMSG


file

WRKNETF

Work with users network


files

WRKOBJLCK

Work with Object Locks

WRKSBMJOB *JOB

Displays my jobs for the


current session

WRKSPLF

Displays spool files (in all output qu

WRKSYSACT

Display System Activity Client activity

WRKSYSSTS

Display System Status

WRKUSRJOB

Displays list of my jobs to


work with

WRKUSRPRF

Can work with specified


user's profile