﻿<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://owl.unipharm.com/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Information_Systems%3AIBM_i_System_Jobs_%28WRKACTJOB%29</id>
	<title>Information Systems:IBM i System Jobs (WRKACTJOB) - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://owl.unipharm.com/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Information_Systems%3AIBM_i_System_Jobs_%28WRKACTJOB%29"/>
	<link rel="alternate" type="text/html" href="https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:IBM_i_System_Jobs_(WRKACTJOB)&amp;action=history"/>
	<updated>2026-09-01T17:37:54Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.4</generator>
	<entry>
		<id>https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:IBM_i_System_Jobs_(WRKACTJOB)&amp;diff=4270&amp;oldid=prev</id>
		<title>Norwinu at 19:02, 15 July 2016</title>
		<link rel="alternate" type="text/html" href="https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:IBM_i_System_Jobs_(WRKACTJOB)&amp;diff=4270&amp;oldid=prev"/>
		<updated>2016-07-15T19:02:30Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 19:02, 15 July 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 302:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 302:&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&amp;#160;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; F3=Exit   F4=Prompt   F5=Refresh   F12=Cancel   F13=How to use this display    &lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&amp;#160;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; F3=Exit   F4=Prompt   F5=Refresh   F12=Cancel   F13=How to use this display    &lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&amp;#160;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; F24=More keys&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&amp;#160;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; F24=More keys&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty&quot;&gt;&amp;#160;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;+&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty&quot;&gt;&amp;#160;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;+&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category: IBM i]]&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;!-- diff cache key wikidb:diff:wikidiff2:1.12:old-4268:rev-4270:1.11.0 --&gt;
&lt;/table&gt;</summary>
		<author><name>Norwinu</name></author>
	</entry>
	<entry>
		<id>https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:IBM_i_System_Jobs_(WRKACTJOB)&amp;diff=4268&amp;oldid=prev</id>
		<title>Norwinu: Norwinu moved page Information Systems:Jobs to Information Systems:IBM i System Jobs (WRKACTJOB)</title>
		<link rel="alternate" type="text/html" href="https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:IBM_i_System_Jobs_(WRKACTJOB)&amp;diff=4268&amp;oldid=prev"/>
		<updated>2016-07-15T19:02:01Z</updated>

		<summary type="html">&lt;p&gt;Norwinu moved page &lt;a href=&quot;/mediawiki/index.php/Information_Systems:Jobs&quot; class=&quot;mw-redirect&quot; title=&quot;Information Systems:Jobs&quot;&gt;Information Systems:Jobs&lt;/a&gt; to &lt;a href=&quot;/mediawiki/index.php/Information_Systems:IBM_i_System_Jobs_(WRKACTJOB)&quot; title=&quot;Information Systems:IBM i System Jobs (WRKACTJOB)&quot;&gt;Information Systems:IBM i System Jobs (WRKACTJOB)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Jobs==&lt;br /&gt;
&lt;br /&gt;
There are basically two types of user jobs on the iSeries – interactive and batch.  An interactive job is one that runs on a workstation, and requires interaction with a user.  A batch job involves no user interaction, but requires more disk access and processor time.  There is no reason for it to tie up a workstation.  &lt;br /&gt;
&lt;br /&gt;
The two types are handled differently by the system.  Interactive jobs have a higher priority, but a smaller time slice.  When the user presses a key, the system responses immediately and performs the request; which typically can be completed in the short time allowed.  Then while it waits for the user to press another key, other jobs are serviced.  If a job that should be batch (ie user interaction is not required, but there is a lot of disk access) is run interactively, the higher priority could degrade overall system performance, while the short time slice will not allow the job to run efficiently.  (I once had a query that took 20 minutes to run interactively, and 2 minutes to run in batch.)&lt;br /&gt;
&lt;br /&gt;
Note that while ASW jobs typically submit to batch when you press enter, you can press F2 to run them interactively.  The advantages are that they will run immediately instead of lining up to run in batch, and that if the job is having problems, there will be a job log to review.&lt;br /&gt;
&lt;br /&gt;
===Job Queues===&lt;br /&gt;
&lt;br /&gt;
Key in the command  WRKJOBQ  to see the job queues, or the ‘lineup’ of jobs waiting for batch processing.  These are jobs that have not yet started running.&lt;br /&gt;
&lt;br /&gt;
                            Work with All Job Queues                            &lt;br /&gt;
                                                                                &lt;br /&gt;
 Type options, press Enter.                                                     &lt;br /&gt;
   2=Change   3=Hold   4=Delete       5=Work with     6=Release                 &lt;br /&gt;
   8=Work with job schedule entries   9=Description   14=Clear                  &lt;br /&gt;
                                                                                &lt;br /&gt;
 Opt     Queue          Library            Jobs     Subsystem      Status       &lt;br /&gt;
  _      EOXBATCH       QGPL                  0     QBATCH          RLS         &lt;br /&gt;
  _      IMPJOBQ        QGPL                  0                     RLS         &lt;br /&gt;
  _      QBASE          QGPL                  0                     RLS         &lt;br /&gt;
  _      QBATCH         QGPL                  0     QBATCH          RLS         &lt;br /&gt;
  _      QBATCH1        QGPL                  0     QBATCH          RLS         &lt;br /&gt;
  _      QBATCH2        QGPL                  0     QBATCH          RLS         &lt;br /&gt;
  _      QBATCH3        QGPL                  0     QBATCH          RLS         &lt;br /&gt;
  _      QFNC           QGPL                  0                     RLS         &lt;br /&gt;
  _      QINTER         QGPL                  0     QINTER          RLS         &lt;br /&gt;
  _      QPGMR          QGPL                  0     QPGMR           RLS         &lt;br /&gt;
  _      QSNADS         QGPL                  0     QSNADS          RLS         &lt;br /&gt;
  _      QSPL           QGPL                  0     QSPL            RLS         &lt;br /&gt;
  _      QSTATEMENT     QGPL                  0     QBATCH          RLS         &lt;br /&gt;
  _      QS36EVOKE      QGPL                  0     QBATCH          RLS         &lt;br /&gt;
  _      QS36MRT        QGPL                  0     QINTER          RLS         &lt;br /&gt;
  _      QTXTSRCH       QGPL                  0     QBATCH          RLS         &lt;br /&gt;
  _      QTCP           QTCP                  0                     RLS         &lt;br /&gt;
  -      DOMINO00       QUSRNOTES             0     DOMINO00        RLS         &lt;br /&gt;
  _      EMAIMPPRD      UNIPHARMIT           54     EMASUBPRD       RLS         &lt;br /&gt;
            &lt;br /&gt;
                                                                                &lt;br /&gt;
