Home > AS/400 Tips > iSeries programmer tips > Common iSeries commands
iSeries 400 Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

ISERIES PROGRAMMER TIPS

Common iSeries commands


Search400.com
05.03.2004
Rating: -4.02- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


commands ADDBKP

Add a break point and variables to monitor in debug


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       &nbs...


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
Application Development
iSeries calling an .exe
Top 10 programmer tips
Formatted work job scheduler
Convert system date and time
Mixing free format code with embedded SQL
SQL update a field in one file from a field in another file
Webcasts for iSeries programmers
Programming advice from the pros
Easy code copying via the drag and drop method
Setting FTP time-outs

iSeries programmer tips
Enhancing RPG with external SQL stored procedures
Tracking data changes on IBM i with triggers
Introduction to SQLRPGLE on IBM i: Making a report
Implementing a browser interface in COBOL: Displaying database fields
Taking advantage of CL advancements, starting with V5R3
TAATOOL: Useful tools for programmers on IBM i
Implementing a browser interface in COBOL: Creating your graphic Web page
Implementing a browser interface in COBOL: Getting started
Making the most of RPG data handling on IBM i
Groovy programming on IBM i

iSeries CL programming
Taking advantage of CL advancements, starting with V5R3
Checking in on your IBM i authorization lists
Running PHP open source applications: NOBODY needs authority
Simplify the process of converting a spool file from iSeries into an Excel spreadsheet
CL program for daily backups
An automated CL method of moving a query from AS/400 to Excel
Changing user password expiration
Eight steps for creating program documentation using AS/400 utilities
DAYSPAST CLLE program for AS/400: Compares object creation date with today's date
Advanced Job Scheduler help

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary


p;     

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 Member


CVTPAGSPFM Convert Page Segment to Physical File Member
CVTPFMPAGS

Convert Physical File Member to Page Segment


DBU Qualified Name

Runs DBU without the STRDBU   command.


DLCOBJ De-allocate object
DLTJRN Delete journal
DLTLIB Delete library
DLTLICPGM   Delete license program
DSPDBF

Displays contents of database file. (must add 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 pgm was compiled over
DSPRCDLCK Display record locks
DSPUSRPRF

Display user profile


ENDDBG

End Debug


ENDJRN

End journal


EDTLIBL

Allows addition and deletion of libraries to and from list


OUTQ Must add PRTRNG to library list before using this command
OUTQ(PRINTER) 

Mark object in spool file with 2 for change. 



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 qualified name 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 queues)


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

Rate this Tip
To rate tips, you must be a member of Search400.com.
Register now to start rating these tips. Log in if you are already a member.




DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



iSeries Security - Security Tools, Physical Security and System Security
HomeNewsTopicsITKnowledge ExchangeTipsBlogsAsk the ExpertsMultimediaWhite PapersProducts
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 1999 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts