Home > AS/400 Tips > iSeries administrator tips > Time-saving tips for finding the right command
iSeries 400 Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

ISERIES ADMINISTRATOR TIPS

Time-saving tips for finding the right command


Ron Turull
05.12.2004
Rating: -3.87- (out of 5)


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


Effective use of commands is essential to the efficient use of OS/400. But with well over 1,000 commands in the base operating system alone, finding the right command is sometimes an arduous process. Over the years we have all developed techniques to make this process less laborious. Here are a few of my favorites.

Finding a new command

When searching for a better way to perform an iSeries-related task, we often look for a new command (i.e., a command previously not known to us). One of the best ways I've found is by simply pressing F4 on any empty command line and using the resulting Major Command Groups menu. This menu is shown in Figure 1.

Figure 1

A quick example should prove the worth of this hidden treasure. Say you are looking for a command that will verify that a tape device is working properly before starting an OS/400 version upgrade. Using the menu shown above, you have two basic choices: search the Verb Commands submenu (option 2) for the verb "verify;" or, search the Subject Commands submenu (option 3) for the subject "device."

More Information

Going through this exercise will show you how easy it is to find new commands (if they exist). Rolling up on the Verb Commands submenu, you should notice a listing for "Verify Commands." Choosing this option gives you an immediate answer: the VFYTAP command.

You should also notice something interesting if you choose "Device Commands" on the Subject Commands submenu (option 3). VFYTAP is not found on the Device Commands menu, but several pages down on this menu is the subheading "Related Command Menus" (see Figure 2). The menus listed in this section represent other possible places you should look if the command you are searching for was not found in the previous section. Taking the "Device Management Commands" option under the related command menus section followed by the "Tape Commands" option will net the VFYTAP command.

Figure 2

Finding forgotten commands

Have you ever come across a useful command but use it so infrequently that you seldom remember its name? When it happens to me, I let the Select Command (SLTCMD) command come to the rescue. One such command is the Work with Job Schedule Entries command (WRKJOBSCDE). The problem I have remembering this command name is forgetting IBM's abbreviation for the word "schedule." I know the command starts "WRKJOBS" but cannot recall the rest.

This is the perfect situation for the SLTCMD command. We simply type

SLTCMD WRKJOBS*

and press Enter, and a list of commands matching the generic name WRKJOBS* is presented to us (see Figure 3).

Figure 3

Tip: A shortcut for the SLTCMD command is to simply type a generic name on a command line and press Enter. For example, instead of typing "SLTCMD WRKJOBS*" just type "WRKJOBS*" and press Enter.

Warning: If you do not use the shortcut version and instead type out "SLTCMD," take care to avoid inadvertently typing "DLTCMD" and deleting a group of commands. On U.S. keyboards, the "D" is adjacent to the "S" and no warning is given if the mistake is made.

-----------------------------------
About the author: Ron Turull is editor of Inside Version 5. He has more than 20 years' experience programming for and managing AS/400-iSeries systems.


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.




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



RELATED CONTENT
iSeries system performance and monitoring
Analyze the health of your IBM i server with iScore
Translating Linux for IBM i admins: Working with jobs and networking
Database performance comparisons on IBM i
How to: Monitoring job activity on the AS/400
Performance tuning for IBM i: The basics and beyond
How to: Reduce the percentage of ASP used on the AS/400
Detecting system changes made by outside IP address
AS/400 system values quiz
Checking on System i disk space requires creating a new command: XRTVSYSSTS
Drive space management commands

Implementation
Getting modules to adopt authorities from the main program
iSeries i5/OS: Top 10 Q&As
iSeries i5/OS: Top 10 Q&As
Using the SPLF0200 format in QUSLSPL API
New option within the WRKSYSACT command
Identify files used in all queries
Security Tools can help manage your system security
Client Access Express password cache
Check constraint allows database admins to sleep a bit better at night
See the users with *change or *all authority
Implementation Research

Integrated File System (IFS)
How to view source files in the library
User being locked out by Windows share on iSeries
Incorrect CCSID on FTP connection from AS/400 to Windows
Trouble accessing IFS path from Win2k3 server
How to use an API for adding users to EIM SSO implemenation
Transfer files from one environment to another without closing all other AS/400 sessions
Securing the integrated file system on IBM System i
Generically send a text file from the IFS via FTP
Setting ILE and C+++ compilers to runtime
Backing up PDFs within the IFS on AS/400

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
CIW  (Search400.com)

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

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