The queues to worry about are QBATCH and QBATCH3.  These are the line-ups of jobs submitted by users.  If jobs start accumulating here, it could indicate a problem in the QBATCH subsystem – or that there are a couple of long running jobs running (each of these queues will submit two jobs at a time).  This can happen just after the end of the month.&lt;br /&gt;
&lt;br /&gt;
Job queue EMAIMPPRD will get a line-up of submitted jobs because of the way it is started every morning.  These can be cancelled.&lt;br /&gt;
&lt;br /&gt;
===Active Jobs===&lt;br /&gt;
&lt;br /&gt;
To see all jobs that are currently running, key in the command  WRKACTJOB.&lt;br /&gt;
&lt;br /&gt;
Keep an eye on overall CPU % (5 to 20% is usual during the day).  Press F5 to recalculate the usage over the length of time elapsed.  Be aware of allowing the elapsed time to get too long, as the CPU % will start becoming more of an average than an actual figure.  Press F10 to restart the elapsed time.&lt;br /&gt;
&lt;br /&gt;
Each job also has a field indicating CPU %.  For interactive jobs it is normally between 0 and 9% - it can peak as high as 60% but only for very short periods of time (press F10 to recalculate).  If this percentage stays high, it could be a ‘runaway job’ (either a program that is in a loop, or a job that is no longer connected to a workstation, but is desperately trying to reconnect to it), or it could mean that the user is running a job interactively that should be run in batch.  (In ASW pressing F2 will run a job online instead of submitting it to batch.)  A batch job running online should be left to complete normally; a runaway job must be cancelled.  &lt;br /&gt;
&lt;br /&gt;
Individual batch jobs can use as much as 50 to 70% of the CPU without degrading performance.  The QBATCH subsystem is tuned in such a way as to use all unused processor power.  However, it has a lower run priority than QINTER, and so will defer to interactive jobs requiring processor time.&lt;br /&gt;
&lt;br /&gt;
If the overall CPU % is high, the easiest way to find the culprit is to sort on the jobs’ percentages.  Place the cursor in the CPU % column and press F16 (upper shift F4) to sort on this column from high to low.  This will work for any column on the display – it does not work like windows; pressing F16 a second time will not reverse the sort sequence.  Positioning the cursor under the ‘S’ or ‘u’ in Subsystem/Job will sort by subsystem then job; positioning it under any other letter will sort by job only.&lt;br /&gt;
&lt;br /&gt;
===Subsystems and Jobs===&lt;br /&gt;
&lt;br /&gt;
The DCRF subsystem shows all the RF guns that have a user signed on.  (Interesting note – RFOSIGNON is for users who are only allowed to sign on to an RF gun.  RFSIGNON will detect if the user is on an RF gun or a green screen, and go to either DCRF or QINTER, and run the required program.)&lt;br /&gt;
&lt;br /&gt;
The advantage in having a separate subsystem, is that we can shut down picking in the warehouse, without affecting users in the office.&lt;br /&gt;
&lt;br /&gt;
                             Work with Active Jobs                     BART     &lt;br /&gt;
                                                             06/23/05  16:01:31 &lt;br /&gt;
 CPU %:   11.2     Elapsed time:   00:00:11     Active jobs:   446              &lt;br /&gt;
                                                                                &lt;br /&gt;
 Type options, press Enter.                                                     &lt;br /&gt;
   2=Change   3=Hold   4=End   5=Work with   6=Release   7=Display message      &lt;br /&gt;
   8=Work with spooled files   13=Disconnect ...                                &lt;br /&gt;
                                                                                &lt;br /&gt;
 Opt  Subsystem/Job  User        Type  CPU %  Function        Status            &lt;br /&gt;
      DCRF           QSYS        SBS      .0                   DEQW             &lt;br /&gt;
        RFTER0002A   LEWISJ      INT      .0  PGM-RFSIGNON     DSPW             &lt;br /&gt;
        RFTER0003A   NATALIYAP   INT      .0  PGM-RFOSIGNON    DSPW             &lt;br /&gt;
        RFTER0006A   ALEXG       INT      .0  PGM-RFOSIGNON    DSPW             &lt;br /&gt;
        RFTER0007A   GORDONM     INT      .0  PGM-RFSIGNON     DSPW             &lt;br /&gt;
        RFTER0008A   MICHAELL    INT      .0  PGM-RFOSIGNON    DSPW             &lt;br /&gt;
        RFTER0010A   BIDOS       INT      .0  PGM-RFOSIGNON    DSPW             &lt;br /&gt;
        RFTER0011A   ERICC       INT      .0  PGM-RFOSIGNON    DSPW             &lt;br /&gt;
        RFTER0012A   VICTORIAM   INT      .0  PGM-RFOSIGNON    DSPW     &lt;br /&gt;
        RFTER0013A   JAMESS      INT      .0  PGM-RFOSIGNON    DSPW             &lt;br /&gt;
        RFTER0014A   MITAP       INT      .0  PGM-RFOSIGNON    DSPW             &lt;br /&gt;
        RFTER0015A   ELENAP      INT      .0  PGM-RFOSIGNON    DSPW             &lt;br /&gt;
        RFTER0018A   ANDYT       INT      .0  PGM-RFOSIGNON    DSPW             &lt;br /&gt;
        RFTER0019A   MELQUIADEM  INT     3.6  PGM-RFOSIGNON    DSPW             &lt;br /&gt;
        RFTER0020A   JESUSAS     INT      .0  PGM-RFOSIGNON    DSPW             &lt;br /&gt;
        RFTER0022A   PARMJITG    INT      .0  PGM-RFOSIGNON    DSPW             &lt;br /&gt;
        RFTER0024A   MOHAMMEDR   INT      .0  PGM-RFOSIGNON    DSPW             &lt;br /&gt;
        RFTER0026A   INDERJITD   INT      .0  PGM-RFOSIGNON    DSPW             &lt;br /&gt;
        RFTER0027A   RENATON     INT      .0  PGM-RFOSIGNON    DSPW             &lt;br /&gt;
        RFTER0029A   PAULOV      INT      .0  PGM-RFOSIGNON    DSPW             &lt;br /&gt;
        RFTER0030A   CHOOSY      INT      .2  PGM-RFOSIGNON    DSPW             &lt;br /&gt;
&lt;br /&gt;
The DOMINO subsystem shows the jobs to do with Lotus Notes. &lt;br /&gt;
&lt;br /&gt;
      DOMINO00       QSYS        SBS      .0                   DEQW             &lt;br /&gt;
        ADMINP       QNOTES      BCI      .6  PGM-ADMINP       SELW             &lt;br /&gt;
        AMGR         QNOTES      BCI      .0  PGM-AMGR         SELW             &lt;br /&gt;
        AMGR         QNOTES      BCI      .0  PGM-AMGR         SELW             &lt;br /&gt;
        AMGR         QNOTES      BCI      .0  PGM-AMGR         CNDW             &lt;br /&gt;
        AMGR         QNOTES      BCI      .0  PGM-AMGR         CNDW             &lt;br /&gt;
        CALCONN      QNOTES      BCI      .0  PGM-CALCONN      CNDW             &lt;br /&gt;
        COLSRV400    QNOTES      BCI      .0  PGM-COLSRV400    SELW             &lt;br /&gt;
        CONTROLLER   QNOTES      BCI      .0  PGM-CONTROLLER   JVAW             &lt;br /&gt;
        DECS         QNOTES      BCI      .0  PGM-DECS         SELW             &lt;br /&gt;
        DIRCAT       QNOTES      BCI      .0  PGM-DIRCAT       SELW             &lt;br /&gt;
        EVENT        QNOTES      BCI      .4  PGM-EVENT        SELW             &lt;br /&gt;
        HTTP         QNOTES      BCI     1.1  PGM-HTTP         SELW             &lt;br /&gt;
        MTC          QNOTES      BCI      .0  PGM-MTC          SELW             &lt;br /&gt;
        QJVAEXEC     QNOTES      BCI     1.0  PGM-SERVER       SELW             &lt;br /&gt;
        REPLICA      QNOTES      BCI      .0  PGM-REPLICA      SELW             &lt;br /&gt;
        ROUTER       QNOTES      BCI      .0  PGM-ROUTER       SELW             &lt;br /&gt;
        SCHED        QNOTES      BCI      .0  PGM-SCHED        SELW             &lt;br /&gt;
        SMTP         QNOTES      BCI      .0  PGM-SMTP         SELW             &lt;br /&gt;
        UPDATE       QNOTES      BCI      .0  PGM-UPDATE       SELW             &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;monitor jobs&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These are the jobs to do with electronic order processing.  EMASUBPRD runs a job that ‘wakes up’ every hour and checks for low order volumes.  The next four subsystems run the processing for inbound messages, inbound message parsing, inbound order processing, and outbound messages.  These jobs also snooze for a while, then wake up to process any available records.&lt;br /&gt;
&lt;br /&gt;
‘Delay’ can function in two different ways – ‘16:59:00’ means to wake up at one minute before 5PM, and ‘120’ means to wake up in two minutes or 120 seconds. &lt;br /&gt;
&lt;br /&gt;
      EMASUBPRD      QSYS        SBS      .0                   DEQW             &lt;br /&gt;
        EMAIOPPRD    EODJOB      BCH      .0  DLY-16:59:00     DLYW             &lt;br /&gt;
      IMPSUBPRD      QSYS        SBS      .0                   DEQW             &lt;br /&gt;
        IMPPOSTPRD   EODJOB      BCH      .0  DLY-120          DLYW             &lt;br /&gt;
      IMSSUBPRD      QSYS        SBS      .0                   DEQW             &lt;br /&gt;
        IMSPOSTPRD   EODJOB      BCH      .0  DLY-120          DLYW             &lt;br /&gt;
      IOPSUBPRD      QSYS        SBS      .0                   DEQW             &lt;br /&gt;
        IOPPOSTPRD   EODJOB      BCH      .0  DLY-120          DLYW             &lt;br /&gt;
      OMSSUBPRD      QSYS        SBS      .0                   DEQW             &lt;br /&gt;
        OMSPOSTPRD   EODJOB      BCH      .0  DLY-300          DLYW    &lt;br /&gt;
&lt;br /&gt;
‘Exodus’ communicates with PC’s running BCD software.  ‘Catapult’ and ‘Websmart’ are both using different versions of Exodus.  This will be fixed when we upgrade Catapult.  (Note – WebSmart is the tool we use to generate free form RPG programs to run in a browser, and Catapult takes i output and generates a PDF file.)&lt;br /&gt;
&lt;br /&gt;
      EXODUS         QSYS        SBS      .0                   DEQW             &lt;br /&gt;
        EXSERVER     EXODUS      ASJ      .0                   TIMW             &lt;br /&gt;
      EXODUS51       QSYS        SBS      .0                   DEQW             &lt;br /&gt;
        EXSERV51     EXODUS51    ASJ      .0                   SELW  &lt;br /&gt;
      QCMN           QSYS        SBS      .0                   DEQW     &lt;br /&gt;
        EXODUS       CATPULTADM  EVK      .0                   DEQW     &lt;br /&gt;
        EXODUS       CATPULTADM  EVK      .0                   SELW               &lt;br /&gt;
