ISERIES CHEAT SHEET

BASIC

GO <MENU>

Access a menu

WRK*

List all WRK commands
DBS
RUNQRY Run a query
STRPDM Start PDM
STRSQL Start SQL
WRKMBRPDM Work with MBR in PDM
WRKQRY Work with Queries
IFS
CHGCURDIR Changes the current directory.
CHGOWN Transfers object ownership
CPY Copies a single object or a group of objects
MOV Moves an object to a different directory.
RMVLNK Removes the link to an object
WRKAUT Displays a list of users and their authorities
WRKLNK Displays a list of objects in a directory
JOBS
ENDJOB Ends a job
WRKACTJOB Work with active jobs
WRKSBMJOB Work with submitted jobs
WRKSBSJOB Work with subsystem jobs
WRKUSRJOB Work with a Users Jobs
JOBQS/SBS
ENDSBS End a subsystem
HLDJOBQ Hold a JOBQ
RLSJOBQ Release a JOBQ
SBMJOB Submit a Batch Job
STRSBS Start a subsystem
WRKJOBQ Work with JOBQ
WRKSBS Work with active SBS
WRKSBSD Work with SBS Description
LIBRARY LISTS
ADDLIBLE Add a library to your list
CHGLIBL Change library list
DSPLIBL Show current library list
EDTLIBL Edit library list
RMVLIBLE Remove library list entry
LOGS/SYSTEM
CHGJOB Change current job logging
DSPJOB Display current job attributes
DSPJOBLOG Display current job log
NETSTAT  
WRKSYSSTS Work with system status
MESSAGES
DSPMSG Display messages
SNDBRKMSG Send break message
SNDMSG Send message
OBJECTS/FILES
CPYF Copies all or part of a database to a database
CRTDUPOBJ Copies a single object or a group of objects
RESTORE/SAVE
CRTSAVF Create Save File
RSTOBJ Restores Object(s)
SAVOBJ Save Object(s)
SAVLIB Save Library
SECURITY
CHGAUT Change a user's authority for the object
EDTOBJAUT  
GRTOBJAUT  
RVKOBJAUT  
OUTQS/SPLFS
CRTOUTQ Create OUTQ
CRTDEVPRT Create printer device
STRRMTWRTR Start Remote Writer
WRKOUTQ Work with all outqs
WRKSPLF Work with Spooled Files
WRKWTR Work with all Writers
USERS
CRTUSRPRF Create user profile
WRKUSRPRF Work with user profiles

FTP


APPEND
Adds a Local File Member to File on RS
ASCII
Sets File Transfer Type to ASCII
BINARY
Sets File Transfer Type to BINARY
CD
Changes the Working Dir on RS
CLOSE
Ends Session on RS
DELETE
Deletes a File on RS
DIR
Displays Dirs and Files on RS
EBCDIC
Sets File Transfer Type to EBCDIC
GET
Copies a File from the RS to a LS
LCD
Changes the Working Dir on LS
LPWD
Displays the Working Dir on LS
LS
Lists the Names of Files in a File Set on RS

FTP


MGET
Copies File(s) from the RS
MKDIR
Creates a Dir or Subdir
MODE
Specifies a Data Format for File Transfer
MPUT
Sends Local File(s) to the RS
NAMEFMT
Specifies a File Naming Format
OPEN
Connects to an FTP Server
PUT
Copies a Local File Member to RS
PWD
Displays the Current Dir of RS
QUIT
Ends an FTP Session
QUOTE
Sends a Subcommand to an FTP Server
RENAME
Renames a File on a RS
RMDIR
Removes a Directory on the RS
STATUS
Gets Status Info from a RS
SYSTEM
Displays the OS on the RS
TYPE
Specifies the File Transfer Type
USER
Sends a User ID to a RS