Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables |  All
Print Page as PDF
Routine: PSXBKD

Package: CMOP

Routine: PSXBKD


Information

PSXBKD ;BIR/WPB,PWC-Routine to Control Host Background Jobs ;08 Apr 98 4:22 AM

Source Information

Source file <PSXBKD.m>

Call Graph

Call Graph Total: 9

Package Total Call Graph
VA Fileman 6 ^%DT  NOW^%DTC  FILE^DICN  ^DIE  ^DIK  ^DIR  
Kernel 3 (,KILL,REQ,STAT)^%ZTLOAD  ($$FMTE,$$HTE)^XLFDT  $$IEN^XUMF  

Caller Graph

Caller Graph Total: 1

Package Total Caller Graph
CMOP 1 PSXRTN  

Entry Points

Name Comments DBIA/ICR reference
STATUS
UNSCH
D513AA
D513AB
DELREL
STOP1
STOPJOB
EXIT
ST1
DEL513A
EX1
UNSCH1
RESCH
EX

External References

Name Field # of Occurrence
^%DT DELREL+2
NOW^%DTC RESCH+1, UNSCH1+1, STOP1+1
^%ZTLOAD DELREL+3
KILL^%ZTLOAD UNSCH+6, STOPJOB+6
REQ^%ZTLOAD RESCH
STAT^%ZTLOAD UNSCH+4, STOPJOB+4
FILE^DICN DELREL+7
^DIE D513AA+1, D513AB+1, UNSCH1+3, STOP1+2
^DIK D513AA+3
^DIR DELREL+1, EX+4
$$FMTE^XLFDT STATUS+9, STATUS+10, STATUS+11, ST1+6
$$HTE^XLFDT ST1+5
$$IEN^XUMF ST1+3

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!
  • Line Location: DELREL+0
Function Call: WRITE
  • Prompt: !,"Job Started.",!
  • Line Location: DELREL+4
Function Call: WRITE
  • Prompt: !,"This job doesn't exist.",!
  • Line Location: UNSCH+3
Function Call: WRITE
  • Prompt: !,"This task is currently running, wait until the task has finished before stopping the job.",!
  • Line Location: UNSCH+5
Function Call: WRITE
  • Prompt: !,"This job doesn't exist.",!
  • Line Location: STOPJOB+3
Function Call: WRITE
  • Prompt: !,"This task is currently running, wait until the task has finished before stopping the job.",!
  • Line Location: STOPJOB+5
Function Call: WRITE
  • Prompt: !!,?((IOM\2)-($L(PSXTXT)\2)-3),PSXTXT
  • Line Location: STATUS+4
Function Call: WRITE
  • Prompt: !,"Remote site is not in the Institution file."
  • Line Location: ST1+2
Function Call: WRITE
  • Prompt: !,"Remote site is not in the Institution file."
  • Line Location: ST1+3
Function Call: WRITE
  • Prompt: !!,"Last Order Processed ",?22,":",?24,$G(SITE)," ",PSX1
  • Line Location: ST1+10
Function Call: WRITE
  • Prompt: !,"Date and Time",?22,":",?24,$G(ACKTM)
  • Line Location: ST1+11
Function Call: WRITE
  • Prompt: !!,"Total in the Queue",?22,":",?24,$G(BCNT)," Transmissions with ",$G(OCNT)_"/"_$G(CNT)," Orders/Rx's"
  • Line Location: ST1+12
Function Call: WRITE
  • Prompt: !!,"No data has been sent to the automated system."
  • Line Location: EX+0
Function Call: WRITE
  • Prompt: !!,"Last Query Request",?22,":",?24,$S($G(QFLG)=0:$G(QRY),$G(QFLG)=1:$G(QRY)-1,1:""),!," Rx's received",?22,":",?24,$G(TRX),!," Date and Time",?22,":",?24,$G(QTM)
  • Line Location: EX+1
Function Call: WRITE
  • Prompt: !!,"Query# ",$G(QRY)," in progress ",$G(TTRX)," Rx's have been received."
  • Line Location: EX+2
Function Call: WRITE
  • Prompt: !
  • Line Location: EX+3
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: EX+4
Routine Call
  • DIE
  • Line Location:
    • D513AA+1
    • D513AB+1
    • UNSCH1+3
    • STOP1+2