&lt;br /&gt;
The jobs in the monitor subsystems are started by the end of day, and run all day.  &lt;br /&gt;
&lt;br /&gt;
MSGMONITOR keeps an eye on the QSYSOPR message queue, and forwards any unexpected messages to the addresses in data areas MSGREC to MSGREC5 (in library UNIPHARMIT).&lt;br /&gt;
&lt;br /&gt;
ATLAS_INT checks the FTP server for scan batches from Atlas Courier.  When it finds them, it updates the shipment archive.&lt;br /&gt;
&lt;br /&gt;
EDIMON_PRD will send any EDI files that are ready, and will look to see if SPS Commerce has any files ready for us to pick up and process.&lt;br /&gt;
&lt;br /&gt;
FTP_ORDERS checks the FTP server to see if any stores have sent us orders.&lt;br /&gt;
&lt;br /&gt;
ORDALLOCFL checks to see if stock has come in for any future orders, or special orders.  If a regularly stocked item has gone out of stock, and there is a future order, this program will set the item so that when the stock does come in, the future orders will be filled first.  It used to be possible for a regular order to come in and scoop the stock.&lt;br /&gt;
&lt;br /&gt;
      MONITOR        QSYS        SBS      .0                   DEQW             &lt;br /&gt;
        MSGMONITOR   EODJOB      BCH      .0  PGM-OPMESSAGES   MSGW             &lt;br /&gt;
      MONITOR2       QSYS        SBS      .0                   DEQW             &lt;br /&gt;
        ATLAS_INT    ATLAS       BCH      .0  DLY-20           DLYW             &lt;br /&gt;
        EDIMON_PRD   EDIUSER     BCH      .0  PGM-EDCUP040     MSGW             &lt;br /&gt;
        FTP_ORDERS   EODJOB      BCH      .0  PGM-AICUP010     MSGW             &lt;br /&gt;
        ORDALLOCFL   EODJOB      BCH      .0  DLY-13:30:00     DLYW             &lt;br /&gt;
                                                                                &lt;br /&gt;
QBATCH runs normal batch jobs that users have submitted.  Up to two jobs will run at the same time from each job queue – after that they will line up (in QBATCH or QBATCH3 job queues) and wait for their turn.  (The subsystem and the job queue in this case have the same name, but it doesn’t have to be that way.)&lt;br /&gt;
&lt;br /&gt;
PUR_ORDER jobs may cause problems.  Only one can run at a time, so when it starts it checks to see if another version is already running.  If so, the second version will delay and wait for the first to end.  If the first does not end because it is in error, the second one will stay in delay.  If a third PO print jobs starts it will also go into delay and the QBATCH subsystem will be blocked until someone notices the problem and corrects it.  Meanwhile all submitted jobs will line up in the QBATCH and QBATCH3 job queues.&lt;br /&gt;
&lt;br /&gt;
If no one corrects this, at end of day the three active jobs will be cancelled when the subsystem is ended (the only harm will be the PO will not be faxed or emailed).  Any jobs lined up (but not started) will run when the subsystem is restarted the next morning.&lt;br /&gt;
&lt;br /&gt;
      QBATCH         QSYS        SBS      .0                   DEQW             &lt;br /&gt;
        RUNQRY       SHEILAV     BCH      .0  PGM-ASGC900      RUN        &lt;br /&gt;
        PUR_ORDER    SCOTTZ      BCH      .0  PGM-ASGC900      RUN              &lt;br /&gt;
        UPD_UD_SST   SHEILAV     BCH    25.1  PGM-ASGC900      RUN              &lt;br /&gt;
&lt;br /&gt;
We have three web servers – &lt;br /&gt;
&lt;br /&gt;
WEBINTER for InfoNet, which is our browser based system for internal use&lt;br /&gt;
&lt;br /&gt;
WEBSMART which is the Web Order system for our shareholder and customer use.&lt;br /&gt;
&lt;br /&gt;
WEBTEST which is our test system.&lt;br /&gt;
&lt;br /&gt;
There is another server for administration.  We don’t use it much, but since version 6.1, when Domino starts, all TCP/IP servers are started at the same time.&lt;br /&gt;
&lt;br /&gt;
These are Apache servers.  See the section ‘WebSmart / Apache HTTP (Web) Servers’ for more information.&lt;br /&gt;
&lt;br /&gt;
The jobs running QZSRCGI (Common Gateway Interface is a standard method used to generate dynamic content for web applications) call the programs that have been written with WebSmart.  Multiple iterations can be running: as many as are needed to fill requests.&lt;br /&gt;
&lt;br /&gt;
      QHTTPSVR       QSYS        SBS      .0                   DEQW             &lt;br /&gt;
        ADMIN        QLWISVR     BCI      .0  JVM-com.ibm.lw   THDW             &lt;br /&gt;
        ADMIN        QTMHHTTP    BCH      .0  PGM-QZHBMAIN     SIGW             &lt;br /&gt;
        ADMIN        QTMHHTTP    BCI      .0  PGM-QZSRLOG      SIGW             &lt;br /&gt;
        ADMIN        QTMHHTTP    BCI      .0  PGM-QZSRHTTP     SIGW             &lt;br /&gt;
        ADMIN2       QLWISVR     BCI      .0  JVM-com.ibm.lw   THDW             &lt;br /&gt;
        ADMIN3       QLWISVR     BCI      .0  JVM-com.ibm.lw   THDW             &lt;br /&gt;
        ADMIN4       QWEBADMIN   BCI      .4  JVM-/qibm/prod   THDW             &lt;br /&gt;
        WEBINTER     QTMHHTTP    BCH      .0  PGM-QZHBMAIN     SIGW             &lt;br /&gt;
        WEBINTER     QTMHHTTP    BCI      .0  PGM-QZSRLOG      SIGW             &lt;br /&gt;
        WEBINTER     QTMHHTTP    BCI      .0  PGM-QZSRLOG      SIGW             &lt;br /&gt;
        WEBINTER     QTMHHTTP    BCI      .0  PGM-QZSRHTTP     SIGW             &lt;br /&gt;
        WEBINTER     QTMHHTTP    BCI      .0  PGM-QZSRHTTP     DEQW             &lt;br /&gt;
        WEBINTER     QTMHHTP1    BCI      .0  PGM-QZSRCGI      TIMW             &lt;br /&gt;
        WEBINTER     QTMHHTP1    BCI      .0  PGM-QZSRCGI      TIMW             &lt;br /&gt;
        WEBINTER     QTMHHTP1    BCI      .0  PGM-QZSRCGI      TIMW             &lt;br /&gt;
        WEBINTER     QTMHHTP1    BCI      .0  PGM-QZSRCGI      TIMW             &lt;br /&gt;
        WEBINTER     QTMHHTP1    BCI      .0  PGM-QZSRCGI      TIMW             &lt;br /&gt;
        WEBINTER     QTMHHTP1    BCI      .0  PGM-QZSRCGI      TIMW             &lt;br /&gt;
        WEBINTER     QTMHHTP1    BCI      .0  PGM-QZSRCGI      TIMW             &lt;br /&gt;
        WEBINTER     QTMHHTP1    BCI      .0  PGM-QZSRCGI      TIMW             &lt;br /&gt;
        WEBSMART     QTMHHTTP    BCH      .0  PGM-QZHBMAIN     SIGW             &lt;br /&gt;
        WEBSMART     QTMHHTTP    BCI      .0  PGM-QZSRLOG      SIGW             &lt;br /&gt;
        WEBSMART     QTMHHTTP    BCI      .0  PGM-QZSRLOG      SIGW             &lt;br /&gt;
        WEBSMART     QTMHHTTP    BCI      .3  PGM-QZSRHTTP     SIGW             &lt;br /&gt;
        WEBSMART     QTMHHTTP    BCI      .0  PGM-QZSRHTTP     DEQW             &lt;br /&gt;
        WEBSMART     QTMHHTP1    BCI     5.3  PGM-QZSRCGI      TIMA             &lt;br /&gt;
        WEBSMART     QTMHHTP1    BCI     6.6  PGM-QZSRCGI      TIMA             &lt;br /&gt;
        WEBSMART     QTMHHTP1    BCI      .0  PGM-QZSRCGI      TIMW             &lt;br /&gt;
        WEBSMART     QTMHHTP1    BCI      .0  PGM-QZSRCGI      TIMW             &lt;br /&gt;
        WEBSMART     QTMHHTP1    BCI      .0  PGM-QZSRCGI      TIMW             &lt;br /&gt;
        WEBSMART     QTMHHTP1    BCI      .0  PGM-QZSRCGI      TIMW             &lt;br /&gt;
        WEBSMART     QTMHHTP1    BCI      .0  PGM-QZSRCGI      TIMW             &lt;br /&gt;
        WEBSMART     QTMHHTP1    BCI      .0  PGM-QZSRCGI      TIMW             &lt;br /&gt;
        WEBSMART     QTMHHTP1    BCI      .0  PGM-QZSRCGI      TIMW             &lt;br /&gt;
        WEBSMART     QTMHHTP1    BCI      .0  PGM-QZSRCGI      TIMW             &lt;br /&gt;
        WEBSMART     QTMHHTP1    BCI      .0  PGM-QZSRCGI      TIMW             &lt;br /&gt;
        WEBSMART     QTMHHTP1    BCI      .0  PGM-QZSRCGI      TIMW             &lt;br /&gt;
        WEBTEST      QTMHHTTP    BCH      .0  PGM-QZHBMAIN     SIGW             &lt;br /&gt;
        WEBTEST      QTMHHTTP    BCI      .0  PGM-QZSRLOG      SIGW             &lt;br /&gt;
        WEBTEST      QTMHHTTP    BCI      .0  PGM-QZSRHTTP     SIGW             &lt;br /&gt;
        WEBTEST      QTMHHTTP    BCI      .0  PGM-QZSRHTTP     DEQW             &lt;br /&gt;
                                                                                 &lt;br /&gt;
