Home > AS/400 Tips > iSeries administrator tips > The CHGSYSJOB command lets you configure system jobs
iSeries 400 Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

ISERIES ADMINISTRATOR TIPS

The CHGSYSJOB command lets you configure system jobs


Ron Turull
09.27.2004
Rating: -3.71- (out of 5)


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


Each new release of OS/400-i5/OS seems to bring a new set of system jobs -- those jobs on the WRKACTJOB screen that have a type SYS. These jobs are responsible for things such as keeping cross-reference information updated, maintaining access paths, handling system arbitration, and just about everything related to TCP/IP.

By default, all but a handful of these jobs run at a very high priority, between 0 and 20 (0 is the highest priority, 99 the lowest). For comparison, the default run priority for interactive jobs is 20, so these system jobs are running at the same or higher priority than normal interactive jobs.

In fact, most system jobs run at the ultimate priority of 0. Nothing gets in their way, and God forbid one of them to start looping. Don't laugh -- it happens. If you keep up with "The PTF Report" in each month's issue of Inside Version 5, you may recall seeing a number of PTFs that fix system looping problems. Well, guess what's looping?

How to use the CHGSYSJOB command

The Change System Job command (CHGSYSJOB) lets you "configure" system jobs. I use the term "configure" lightly because the only job attribute that the CHGSYSJOB command can change is the run priority. (But we'll take anything we can get, right?)

The CHGSYSJOB command has two parameters:

  1. Job name (JOB): Specify the name of the system job you want to change. To see a list of eligible jobs, press F4.
  2. Run priority (RUNPTY): Specify the new priority under which you want the job to run. You can specify any priority between 0 and 99, inclusive. You can also specify the special value *IPL to reset the job's run priority back to the default setting (i.e., the run priority that it was assigned at the last IPL).

The catch . . .

Before running off thinking you're going to super-tune all the system jobs, you may want to keep this little ditty in mind: Only a few system jobs can be changed with the CHGSYSJOB command. Most system jobs are not eligible, and if you try to specify them, you will get an error. To determine which system jobs can be changed with the CHGSYSJOB command, prompt the command with F4 and then prompt the Job name parameter (again with F4 as described above). You will then see a list of system jobs on your system that can be changed with the CHGSYSJOB command.

The system jobs that cannot be changed are so vital to proper system operation that changing their run priority may compromise the integrity of the system. So, to prevent an accidental -- or otherwise -- crash of the system, you cannot change the run priority of these jobs.

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

==================================
MORE INFORMATION ON THIS TOPIC
==================================

Fast guide to common iSeries error messages
Here's a fast reference to iSeries error messages that you can browse through quickly to find a possible solution to your error.

Common iSeries commands
Wondering what an iSeries command is used for? This organized list of commonly used iSeries commands will help.

Time-saving tips for finding the right command
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 favorites.

Live discussion forums
Ask your systems management questions -- or help out your peers by answering them in our Managing the iSeries Forum.


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.


Submit a Tip




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



RELATED CONTENT
iSeries administrator tips
Translating Linux for IBM i admins: Using GUI to make it easy
Translating Linux for IBM i admins: Working with jobs and networking
OpenOffice: What to know before making the transition from Microsoft Office
OpenOffice: An enterprise open source solution
Database performance comparisons on IBM i
Translating Linux for IBM i admins: User profile commands
Modern System i reports using Client Access
Tips for installing Lotus Domino server on a System i partition
The iSeries Blog has a new home on IT Knowledge Exchange
Virtualization for IBM i: Backups

Systems Management
Can you trust all those trigger programs?
Are your backups complete?
Controlling remote command processing
Watch your profiles
Avoid locking issues
Send message to users at a remote site
Security journal receiver management
Top 10 backup commands
Tracking critical file access in real time
Create an iSeries Access image and update it with the latest Service Pack

iSeries system performance and monitoring
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
Viewing netstat information

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