Routine Call
  • DIR
  • Line Location:
    • DELREL+1
    • EX+4

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^PSX(552 ST1+3
^PSX(552.1 ST1, ST1+1, ST1+6, ST1+7, ST1+8, ST1+9
^PSX(552.2 ST1+4, ST1+5
^PSX(552.3 D513AA+3
^PSX(553 STATUS+1, ST1+1
^PSX(553.1 STATUS+6, STATUS+7, STATUS+8, STATUS+9, STATUS+10, STATUS+11
^PSX(554 DELREL+1, DELREL+6*, D513AA, D513AA+2, D513AB, D513AB+2, RESCH+2*, UNSCH+1, UNSCH+2, UNSCH1
, UNSCH1+4, STOPJOB+1, STOPJOB+2, STOP1, STOP1+3

Label References

Name Line Occurrences
D513AA D513AA
D513AB D513AB
EX ST1
EXIT DELREL+1, DELREL+2
RESCH DEL513A
ST1 STATUS+6, STATUS+7
STOP1 STOP1
UNSCH DELREL+1
UNSCH1 UNSCH1

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% RESCH+2, RESCH+3!, UNSCH1+2, STOP1+2
%DT DELREL+2*!
%DT("A" DELREL+2*!, EXIT!
%DT("B" DELREL+2*!, EXIT!
ACKTM ST1+5*, ST1+6*, ST1+11, EX1!
>> AGNCY ST1+3*
BCNT STATUS+5*, ST1+8*, ST1+12, EX1!
CNT STATUS+5*, ST1+7*, ST1+9*, ST1+12, EX1!
DA D513AA+1*, D513AA+2!, D513AA+3*!, D513AB+1*, D513AB+2!, UNSCH1+1*, UNSCH1+3!, STOP1+1*, STOP1+3!
DA(1 DELREL+7*, D513AA+1*, D513AB+1*, UNSCH1+1*, UNSCH1+2, STOP1+1*
DD DELREL+5!
DEL D513AA+3*, D513AB+3!
DIC DELREL+7*!, ST1+4!
DIC("DR" DELREL+7*!
DIC(0 DELREL+7*!
DIE D513AA+1*, D513AA+2!, D513AB+1*, D513AB+2!, UNSCH1+2*, UNSCH1+3!, STOP1+1*, STOP1+3!
DIK D513AA+3*!
DIR DELREL+1!, EXIT!, EX+4!
DIR("A" DELREL+1*, EX+4*
DIR("B" DELREL+1*
DIR(0 DELREL+1*, EX+4*
DIROUT EXIT!, EX1!
DIRUT DELREL+1, EXIT!, EX1!
DO DELREL+5!
DR D513AA+1*, D513AA+2!, D513AB+1*, D513AB+2!, UNSCH1+2*, UNSCH1+3!, STOP1+2*, STOP1+3!
DTOUT DELREL+2, EXIT!, EX1!
DUOUT EXIT!, EX1!
DUZ DELREL+7, UNSCH1+2, STOP1+2
IEN512 ST1+4*, ST1+5, ST1+6, EX1!
IOF EX+4
IOM STATUS+4
N EXIT!
NDATA ST1*, EX, EX1!
OCNT STATUS+5*, ST1+9*, ST1+12, EX1!
PSX1 STATUS+5~, ST1+1*, ST1+4, ST1+10, EX1!
PSX2 STATUS+5~
PSXDATE DELREL+2*, DELREL+3, DELREL+7, EXIT!
PSXSTAT STATUS~, STATUS+1*, STATUS+2, STATUS+3, EX1!
PSXTSK1 DEL513A*, RESCH, RESCH+3!
PSXTXT STATUS~, STATUS+3*, STATUS+4, EX1!
QFLG STATUS+5*, STATUS+10*, EX+1, EX+2, EX1!
QRY STATUS+7*, STATUS+8, STATUS+9*, STATUS+10, STATUS+11, EX+1, EX+2, EX1!
QTM STATUS+9*, STATUS+10*, STATUS+11*, EX+1, EX1!
RE RESCH+2*, RESCH+3!
REC D513AA*, D513AA+1, D513AA+2, D513AB*, D513AB+1, D513AB+2, D513AB+3!, UNSCH+1*, UNSCH+2, UNSCH1
, UNSCH1+1, UNSCH1+4, STOPJOB+1*, STOPJOB+2, STOP1, STOP1+1, STOP1+3!
SITE ST1+4*, ST1+10, EX1!
ST ST1+1*, ST1+3, EX1!
ST1 ST1+3*, EX1!
ST2 ST1+1*, ST1+6, EX1!
STAT STATUS+8*, STATUS+9, STATUS+10, STATUS+11, EX1!
STDATE EXIT!
TIME EXIT!, RESCH*
TRX STATUS+5*, STATUS+9*, STATUS+10*, STATUS+11*, EX+1, EX1!
TTRX STATUS+5*, STATUS+10*, EX+2, EX1!
X DELREL+2!, DELREL+7*!, ST1+3*, ST1+4!
XXX ST1+8*, EX1!
Y DELREL+1, DELREL+2!, DELREL+7!, EXIT!, UNSCH1+4!, ST1+4!, EX+4!
YYY ST1+8*, EX1!
ZTDESC DELREL+3*, D513AB+3!, RESCH*
ZTDTH DELREL+3*, D513AB+3!, RESCH*
ZTIO DELREL+3*, D513AB+3!, RESCH*
>> ZTREQ DELREL+8*
ZTRTN DELREL+3*, D513AB+3!, RESCH*
ZTSK DELREL+4, DELREL+7, DEL513A, D513AB+3!, RESCH*, UNSCH~, UNSCH+2*, UNSCH+3, UNSCH1+4!, STOPJOB~
, STOPJOB+2*, STOPJOB+3
ZTSK(0 UNSCH1, STOP1
ZTSK(1 UNSCH+5, UNSCH+6, STOPJOB+5, STOPJOB+6
ZZZ ST1+8*, ST1+9, EX1!
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables |  All