All non-RF interactive sessions run in the QINTER subsystem.  About the only thing to watch out for here is ‘runaway jobs’.  This is either a program that is in a loop, or a job that is no longer connected to a workstation, but is desperately trying to reconnect to it.&lt;br /&gt;
&lt;br /&gt;
      QINTER         QSYS        SBS      .0                   DEQW             &lt;br /&gt;
        HABATERM     GORDONM     INT      .0  PGM-RFSIGNON     DSPW             &lt;br /&gt;
        OTCTERM      GORDONM     INT      .0  PGM-RFSIGNON     DSPW             &lt;br /&gt;
        QPADEV000B   STEVENL     INT      .0  PGM-RFSIGNON     DSPW             &lt;br /&gt;
        QPADEV000C   NANCYN      INT      .0  PGM-UNITY        DSPW             &lt;br /&gt;
        QPADEV000L   MARYT       INT      .0  PGM-UNITY        DSPW             &lt;br /&gt;
       +QPADEV000R   MARYT       INT      .0  PGM-ASGC800      DSPW             &lt;br /&gt;
       +QPADEV000S   RUBYS       INT      .0  PGM-ASGC800      DSPW             &lt;br /&gt;
        QPADEV001N   SHANNONM    INT      .0  PGM-UNITY        DSPW             &lt;br /&gt;
        QPADEV001P   RUBYS       INT      .0  PGM-UNITY        DSPW             &lt;br /&gt;
        QPADEV001Q   RUBYS       INT      .0  PGM-UNITY        DSPW             &lt;br /&gt;
        QPADEV001Z   MARYC       INT      .0  PGM-UNITY        DSPW             &lt;br /&gt;
        QPADEV0013   GORDONM     INT      .0  PGM-RFSIGNON     DSPW             &lt;br /&gt;
&lt;br /&gt;
This subsystem runs the ASW direct jobs.  The two characters after the underscore indicate the company (note VA for the main production company, and PL for test).  Basically, these jobs control the flow of sales orders through the system.&lt;br /&gt;
&lt;br /&gt;
      UP1480BS       QSYS        SBS      .0                   DEQW             &lt;br /&gt;
        AMTRDR_PLA   ASW4OWN     BCH      .0  PGM-ASGC900      DEQW             &lt;br /&gt;
        AMTRDR_PLT   ASW4OWN     BCH      .0  PGM-ASGC900      DEQW             &lt;br /&gt;
        AMTRDR_PLT   ASW4OWN     BCH      .0  PGM-ASGC900      DEQW             &lt;br /&gt;
        AMTRDR_VAA   ASW4OWN     BCH      .0  PGM-ASGC900      DEQW             &lt;br /&gt;
        AMTRDR_VAT   ASW4OWN     BCH      .0  PGM-ASGC900      DEQW             &lt;br /&gt;
        AMTRDR_VAT   ASW4OWN     BCH      .0  PGM-ASGC900      DEQW             &lt;br /&gt;
        DPRQ1_PL     ASW4OWN     BCH      .0  PGM-ASGC900      DEQW             &lt;br /&gt;
        DPRQ1_VA     ASW4OWN     BCH      .0  PGM-ASGC900      DEQW             &lt;br /&gt;
        DPRQ2_PL     ASW4OWN     BCH      .0  PGM-ASGC900      DEQW             &lt;br /&gt;
        DPRQ2_VA     ASW4OWN     BCH      .0  PGM-ASGC900      DEQW             &lt;br /&gt;
        DPRQ3_PL     ASW4OWN     BCH      .0  PGM-ASGC900      DEQW             &lt;br /&gt;
        DPRQ3_VA     ASW4OWN     BCH      .0  PGM-ASGC900      DEQW             &lt;br /&gt;
        ORDFLOW_PL   ASW4OWN     BCH      .0  PGM-ASGC900      DEQW             &lt;br /&gt;
        ORDFLOW_VA   ASW4OWN     BCH      .0  PGM-ASGC900      DEQW&lt;br /&gt;
&lt;br /&gt;
===Cancelling a Job===&lt;br /&gt;
&lt;br /&gt;
In WRKACTJOB, find the job that is ‘runaway’, or perhaps the RF gun that is locked.  Key ‘4’ in front of it, in the option field, and press F4.&lt;br /&gt;
&lt;br /&gt;
                                End Job (ENDJOB)                                &lt;br /&gt;
                                                                                &lt;br /&gt;
 Type choices, press Enter.                                                     &lt;br /&gt;
                                                                                &lt;br /&gt;
 Job name . . . . . . . . . . . . &amp;gt; SHEILAV3      Name                          &lt;br /&gt;
   User . . . . . . . . . . . . . &amp;gt;   SHEILAV     Name                          &lt;br /&gt;
   Number . . . . . . . . . . . . &amp;gt;   101245      000000-999999                 &lt;br /&gt;
 How to end . . . . . . . . . . .   *CNTRLD       *CNTRLD, *IMMED               &lt;br /&gt;
 Delay time, if *CNTRLD . . . . .   30            Seconds                       &lt;br /&gt;
 Delete spooled files . . . . . .   *NO           *NO, *YES                     &lt;br /&gt;
 Maximum log entries  . . . . . .   *SAME         Number, *SAME, *NOMAX         &lt;br /&gt;
 Additional interactive jobs  . .   *NONE         *NONE, *GRPJOB, *ALL          &lt;br /&gt;
                                                                                &lt;br /&gt;
In the ‘How to end’ field, change *CNTRLD (controlled) to *IMMED (immediate).  If you make the mistake of pressing Enter instead of F4, the job will go right into a controlled end.  You can still go back and repeat this procedure, remembering this time to press F4.&lt;br /&gt;
&lt;br /&gt;
====End Job Abnormal====&lt;br /&gt;
&lt;br /&gt;
In extreme cases, this might not work - the job will just continue running.  In that case, an end job abnormal (ENDJOBABN) can be run.  Note that it can only be run ten minutes after an endjob *immed has been run.&lt;br /&gt;
&lt;br /&gt;
                          End Job Abnormal (ENDJOBABN)                          &lt;br /&gt;
                                                                                &lt;br /&gt;
 Type choices, press Enter.                                                     &lt;br /&gt;
                                                                                &lt;br /&gt;
 Job name . . . . . . . . . . . .   __________    Name                          &lt;br /&gt;
   User . . . . . . . . . . . . .     __________  Name                          &lt;br /&gt;
   Number . . . . . . . . . . . .     ______      000000-999999                 &lt;br /&gt;
                                                                                &lt;br /&gt;
                            Additional Parameters                               &lt;br /&gt;
                                                                                &lt;br /&gt;
 Duplicate job option . . . . . .   *SELECT       *SELECT, *MSG                 &lt;br /&gt;
             &lt;br /&gt;
                                                                          &lt;br /&gt;
 F3=Exit   F4=Prompt   F5=Refresh   F12=Cancel   F13=How to use this display    &lt;br /&gt;
 F24=More keys&lt;/div&gt;</summary>
		<author><name>Norwinu</name></author>
	</entry>
	<entry>
		<id>https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:IBM_i_System_Jobs_(WRKACTJOB)&amp;diff=1297&amp;oldid=prev</id>
		<title>Sheilav: /* Subsystems and Jobs */</title>
		<link rel="alternate" type="text/html" href="https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:IBM_i_System_Jobs_(WRKACTJOB)&amp;diff=1297&amp;oldid=prev"/>
		<updated>2015-11-27T01:02:15Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Subsystems and Jobs&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 01:02, 27 November 2015&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 114:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 114:&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&amp;#160;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;        SMTP         QNOTES      BCI      .0  PGM-SMTP         SELW             &lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&amp;#160;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;        SMTP         QNOTES      BCI      .0  PGM-SMTP         SELW             &lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&amp;#160;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;        UPDATE       QNOTES      BCI      .0  PGM-UPDATE       SELW             &lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&amp;#160;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;        UPDATE       QNOTES      BCI      .0  PGM-UPDATE       SELW             &lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty&quot;&gt;&amp;#160;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;+&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty&quot;&gt;&amp;#160;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;+&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;div id=&quot;monitor jobs&quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&amp;#160;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&amp;#160;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&amp;#160;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;These are the jobs to do with electronic order processing.  EMASUBPRD runs a job that ‘wakes up’ every hour and checks for low order volumes.  The next four subsystems run the processing for inbound messages, inbound message parsing, inbound order processing, and outbound messages.  These jobs also snooze for a while, then wake up to process any available records.&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&amp;#160;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;These are the jobs to do with electronic order processing.  EMASUBPRD runs a job that ‘wakes up’ every hour and checks for low order volumes.  The next four subsystems run the processing for inbound messages, inbound message parsing, inbound order processing, and outbound messages.  These jobs also snooze for a while, then wake up to process any available records.&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 260:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 262:&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&amp;#160;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;        DPRQ3_VA     ASW4OWN     BCH      .0  PGM-ASGC900      DEQW             &lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&amp;#160;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;        DPRQ3_VA     ASW4OWN     BCH      .0  PGM-ASGC900      DEQW             &lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&amp;#160;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;        ORDFLOW_PL   ASW4OWN     BCH      .0  PGM-ASGC900      DEQW             &lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&amp;#160;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;        ORDFLOW_PL   ASW4OWN     BCH      .0  PGM-ASGC900      DEQW             &lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;−&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;        ORDFLOW_VA   ASW4OWN     BCH      .0  PGM-ASGC900      DEQW&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;             &lt;/del&gt;&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;+&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;        ORDFLOW_VA   ASW4OWN     BCH      .0  PGM-ASGC900      DEQW&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&amp;#160;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&amp;#160;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&amp;#160;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Cancelling a Job===&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&amp;#160;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Cancelling a Job===&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;!-- diff cache key wikidb:diff:wikidiff2:1.12:old-618:rev-1297:1.11.0 --&gt;
