XUTMHR ;ISF/RWF - Taskman Hourly checkup routine. ;10/20/10 17:13
Source file <XUTMHR.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
FIX(DA,X,USER) | ;Reschedule
|
|
HOUR | ;Work to do each hour
|
|
SCAN | ;Scan the Scheduled Tasks file. Merge with XUTMCS sometime.
|
|
LATE(T1,NOW) | ;Return if a H3 time is Late
|
|
REMOVE(DA) | ;Remove if pointed to option is missing
|
|
DEVREJ(SKIP) | ;Rejected Device cleanup
|
|
SNAP | ;Snapshot ZTMON data into the TASKMAN SNAPSHOT file.
|
|
SN2 | ;Do the snapshot
|
|
EN(ZTQPARAM) | ;So can job it to run.
|
|
UNSCH(ZTSK,DZ,DEV,SKIP) | ;Unschedule Task and send alert
|
Name | Field # of Occurrence |
---|---|
$$ACTJ^%ZOSV | SN2+48 |
GETENV^%ZOSV | DEVREJ+2 |
^%ZTER | SN2+51 |
$$TM^%ZTLOAD | SN2+4 |
DQ^%ZTLOAD | UNSCH+2 |
$$H3^%ZTM | SN2+2, LATE+1 |
FILE^DIE | FIX+6 |
UPDATE^DIE | SN2+50 |
^DIK | REMOVE+2 |
$$HADD^XLFDT | SCAN+3 |
$$HTFM^XLFDT | SCAN+3 |
$$NOW^XLFDT | SN2+3 |
$$SCH^XLFDT | FIX+4 |
SETUP^XQALERT | UNSCH+4 |
$$APFIND^XUSAP | FIX+2 |
Name | Line Occurrences |
---|---|
Function Call: WRITE |
|
Routine Call |
|
Routine Call |
|
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^%ZIS(14.5 - [#14.5] | DEVREJ+2, DEVREJ+3 |
^%ZIS(14.72 - [#14.72] | SN2+50 |
^%ZTSCH( | DEVREJ+5, SN2+19, SN2+20 |
^%ZTSCH("C" | SN2+34 |
^%ZTSCH("IO" | SN2+24, SN2+27 |
^%ZTSCH("JOB" | SN2+31, SN2+36 |
^%ZTSCH("LOAD" | SN2+14 |
^%ZTSCH("STATUS" | SN2+7 |
^%ZTSCH("SUB" | SN2+43 |
^%ZTSCH("TASK" | SN2+39 |
^%ZTSK - [#14.4] | SCAN+11, SCAN+13, SCAN+15, SCAN+16, DEVREJ+6, DEVREJ+7, DEVREJ+8, DEVREJ+11 |
^DIC(19 - [#19] | SCAN+8 |
^DIC(19.2 - [#19.2] | SCAN+4, SCAN+5, SCAN+6 |
^TMP("DIERR" | SN2+51 |
Name | Line Occurrences |
---|---|
$$LATE | SN2+19, SN2+36 |
DEVREJ | HOUR+2 |
FIX | SCAN+15, SCAN+17 |
REMOVE | SCAN+8 |
SCAN | HOUR+1 |
SN2 | SNAP+9 |
UNSCH | DEVREJ+9 |
Name | Field # of Occurrence |
---|---|
^( | SN2+7, SN2+43 |
^(1 | SCAN+6 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
% | SNAP+2~, SN2+1!, SN2+14* |
CNT | DEVREJ+1~ |
D0 | SCAN+1~, SCAN+3*, SCAN+4*, SCAN+5, SCAN+6, SCAN+8, SCAN+15, SCAN+17 |
DA | FIX~, FIX+4, REMOVE~ |
DEV | UNSCH~, UNSCH+3 |
DIK | REMOVE+1~, REMOVE+2* |
DUZ | FIX+1~, FIX+3* |
DZ | UNSCH~, UNSCH+3 |
FDA | FIX+1~, SNAP+2~, SN2+1! |
FDA( | FIX+5*, SN2+3*, SN2+4*, SN2+9*, SN2+10*, SN2+12*, SN2+14*, SN2+21*, SN2+25*, SN2+28* , SN2+35*, SN2+36*, SN2+40*, SN2+45*, SN2+47*, SN2+48* |
I2 | SNAP+2~, SN2+1!, SN2+8*, SN2+9, SN2+10 |
I3 | SNAP+2~, SN2+1!, SN2+44*, SN2+45 |
IEN | FIX+1~, FIX+4*, FIX+5, SNAP+2~, SN2+1!, SN2+2*, SN2+3, SN2+4, SN2+8, SN2+12 , SN2+14, SN2+21, SN2+25, SN2+28, SN2+35, SN2+36, SN2+40, SN2+44, SN2+47, SN2+48 |
NOW | SCAN+1~, SCAN+3*, SCAN+13, LATE~, LATE+2 |
NOWH3 | SNAP+2~, SN2+2*, SN2+19, SN2+36 |
OLD | SCAN+1~, SCAN+3*, SCAN+17 |
R2 | SNAP+2~, SN2+1!, SN2+5*, SN2+9, SN2+10 |
R3 | SNAP+2~, SN2+1!, SN2+42*, SN2+45 |
SI | SNAP+2~, SN2+1!, SN2+5*, SN2+8*, SN2+42*, SN2+44* |
SKIP | DEVREJ~, DEVREJ+3*, DEVREJ+9, UNSCH~, UNSCH+4 |
T1 | LATE~, LATE+1*, LATE+2 |
TK | SCAN+1~, SCAN+16*, SCAN+17 |
TRY | DEVREJ+1~, DEVREJ+3*, DEVREJ+9 |
U | SCAN+3*, SCAN+9, SCAN+13, SCAN+17, FIX+4, DEVREJ+2, DEVREJ+3, DEVREJ+8, DEVREJ+9, SNAP+1* , SN2+9, SN2+10, SN2+14, SN2+45 |
USER | FIX~, FIX+3 |
VOL | DEVREJ+1~, DEVREJ+2* |
X | SCAN+1~, SCAN+6*, SCAN+8, SCAN+9, SCAN+13, SCAN+15, SCAN+17, FIX~, FIX+4, DEVREJ+1~ , DEVREJ+8*, DEVREJ+9, SNAP+2~, SN2+7*, SN2+9, SN2+10, SN2+43*, SN2+45 |
X1 | SCAN+1~, SCAN+6*, SCAN+11, SCAN+13, SCAN+15, SCAN+16 |
X2 | SCAN+1~ |
XMB | DEVREJ+1~ |
XMY | DEVREJ+1~ |
XQA | UNSCH+1~ |
XQA( | UNSCH+3* |
XQADATA | UNSCH+1~, UNSCH+3* |
XQAMSG | UNSCH+1~, UNSCH+3*, UNSCH+5 |
XQAROU | UNSCH+1~, UNSCH+3* |
Y | FIX+1~, FIX+2*, FIX+3, FIX+4*, FIX+5, DEVREJ+1~, DEVREJ+2*, DEVREJ+3, DEVREJ+8*, DEVREJ+9 |
Z | DEVREJ+1~, DEVREJ+8*, DEVREJ+9 |
Z0 | SCAN+1~ |
Z4 | SCAN+1~ |
Z5 | SCAN+1~ |
ZT1 | SNAP+2~, SN2+5*, SN2+7*, SN2+9, SN2+16*, SN2+19*, SN2+20, SN2+23*, SN2+24*, SN2+26* , SN2+27*, SN2+30*, SN2+31*, SN2+33*, SN2+34*, SN2+38*, SN2+39*, SN2+42*, SN2+43*, SN2+45 |
ZT2 | SNAP+2~, SN2+5*, SN2+8*, SN2+12, SN2+16*, SN2+19*, SN2+20*, SN2+26*, SN2+27*, SN2+30* , SN2+31*, SN2+33*, SN2+34*, SN2+38*, SN2+42*, SN2+43*, SN2+45 |
ZT3 | SNAP+2~, SN2+16*, SN2+19*, SN2+21, SN2+26*, SN2+27*, SN2+30*, SN2+33*, SN2+34*, SN2+38* , SN2+42* |
ZT4 | SNAP+2~, SN2+26*, SN2+27*, SN2+28 |
ZT5 | SNAP+2~, SN2+16*, SN2+19*, SN2+20 |
ZTC | SNAP+2~, SN2+16*, SN2+20*, SN2+21, SN2+23*, SN2+24*, SN2+25, SN2+26*, SN2+27*, SN2+28 , SN2+30*, SN2+31*, SN2+34*, SN2+35, SN2+38*, SN2+39*, SN2+40, SN2+42*, SN2+44*, SN2+47 |
ZTC2 | SNAP+2~, SN2+16*, SN2+20*, SN2+21 |
ZTDTH | DEVREJ+1~, DEVREJ+4*, DEVREJ+5* |
ZTQ1 | SNAP+2~, SNAP+4*, SNAP+5*, SNAP+7, SNAP+9* |
ZTQ2 | SNAP+2~, SNAP+6*, SNAP+7*, SNAP+9 |
ZTQPARAM | EN~, SNAP+3*, SNAP+4, SNAP+6 |
>> ZTREQ | SCAN+20* |
ZTSK | DEVREJ+1~, DEVREJ+5*, DEVREJ+6, DEVREJ+7, DEVREJ+8, DEVREJ+9, DEVREJ+11, UNSCH~, UNSCH+3 |