AS/400 and ISeries Job System Demystified
One of the most essential items every system administrator and operator must understand on the AS/400, iSeries and System i power system platforms is the job and batch systems. These two portions of the system are key for performing any task in a timely manner.
The job system on the midrange platform is both robust and elegant in design. At a very basic level jobs are first submitted into job queues for immediate or later processing by subsystems. By default the job queues are FIFO based, that is jobs are submitted to run on a first-in-first-out sequence.
You have the ability to re-sequence the jobs within a job queue by changing the job priority of a job waiting to run. The job priorities go from 1-9 and default to priority 5. So to change where at in the queue a job is and move it ahead of other jobs simply increase the job priority to a higher number.
When jobs actually process they run in an area of the system called a subsystem. All jobs currently operating on the AS/400 run in subsystems, this even includes non batch jobs like your green screen 5250 session. In many instances the system is configured so jobs submitted to batch run under the subsystem called QBATCH. However you do have the ability to add and change subsystems so you can finely control how jobs are processed on the system and allocate resources precisely where they are needed.
While running in batch a job is actively performing the task it was designed to do like generate a report, update database records and so on. It is also actively consuming processor and system resources. To view what jobs are active you use the command work with active jobs WRKACTJOB.
The WRKACTJOB command quickly lets you see all of the active jobs and some other important information like how much processor it is currently using, vital resource statistics, job logs and more. It is a very effective tool. And I often find the work with active jobs screen usefull for tracking down a job that has a message waiting for a reply.
Sometimes it is necessary to find out what other resources a job is consuming, that can be easily accomplished by taking option five which calls up the Work with Job command WRKJOB. From here you would want to check the option to display job run attributes. This will show you the jobs running priority (not to be confused with the job priority in the job queue), CPU time used and temporary storage, ie disk space, that the job is consuming.
A special thing to note from the Work With Job attribute screen is the time slice of the job. The time slice and the job priority values can have a major effect on the performance and time it takes for the job to complete as well as impacting the overall performance of your entire system. It is generally safe to judiciously increase the time slice of a job thereby increasing the amount of time the job can run in milliseconds before it is interrupted by the operating system. Just be careful or you can bring your entire system to a screeching halt.
Questions and Answers
In 1988, IBM introduced the AS400® as a server solution for midsize businesses and departments within larger enterprises. Over time, IBM realized that in order to fulfill their vision of replacing PC and Unix servers throughout organizations worldwide, the AS400 would need to be easily integrated with distributed networks and...
How does RPG AS400 address the internet? Has it moved on from the green screen? Is it really going anywhere or has it anywhere left to go? Well they said it was dead twenty years ago but it's still going strong and I guess as long as there's life in the Series i or whatever that morphs into then there will be life in RPG.
Understanding how the printer systems flow on the AS/400, iSeries and System i is a basic system administration function. Typically most of the issues that occur from day to day either have to do with jobs or printers, so it's important to be able to do basic troubleshooting of printing. Now...
There is a large misconception running about the user community these days that the AS/400 and iSeries platform are old antiquated machine as scarce as the dinosaurs and just as hard to use with its crummy looking text only interface commonly known as the green screen. This is a major...
The AS/400 and iSeries systems are essentially command driven operating systems. There are definite advantages to a command line driven environment but nowadays with the widespread popularity of GUIs people seem to recoil when talking about anything command driven. The good news is that the native command set available on...
The operating system that natively runs on the AS/400 and iSeries platform is a command and menu driven system, so it's important that you have a good understand of how to use commands and in particular become familiar with commands you will use regularly. For some people the command driven...
An in depth look at the new MMORPG from Blizzard Entertainment known as Diablo III, a long awaited release for Diablo fans.
Most small businesses take advantage of computer technology, and it certainly can make things a lot easier for everyone within the business when you do so properly. Unfortunately, there are also a number of different problems that can occur as a result of the technology that you are using.
Ever ponder just what form of printer ink functions for your printer? Meant for someone who actually utilizes precisely the same kind of printer ink worrying to change course as a result of this could wreck the printer, well then this post is going to certainly broaden your options.
Copying ipod to computer is easy. For more information on how read this article.
Online training software has found its place in almost all the offices and organizations. It can be used to train employees over the net
When it comes to reporting tools for the AS/400, iSeries and IBM i platform there are many products to pick from. In fact a whole cottage industry has sprang up over the years with a myriad of different data tools for reviewing and extracting data from the OS/400 integrated DB2...
One of the more commonly asked questions I see in forums and by end users is how do you get your data from the AS400 down to the PC in a text file format or as an Excel based spreadsheet. And fortunately with modern tools and software this is a...
Whenever I start working on an AS/400, iSeries or Power System box at a new company there are a few key areas I like to be sure of. These areas include ensuring basic system level security, job configuration and process management. Let's take a fast look at how you can...
One of the nice features of the AS/400 and iSeries platform is it's reliability and administrative requirements. But even in light of this as a system administrator you should also be looking and monitoring key data elements to create a baseline of performance metrics. This data can then be used...
Having worked on and administered IBMs midrange AS/400, iSeries and System i platforms for the better part of ten years I have found that you can boil down the essential administrative functions to a few select commands available from one primary command. Let me explain. One of the major functions of...