&lt;/table&gt;</summary>
		<author><name>Sheilav</name></author>
	</entry>
	<entry>
		<id>https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:IBM_i_System_Jobs_(WRKACTJOB)&amp;diff=618&amp;oldid=prev</id>
		<title>Sheilav: /* Cancelling a Job */</title>
		<link rel="alternate" type="text/html" href="https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:IBM_i_System_Jobs_(WRKACTJOB)&amp;diff=618&amp;oldid=prev"/>
		<updated>2015-10-19T19:04:01Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Cancelling a Job&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 19:04, 19 October 2015&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 280:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 280:&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&amp;#160;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;                                                                                &lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&amp;#160;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;                                                                                &lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&amp;#160;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In the ‘How to end’ field, change *CNTRLD (controlled) to *IMMED (immediate).  If you make the mistake of pressing Enter instead of F4, the job will go right into a controlled end.  You can still go back and repeat this procedure, remembering this time to press F4.&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&amp;#160;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In the ‘How to end’ field, change *CNTRLD (controlled) to *IMMED (immediate).  If you make the mistake of pressing Enter instead of F4, the job will go right into a controlled end.  You can still go back and repeat this procedure, remembering this time to press F4.&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty&quot;&gt;&amp;#160;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;+&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty&quot;&gt;&amp;#160;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;+&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;====End Job Abnormal====&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&amp;#160;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&amp;#160;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&amp;#160;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In extreme cases, this might not work - the job will just continue running.  In that case, an end job abnormal (ENDJOBABN) can be run.  Note that it can only be run ten minutes after an endjob *immed has been run.&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&amp;#160;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In extreme cases, this might not work - the job will just continue running.  In that case, an end job abnormal (ENDJOBABN) can be run.  Note that it can only be run ten minutes after an endjob *immed has been run.&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;!-- diff cache key wikidb:diff:wikidiff2:1.12:old-617:rev-618:1.11.0 --&gt;
&lt;/table&gt;</summary>
		<author><name>Sheilav</name></author>
	</entry>
	<entry>
		<id>https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:IBM_i_System_Jobs_(WRKACTJOB)&amp;diff=617&amp;oldid=prev</id>
		<title>Sheilav: Created page with &quot;==Jobs==  There are basically two types of user jobs on the iSeries – interactive and batch.  An interactive job is one that runs on a workstation, and requires interaction...&quot;</title>
		<link rel="alternate" type="text/html" href="https://owl.unipharm.com/mediawiki/index.php?title=Information_Systems:IBM_i_System_Jobs_(WRKACTJOB)&amp;diff=617&amp;oldid=prev"/>
		<updated>2015-10-19T19:03:02Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;==Jobs==  There are basically two types of user jobs on the iSeries – interactive and batch.  An interactive job is one that runs on a workstation, and requires interaction...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Jobs==&lt;br /&gt;
&lt;br /&gt;
There are basically two types of user jobs on the iSeries – interactive and batch.  An interactive job is one that runs on a workstation, and requires interaction with a user.  A batch job involves no user interaction, but requires more disk access and processor time.  There is no reason for it to tie up a workstation.  &lt;br /&gt;
&lt;br /&gt;
The two types are handled differently by the system.  Interactive jobs have a higher priority, but a smaller time slice.  When the user presses a key, the system responses immediately and performs the request; which typically can be completed in the short time allowed.  Then while it waits for the user to press another key, other jobs are serviced.  If a job that should be batch (ie user interaction is not required, but there is a lot of disk access) is run interactively, the higher priority could degrade overall system performance, while the short time slice will not allow the job to run efficiently.  (I once had a query that took 20 minutes to run interactively, and 2 minutes to run in batch.)&lt;br /&gt;
&lt;br /&gt;
Note that while ASW jobs typically submit to batch when you press enter, you can press F2 to run them interactively.  The advantages are that they will run immediately instead of lining up to run in batch, and that if the job is having problems, there will be a job log to review.&lt;br /&gt;
&lt;br /&gt;
===Job Queues===&lt;br /&gt;
&lt;br /&gt;
Key in the command  WRKJOBQ  to see the job queues, or the ‘lineup’ of jobs waiting for batch processing.  These are jobs that have not yet started running.&lt;br /&gt;
&lt;br /&gt;
                            Work with All Job Queues                            &lt;br /&gt;
                                                                                &lt;br /&gt;
 Type options, press Enter.                                                     &lt;br /&gt;
   2=Change   3=Hold   4=Delete       5=Work with     6=Release                 &lt;br /&gt;
   8=Work with job schedule entries   9=Description   14=Clear                  &lt;br /&gt;
                                                                                &lt;br /&gt;
 Opt     Queue          Library            Jobs     Subsystem      Status       &lt;br /&gt;
  _      EOXBATCH       QGPL                  0     QBATCH          RLS         &lt;br /&gt;
  _      IMPJOBQ        QGPL                  0                     RLS         &lt;br /&gt;
  _      QBASE          QGPL                  0                     RLS         &lt;br /&gt;
  _      QBATCH         QGPL                  0     QBATCH          RLS         &lt;br /&gt;
  _      QBATCH1        QGPL                  0     QBATCH          RLS         &lt;br /&gt;
  _      QBATCH2        QGPL                  0     QBATCH          RLS         &lt;br /&gt;
  _      QBATCH3        QGPL                  0     QBATCH          RLS         &lt;br /&gt;
  _      QFNC           QGPL                  0                     RLS         &lt;br /&gt;
  _      QINTER         QGPL                  0     QINTER          RLS         &lt;br /&gt;
  _      QPGMR          QGPL                  0     QPGMR           RLS         &lt;br /&gt;
  _      QSNADS         QGPL                  0     QSNADS          RLS         &lt;br /&gt;
  _      QSPL           QGPL                  0     QSPL            RLS         &lt;br /&gt;
  _      QSTATEMENT     QGPL                  0     QBATCH          RLS         &lt;br /&gt;
  _      QS36EVOKE      QGPL                  0     QBATCH          RLS         &lt;br /&gt;
  _      QS36MRT        QGPL                  0     QINTER          RLS         &lt;br /&gt;
  _      QTXTSRCH       QGPL                  0     QBATCH          RLS         &lt;br /&gt;
  _      QTCP           QTCP                  0                     RLS         &lt;br /&gt;
  -      DOMINO00       QUSRNOTES             0     DOMINO00        RLS         &lt;br /&gt;
  _      EMAIMPPRD      UNIPHARMIT           54     EMASUBPRD       RLS         &lt;br /&gt;
            &lt;br /&gt;
                                                                                &lt;br /&gt;
The queues to worry about are QBATCH and QBATCH3.  These are the line-ups of jobs submitted by users.  If jobs start accumulating here, it could indicate a problem in the QBATCH subsystem – or that there are a couple of long running jobs running (each of these queues will submit two jobs at a time).  This can happen just after the end of the month.&lt;br /&gt;
&lt;br /&gt;
Job queue EMAIMPPRD will get a line-up of submitted jobs because of the way it is started every morning.  These can be cancelled.&lt;br /&gt;
&lt;br /&gt;
===Active Jobs===&lt;br /&gt;
&lt;br /&gt;
To see all jobs that are currently running, key in the command  WRKACTJOB.&lt;br /&gt;
&lt;br /&gt;
Keep an eye on overall CPU % (5 to 20% is usual during the day).  Press F5 to recalculate the usage over the length of time elapsed.  Be aware of allowing the elapsed time to get too long, as the CPU % will start becoming more of an average than an actual figure.  Press F10 to restart the elapsed time.&lt;br /&gt;
&lt;br /&gt;
Each job also has a field indicating CPU %.  For interactive jobs it is normally between 0 and 9% - it can peak as high as 60% but only for very short periods of time (press F10 to recalculate).  If this percentage stays high, it could be a ‘runaway job’ (either a program that is in a loop, or a job that is no longer connected to a workstation, but is desperately trying to reconnect to it), or it could mean that the user is running a job interactively that should be run in batch.  (In ASW pressing F2 will run a job online instead of submitting it to batch.)  A batch job running online should be left to complete normally; a runaway job must be cancelled.  &lt;br /&gt;
&lt;br /&gt;
Individual batch jobs can use as much as 50 to 70% of the CPU without degrading performance.  The QBATCH subsystem is tuned in such a way as to use all unused processor power.  However, it has a lower run priority than QINTER, and so will defer to interactive jobs requiring processor time.&lt;br /&gt;
&lt;br /&gt;
If the overall CPU % is high, the easiest way to find the culprit is to sort on the jobs’ percentages.  Place the cursor in the CPU % column and press F16 (upper shift F4) to sort on this column from high to low.  This will work for any column on the display – it does not work like windows; pressing F16 a second time will not reverse the sort sequence.  Positioning the cursor under the ‘S’ or ‘u’ in Subsystem/Job will sort by subsystem then job; positioning it under any other letter will sort by job only.&lt;br /&gt;
&lt;br /&gt;
===Subsystems and Jobs===&lt;br /&gt;
&lt;br /&gt;
The DCRF subsystem shows all the RF guns that have a user signed on.  (Interesting note – RFOSIGNON is for users who are only allowed to sign on to an RF gun.  RFSIGNON will detect if the user is on an RF gun or a green screen, and go to either DCRF or QINTER, and run the required program.)&lt;br /&gt;
&lt;br /&gt;
The advantage in having a separate subsystem, is that we can shut down picking in the warehouse, without affecting users in the office.&lt;br /&gt;
&lt;br /&gt;
                             Work with Active Jobs                     BART     &lt;br /&gt;
                                                             06/23/05  16:01:31 &lt;br /&gt;
 CPU %:   11.2     Elapsed time:   00:00:11     Active jobs:   446              &lt;br /&gt;
                                                                                &lt;br /&gt;
 Type options, press Enter.                                                     &lt;br /&gt;
   2=Change   3=Hold   4=End   5=Work with   6=Release   7=Display message      &lt;br /&gt;
   8=Work with spooled files   13=Disconnect ...                                &lt;br /&gt;
                                                                                &lt;br /&gt;
 Opt  Subsystem/Job  User        Type  CPU %  Function        Status            &lt;br /&gt;
      DCRF           QSYS        SBS      .0                   DEQW             &lt;br /&gt;
        RFTER0002A   LEWISJ      INT      .0  PGM-RFSIGNON     DSPW             &lt;br /&gt;
        RFTER0003A   NATALIYAP   INT      .0  PGM-RFOSIGNON    DSPW             &lt;br /&gt;
        RFTER0006A   ALEXG       INT      .0  PGM-RFOSIGNON    DSPW             &lt;br /&gt;
        RFTER0007A   GORDONM     INT      .0  PGM-RFSIGNON     DSPW             &lt;br /&gt;
        RFTER0008A   MICHAELL    INT      .0  PGM-RFOSIGNON    DSPW             &lt;br /&gt;
        RFTER0010A   BIDOS       INT      .0  PGM-RFOSIGNON    DSPW             &lt;br /&gt;
        RFTER0011A   ERICC       INT      .0  PGM-RFOSIGNON    DSPW             &lt;br /&gt;
        RFTER0012A   VICTORIAM   INT      .0  PGM-RFOSIGNON    DSPW     &lt;br /&gt;
        RFTER0013A   JAMESS      INT      .0  PGM-RFOSIGNON    DSPW             &lt;br /&gt;
        RFTER0014A   MITAP       INT      .0  PGM-RFOSIGNON    DSPW             &lt;br /&gt;
        RFTER0015A   ELENAP      INT      .0  PGM-RFOSIGNON    DSPW             &lt;br /&gt;
        RFTER0018A   ANDYT       INT      .0  PGM-RFOSIGNON    DSPW             &lt;br /&gt;
        RFTER0019A   MELQUIADEM  INT     3.6  PGM-RFOSIGNON    DSPW             &lt;br /&gt;
        RFTER0020A   JESUSAS     INT      .0  PGM-RFOSIGNON    DSPW             &lt;br /&gt;
        RFTER0022A   PARMJITG    INT      .0  PGM-RFOSIGNON    DSPW             &lt;br /&gt;
        RFTER0024A   MOHAMMEDR   INT      .0  PGM-RFOSIGNON    DSPW             &lt;br /&gt;
        RFTER0026A   INDERJITD   INT      .0  PGM-RFOSIGNON    DSPW             &lt;br /&gt;
        RFTER0027A   RENATON     INT      .0  PGM-RFOSIGNON    DSPW             &lt;br /&gt;
        RFTER0029A   PAULOV      INT      .0  PGM-RFOSIGNON    DSPW             &lt;br /&gt;
        RFTER0030A   CHOOSY      INT      .2  PGM-RFOSIGNON    DSPW             &lt;br /&gt;
&lt;br /&gt;
The DOMINO subsystem shows the jobs to do with Lotus Notes. &lt;br /&gt;
&lt;br /&gt;
      DOMINO00       QSYS        SBS      .0                   DEQW             &lt;br /&gt;
        ADMINP       QNOTES      BCI      .6  PGM-ADMINP       SELW             &lt;br /&gt;
        AMGR         QNOTES      BCI      .0  PGM-AMGR         SELW             &lt;br /&gt;
        AMGR         QNOTES      BCI      .0  PGM-AMGR         SELW             &lt;br /&gt;
        AMGR         QNOTES      BCI      .0  PGM-AMGR         CNDW             &lt;br /&gt;
        AMGR         QNOTES      BCI      .0  PGM-AMGR         CNDW             &lt;br /&gt;
        CALCONN      QNOTES      BCI      .0  PGM-CALCONN      CNDW             &lt;br /&gt;
        COLSRV400    QNOTES      BCI      .0  PGM-COLSRV400    SELW             &lt;br /&gt;
        CONTROLLER   QNOTES      BCI      .0  PGM-CONTROLLER   JVAW             &lt;br /&gt;
        DECS         QNOTES      BCI      .0  PGM-DECS         SELW             &lt;br /&gt;
        DIRCAT       QNOTES      BCI      .0  PGM-DIRCAT       SELW             &lt;br /&gt;
        EVENT        QNOTES      BCI      .4  PGM-EVENT        SELW             &lt;br /&gt;
        HTTP         QNOTES      BCI     1.1  PGM-HTTP         SELW             &lt;br /&gt;
        MTC          QNOTES      BCI      .0  PGM-MTC          SELW             &lt;br /&gt;
        QJVAEXEC     QNOTES      BCI     1.0  PGM-SERVER       SELW             &lt;br /&gt;
        REPLICA      QNOTES      BCI      .0  PGM-REPLICA      SELW             &lt;br /&gt;
        ROUTER       QNOTES      BCI      .0  PGM-ROUTER       SELW             &lt;br /&gt;
        SCHED        QNOTES      BCI      .0  PGM-SCHED        SELW             &lt;br /&gt;
        SMTP         QNOTES      BCI      .0  PGM-SMTP         SELW             &lt;br /&gt;
        UPDATE       QNOTES      BCI      .0  PGM-UPDATE       SELW             &lt;br /&gt;
&lt;br /&gt;
These are the jobs to do with electronic order processing.  EMASUBPRD runs a job that ‘wakes up’ every hour and checks for low order volumes.  The next four subsystems run the processing for inbound messages, inbound message parsing, inbound order processing, and outbound messages.  These jobs also snooze for a while, then wake up to process any available records.&lt;br /&gt;
&lt;br /&gt;
‘Delay’ can function in two different ways – ‘16:59:00’ means to wake up at one minute before 5PM, and ‘120’ means to wake up in two minutes or 120 seconds. &lt;br /&gt;
&lt;br /&gt;
      EMASUBPRD      QSYS        SBS      .0                   DEQW             &lt;br /&gt;
        EMAIOPPRD    EODJOB      BCH      .0  DLY-16:59:00     DLYW             &lt;br /&gt;
      IMPSUBPRD      QSYS        SBS      .0                   DEQW             &lt;br /&gt;
        IMPPOSTPRD   EODJOB      BCH      .0  DLY-120          DLYW             &lt;br /&gt;
      IMSSUBPRD      QSYS        SBS      .0                   DEQW             &lt;br /&gt;
        IMSPOSTPRD   EODJOB      BCH      .0  DLY-120          DLYW             &lt;br /&gt;
      IOPSUBPRD      QSYS        SBS      .0                   DEQW             &lt;br /&gt;
        IOPPOSTPRD   EODJOB      BCH      .0  DLY-120          DLYW             &lt;br /&gt;
      OMSSUBPRD      QSYS        SBS      .0                   DEQW             &lt;br /&gt;
        OMSPOSTPRD   EODJOB      BCH      .0  DLY-300          DLYW    &lt;br /&gt;
&lt;br /&gt;
‘Exodus’ communicates with PC’s running BCD software.  ‘Catapult’ and ‘Websmart’ are both using different versions of Exodus.  This will be fixed when we upgrade Catapult.  (Note – WebSmart is the tool we use to generate free form RPG programs to run in a browser, and Catapult takes i output and generates a PDF file.)&lt;br /&gt;
&lt;br /&gt;
      EXODUS         QSYS        SBS      .0                   DEQW             &lt;br /&gt;
        EXSERVER     EXODUS      ASJ      .0                   TIMW             &lt;br /&gt;
      EXODUS51       QSYS        SBS      .0                   DEQW             &lt;br /&gt;
        EXSERV51     EXODUS51    ASJ      .0                   SELW  &lt;br /&gt;
      QCMN           QSYS        SBS      .0                   DEQW     &lt;br /&gt;
        EXODUS       CATPULTADM  EVK      .0                   DEQW     &lt;br /&gt;
        EXODUS       CATPULTADM  EVK      .0                   SELW               &lt;br /&gt;
&lt;br /&gt;
The jobs in the monitor subsystems are started by the end of day, and run all day.  &lt;br /&gt;
&lt;br /&gt;
MSGMONITOR keeps an eye on the QSYSOPR message queue, and forwards any unexpected messages to the addresses in data areas MSGREC to MSGREC5 (in library UNIPHARMIT).&lt;br /&gt;
&lt;br /&gt;
ATLAS_INT checks the FTP server for scan batches from Atlas Courier.  When it finds them, it updates the shipment archive.&lt;br /&gt;
&lt;br /&gt;
EDIMON_PRD will send any EDI files that are ready, and will look to see if SPS Commerce has any files ready for us to pick up and process.&lt;br /&gt;
&lt;br /&gt;
FTP_ORDERS checks the FTP server to see if any stores have sent us orders.&lt;br /&gt;
&lt;br /&gt;
ORDALLOCFL checks to see if stock has come in for any future orders, or special orders.  If a regularly stocked item has gone out of stock, and there is a future order, this program will set the item so that when the stock does come in, the future orders will be filled first.  It used to be possible for a regular order to come in and scoop the stock.&lt;br /&gt;
&lt;br /&gt;
      MONITOR        QSYS        SBS      .0                   DEQW             &lt;br /&gt;
        MSGMONITOR   EODJOB      BCH      .0  PGM-OPMESSAGES   MSGW             &lt;br /&gt;
      MONITOR2       QSYS        SBS      .0                   DEQW             &lt;br /&gt;
        ATLAS_INT    ATLAS       BCH      .0  DLY-20           DLYW             &lt;br /&gt;
        EDIMON_PRD   EDIUSER     BCH      .0  PGM-EDCUP040     MSGW             &lt;br /&gt;
        FTP_ORDERS   EODJOB      BCH      .0  PGM-AICUP010     MSGW             &lt;br /&gt;
        ORDALLOCFL   EODJOB      BCH      .0  DLY-13:30:00     DLYW             &lt;br /&gt;
                                                                                &lt;br /&gt;
QBATCH runs normal batch jobs that users have submitted.  Up to two jobs will run at the same time from each job queue – after that they will line up (in QBATCH or QBATCH3 job queues) and wait for their turn.  (The subsystem and the job queue in this case have the same name, but it doesn’t have to be that way.)&lt;br /&gt;
&lt;br /&gt;
PUR_ORDER jobs may cause problems.  Only one can run at a time, so when it starts it checks to see if another version is already running.  If so, the second version will delay and wait for the first to end.  If the first does not end because it is in error, the second one will stay in delay.  If a third PO print jobs starts it will also go into delay and the QBATCH subsystem will be blocked until someone notices the problem and corrects it.  Meanwhile all submitted jobs will line up in the QBATCH and QBATCH3 job queues.&lt;br /&gt;
&lt;br /&gt;
If no one corrects this, at end of day the three active jobs will be cancelled when the subsystem is ended (the only harm will be the PO will not be faxed or emailed).  Any jobs lined up (but not started) will run when the subsystem is restarted the next morning.&lt;br /&gt;
&lt;br /&gt;
      QBATCH         QSYS        SBS      .0                   DEQW             &lt;br /&gt;
        RUNQRY       SHEILAV     BCH      .0  PGM-ASGC900      RUN        &lt;br /&gt;
        PUR_ORDER    SCOTTZ      BCH      .0  PGM-ASGC900      RUN              &lt;br /&gt;
        UPD_UD_SST   SHEILAV     BCH    25.1  PGM-ASGC900      RUN              &lt;br /&gt;
&lt;br /&gt;
We have three web servers – &lt;br /&gt;
&lt;br /&gt;
WEBINTER for InfoNet, which is our browser based system for internal use&lt;br /&gt;
&lt;br /&gt;
WEBSMART which is the Web Order system for our shareholder and customer use.&lt;br /&gt;
&lt;br /&gt;
WEBTEST which is our test system.&lt;br /&gt;
&lt;br /&gt;
There is another server for administration.  We don’t use it much, but since version 6.1, when Domino starts, all TCP/IP servers are started at the same time.&lt;br /&gt;
&lt;br /&gt;
These are Apache servers.  See the section ‘WebSmart / Apache HTTP (Web) Servers’ for more information.&lt;br /&gt;
&lt;br /&gt;
The jobs running QZSRCGI (Common Gateway Interface is a standard method used to generate dynamic content for web applications) call the programs that have been written with WebSmart.  Multiple iterations can be running: as many as are needed to fill requests.&lt;br /&gt;
&lt;br /&gt;
      QHTTPSVR       QSYS        SBS      .0                   DEQW             &lt;br /&gt;
        ADMIN        QLWISVR     BCI      .0  JVM-com.ibm.lw   THDW             &lt;br /&gt;
        ADMIN        QTMHHTTP    BCH      .0  PGM-QZHBMAIN     SIGW             &lt;br /&gt;
        ADMIN        QTMHHTTP    BCI      .0  PGM-QZSRLOG      SIGW             &lt;br /&gt;
        ADMIN        QTMHHTTP    BCI      .0  PGM-QZSRHTTP     SIGW             &lt;br /&gt;
        ADMIN2       QLWISVR     BCI      .0  JVM-com.ibm.lw   THDW             &lt;br /&gt;
        ADMIN3       QLWISVR     BCI      .0  JVM-com.ibm.lw   THDW             &lt;br /&gt;
        ADMIN4       QWEBADMIN   BCI      .4  JVM-/qibm/prod   THDW             &lt;br /&gt;
        WEBINTER     QTMHHTTP    BCH      .0  PGM-QZHBMAIN     SIGW             &lt;br /&gt;
        WEBINTER     QTMHHTTP    BCI      .0  PGM-QZSRLOG      SIGW             &lt;br /&gt;
        WEBINTER     QTMHHTTP    BCI      .0  PGM-QZSRLOG      SIGW             &lt;br /&gt;
        WEBINTER     QTMHHTTP    BCI      .0  PGM-QZSRHTTP     SIGW             &lt;br /&gt;
        WEBINTER     QTMHHTTP    BCI      .0  PGM-QZSRHTTP     DEQW             &lt;br /&gt;
        WEBINTER     QTMHHTP1    BCI      .0  PGM-QZSRCGI      TIMW             &lt;br /&gt;
        WEBINTER     QTMHHTP1    BCI      .0  PGM-QZSRCGI      TIMW             &lt;br /&gt;
        WEBINTER     QTMHHTP1    BCI      .0  PGM-QZSRCGI      TIMW             &lt;br /&gt;
        WEBINTER     QTMHHTP1    BCI      .0  PGM-QZSRCGI      TIMW             &lt;br /&gt;
        WEBINTER     QTMHHTP1    BCI      .0  PGM-QZSRCGI      TIMW             &lt;br /&gt;
        WEBINTER     QTMHHTP1    BCI      .0  PGM-QZSRCGI      TIMW             &lt;br /&gt;
        WEBINTER     QTMHHTP1    BCI      .0  PGM-QZSRCGI      TIMW             &lt;br /&gt;
        WEBINTER     QTMHHTP1    BCI      .0  PGM-QZSRCGI      TIMW             &lt;br /&gt;
        WEBSMART     QTMHHTTP    BCH      .0  PGM-QZHBMAIN     SIGW             &lt;br /&gt;
        WEBSMART     QTMHHTTP    BCI      .0  PGM-QZSRLOG      SIGW             &lt;br /&gt;
        WEBSMART     QTMHHTTP    BCI      .0  PGM-QZSRLOG      SIGW             &lt;br /&gt;
        WEBSMART     QTMHHTTP    BCI      .3  PGM-QZSRHTTP     SIGW             &lt;br /&gt;
        WEBSMART     QTMHHTTP    BCI      .0  PGM-QZSRHTTP     DEQW             &lt;br /&gt;
        WEBSMART     QTMHHTP1    BCI     5.3  PGM-QZSRCGI      TIMA             &lt;br /&gt;
        WEBSMART     QTMHHTP1    BCI     6.6  PGM-QZSRCGI      TIMA             &lt;br /&gt;
        WEBSMART     QTMHHTP1    BCI      .0  PGM-QZSRCGI      TIMW             &lt;br /&gt;
        WEBSMART     QTMHHTP1    BCI      .0  PGM-QZSRCGI      TIMW             &lt;br /&gt;
        WEBSMART     QTMHHTP1    BCI      .0  PGM-QZSRCGI      TIMW             &lt;br /&gt;
        WEBSMART     QTMHHTP1    BCI      .0  PGM-QZSRCGI      TIMW             &lt;br /&gt;
        WEBSMART     QTMHHTP1    BCI      .0  PGM-QZSRCGI      TIMW             &lt;br /&gt;
        WEBSMART     QTMHHTP1    BCI      .0  PGM-QZSRCGI      TIMW             &lt;br /&gt;
        WEBSMART     QTMHHTP1    BCI      .0  PGM-QZSRCGI      TIMW             &lt;br /&gt;
        WEBSMART     QTMHHTP1    BCI      .0  PGM-QZSRCGI      TIMW             &lt;br /&gt;
        WEBSMART     QTMHHTP1    BCI      .0  PGM-QZSRCGI      TIMW             &lt;br /&gt;
        WEBSMART     QTMHHTP1    BCI      .0  PGM-QZSRCGI      TIMW             &lt;br /&gt;
        WEBTEST      QTMHHTTP    BCH      .0  PGM-QZHBMAIN     SIGW             &lt;br /&gt;
        WEBTEST      QTMHHTTP    BCI      .0  PGM-QZSRLOG      SIGW             &lt;br /&gt;
        WEBTEST      QTMHHTTP    BCI      .0  PGM-QZSRHTTP     SIGW             &lt;br /&gt;
        WEBTEST      QTMHHTTP    BCI      .0  PGM-QZSRHTTP     DEQW             &lt;br /&gt;
                                                                                 &lt;br /&gt;
All non-RF interactive sessions run in the QINTER subsystem.  About the only thing to watch out for here is ‘runaway jobs’.  This is either a program that is in a loop, or a job that is no longer connected to a workstation, but is desperately trying to reconnect to it.&lt;br /&gt;
&lt;br /&gt;
      QINTER         QSYS        SBS      .0                   DEQW             &lt;br /&gt;
        HABATERM     GORDONM     INT      .0  PGM-RFSIGNON     DSPW             &lt;br /&gt;
        OTCTERM      GORDONM     INT      .0  PGM-RFSIGNON     DSPW             &lt;br /&gt;
        QPADEV000B   STEVENL     INT      .0  PGM-RFSIGNON     DSPW             &lt;br /&gt;
        QPADEV000C   NANCYN      INT      .0  PGM-UNITY        DSPW             &lt;br /&gt;
        QPADEV000L   MARYT       INT      .0  PGM-UNITY        DSPW             &lt;br /&gt;
       +QPADEV000R   MARYT       INT      .0  PGM-ASGC800      DSPW             &lt;br /&gt;
       +QPADEV000S   RUBYS       INT      .0  PGM-ASGC800      DSPW             &lt;br /&gt;
        QPADEV001N   SHANNONM    INT      .0  PGM-UNITY        DSPW             &lt;br /&gt;
        QPADEV001P   RUBYS       INT      .0  PGM-UNITY        DSPW             &lt;br /&gt;
        QPADEV001Q   RUBYS       INT      .0  PGM-UNITY        DSPW             &lt;br /&gt;
        QPADEV001Z   MARYC       INT      .0  PGM-UNITY        DSPW             &lt;br /&gt;
        QPADEV0013   GORDONM     INT      .0  PGM-RFSIGNON     DSPW             &lt;br /&gt;
&lt;br /&gt;
This subsystem runs the ASW direct jobs.  The two characters after the underscore indicate the company (note VA for the main production company, and PL for test).  Basically, these jobs control the flow of sales orders through the system.&lt;br /&gt;
&lt;br /&gt;
      UP1480BS       QSYS        SBS      .0                   DEQW             &lt;br /&gt;
        AMTRDR_PLA   ASW4OWN     BCH      .0  PGM-ASGC900      DEQW             &lt;br /&gt;
        AMTRDR_PLT   ASW4OWN     BCH      .0  PGM-ASGC900      DEQW             &lt;br /&gt;
        AMTRDR_PLT   ASW4OWN     BCH      .0  PGM-ASGC900      DEQW             &lt;br /&gt;
        AMTRDR_VAA   ASW4OWN     BCH      .0  PGM-ASGC900      DEQW             &lt;br /&gt;
        AMTRDR_VAT   ASW4OWN     BCH      .0  PGM-ASGC900      DEQW             &lt;br /&gt;
        AMTRDR_VAT   ASW4OWN     BCH      .0  PGM-ASGC900      DEQW             &lt;br /&gt;
        DPRQ1_PL     ASW4OWN     BCH      .0  PGM-ASGC900      DEQW             &lt;br /&gt;
        DPRQ1_VA     ASW4OWN     BCH      .0  PGM-ASGC900      DEQW             &lt;br /&gt;
        DPRQ2_PL     ASW4OWN     BCH      .0  PGM-ASGC900      DEQW             &lt;br /&gt;
        DPRQ2_VA     ASW4OWN     BCH      .0  PGM-ASGC900      DEQW             &lt;br /&gt;
        DPRQ3_PL     ASW4OWN     BCH      .0  PGM-ASGC900      DEQW             &lt;br /&gt;
        DPRQ3_VA     ASW4OWN     BCH      .0  PGM-ASGC900      DEQW             &lt;br /&gt;
        ORDFLOW_PL   ASW4OWN     BCH      .0  PGM-ASGC900      DEQW             &lt;br /&gt;
        ORDFLOW_VA   ASW4OWN     BCH      .0  PGM-ASGC900      DEQW             &lt;br /&gt;
&lt;br /&gt;
===Cancelling a Job===&lt;br /&gt;
&lt;br /&gt;
In WRKACTJOB, find the job that is ‘runaway’, or perhaps the RF gun that is locked.  Key ‘4’ in front of it, in the option field, and press F4.&lt;br /&gt;
&lt;br /&gt;
                                End Job (ENDJOB)                                &lt;br /&gt;
                                                                                &lt;br /&gt;
 Type choices, press Enter.                                                     &lt;br /&gt;
                                                                                &lt;br /&gt;
 Job name . . . . . . . . . . . . &amp;gt; SHEILAV3      Name                          &lt;br /&gt;
   User . . . . . . . . . . . . . &amp;gt;   SHEILAV     Name                          &lt;br /&gt;
   Number . . . . . . . . . . . . &amp;gt;   101245      000000-999999                 &lt;br /&gt;
 How to end . . . . . . . . . . .   *CNTRLD       *CNTRLD, *IMMED               &lt;br /&gt;
 Delay time, if *CNTRLD . . . . .   30            Seconds                       &lt;br /&gt;
 Delete spooled files . . . . . .   *NO           *NO, *YES                     &lt;br /&gt;
 Maximum log entries  . . . . . .   *SAME         Number, *SAME, *NOMAX         &lt;br /&gt;
 Additional interactive jobs  . .   *NONE         *NONE, *GRPJOB, *ALL          &lt;br /&gt;
                                                                                &lt;br /&gt;
In the ‘How to end’ field, change *CNTRLD (controlled) to *IMMED (immediate).  If you make the mistake of pressing Enter instead of F4, the job will go right into a controlled end.  You can still go back and repeat this procedure, remembering this time to press F4.&lt;br /&gt;
&lt;br /&gt;
In extreme cases, this might not work - the job will just continue running.  In that case, an end job abnormal (ENDJOBABN) can be run.  Note that it can only be run ten minutes after an endjob *immed has been run.&lt;br /&gt;
&lt;br /&gt;
                          End Job Abnormal (ENDJOBABN)                          &lt;br /&gt;
                                                                                &lt;br /&gt;
 Type choices, press Enter.                                                     &lt;br /&gt;
                                                                                &lt;br /&gt;
 Job name . . . . . . . . . . . .   __________    Name                          &lt;br /&gt;
   User . . . . . . . . . . . . .     __________  Name                          &lt;br /&gt;
   Number . . . . . . . . . . . .     ______      000000-999999                 &lt;br /&gt;
                                                                                &lt;br /&gt;
                            Additional Parameters                               &lt;br /&gt;
                                                                                &lt;br /&gt;
 Duplicate job option . . . . . .   *SELECT       *SELECT, *MSG                 &lt;br /&gt;
             &lt;br /&gt;
                                                                          &lt;br /&gt;
 F3=Exit   F4=Prompt   F5=Refresh   F12=Cancel   F13=How to use this display    &lt;br /&gt;
 F24=More keys&lt;/div&gt;</summary>
		<author><name>Sheilav</name></author>
	</entry>
</feed>