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 |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All
Print Page as PDF
Routine: SDECINIT

Package: Scheduling

Routine: SDECINIT


Information

SDECINIT ;ALB/SAT - VISTA SCHEDULING RPCS ;JAN 15, 2016

Source Information

Source file <SDECINIT.m>

Call Graph

Call Graph

Call Graph Total: 12

Package Total Call Graph
Scheduling 5 (RESCLIN1,RESDGA,RESPRV1)^SDEC01B  INDEX^SDECINI1  (CHK,SDAPPT)^SDECINI2  REGNMSP^SDECRPC  CLEAR^SDECU  
VA FileMan 4 ^DIC  UPDATE^DIE  CLEAN^DILF  $$GET1^DIQ  
Kernel 3 ^%ZTLOAD  ($$FMADD,$$FMTE,$$NOW)^XLFDT  $$UP^XLFSTR  

Entry Points

Name Comments DBIA/ICR reference
PRE ;
POST ;
SCH ;schedule options
SCHTSK(OPTNAME,QTIME,QFREQ) ; Schedule Option
ONE ;One time queue setup for SDEC IDX REFRESH
RPC ;register SDEC rpcs
RESCLIN ;populate SDEC RESOURCE with clinics from file 44
RESPRVA ;called from RSCLIN
RESUPRV1 ;add privileged provider to SDEC RESOURCE USER
SDRTYP(SDRTYP) ;build array of resource types
RESAV ;add AVAILABLE and UNAVAILABLE to SDEC ACCESS TYPE file
AVAILADD(SDTXT) ;add to SDEC ACCESS TYPE file

External References

Name Field # of Occurrence
^%ZTLOAD ONE+6
^DIC SCHTSK+6
UPDATE^DIE SCHTSK+15, RESUPRV1+9, AVAILADD+10
CLEAN^DILF SCHTSK+17
$$GET1^DIQ RESPRVA+6, RESPRVA+11, RESPRVA+13, SDRTYP+9
RESCLIN1^SDEC01B RESCLIN+11
RESDGA^SDEC01B RESCLIN+9
RESPRV1^SDEC01B RESPRVA+8, RESPRVA+16
INDEX^SDECINI1 POST+3
CHK^SDECINI2 POST+2
SDAPPT^SDECINI2 POST+8
REGNMSP^SDECRPC RPC+5, RPC+6, RPC+7, RPC+8, RPC+9, RPC+10, RPC+11, RPC+12, RPC+13, RPC+14
CLEAR^SDECU RESCLIN+8
$$FMADD^XLFDT ONE+4
$$FMTE^XLFDT SCH+2, RPC+2, RESCLIN+4, RESAV+2
$$NOW^XLFDT SCH+2, SCHTSK+3, ONE+4, RPC+2, RESCLIN+4, RESPRVA+14, RESAV+2
$$UP^XLFSTR SCH+10, RESPRVA+6, RESPRVA+11

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,"Scheduling SDEC IDX REFRESH ..."
  • Line Location: SCH+3
Function Call: WRITE
  • Prompt: !,Y
  • Line Location: SCH+4
Function Call: WRITE
  • Prompt: !,"Scheduled option ",OPTNAME
  • Line Location: SCHTSK+16
Function Call: WRITE
  • Prompt: !!,"Registering new RPCs..."
  • Line Location: RPC+3
Function Call: WRITE
  • Prompt: !,Y
  • Line Location: RPC+4
Function Call: WRITE
  • Prompt: !!,"Updating new SDEC RESOURCE file 409.831 with clinics and providers from file 44..."
  • Line Location: RESCLIN+5
Function Call: WRITE
  • Prompt: !,Y
  • Line Location: RESCLIN+6
Function Call: WRITE
  • Prompt: !!,"Updating SDEC ACCESS TYPE file 409.823 with entries for ""AVAILABLE"" and ""UNAVAILABLE""..."
  • Line Location: RESAV+3
Function Call: WRITE
  • Prompt: !,Y
  • Line Location: RESAV+4
Routine Call
  • DIC
  • Line Location:
    • SCHTSK+6
Routine Call
  • DIE
  • Line Location:
    • SCHTSK+15
    • RESUPRV1+9
    • AVAILADD+10

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^DIC(19 - [#19] Classic Fileman Calls
^VA(200 - [#200] GET1^DIQ
^SDEC(409.831 - [#409.831] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^SC - [#44] RESCLIN+10, RESPRVA+4, RESPRVA+5, RESPRVA+9, RESPRVA+10
^SDEC(409.823 - [#409.823] RESAV+5, RESAV+6, AVAILADD+2
^SDEC(409.831 - [#409.831] SDRTYP+8
^SDEC(409.833 - [#409.833] RESUPRV1+3

Label References

Name Line Occurrences
AVAILADD RESAV+5, RESAV+6
ONE SCH+10
RESAV POST+6
RESCLIN POST+5
RESPRVA RESCLIN+13
RESUPRV1 RESPRVA+17
RPC POST+1
SCH POST+9
SCHTSK SCH+7

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
DIC SCHTSK+1~, SCHTSK+5*
DIC(0 SCHTSK+5*
FDA SCHTSK+1~
FDA( SCHTSK+8*, SCHTSK+12*, SCHTSK+13*
NOW SCH+1~, SCH+9*, SCH+10
OPTNAME SCHTSK~, SCHTSK+2, SCHTSK+5, SCHTSK+10, SCHTSK+16
QFREQ SCHTSK~, SCHTSK+4*, SCHTSK+13
QTIME SCH+1~, SCH+6*, SCH+7, SCHTSK~, SCHTSK+3*, SCHTSK+12
SCHNM SCHTSK+1~, SCHTSK+6*, SCHTSK+8, SCHTSK+9
SDAV AVAILADD+1~, AVAILADD+2*, AVAILADD+3
SDCL RESCLIN+1~, RESCLIN+10*, RESCLIN+11, RESPRVA+4, RESPRVA+5, RESPRVA+8, RESPRVA+9, RESPRVA+10, RESPRVA+16
SDCLN RESCLIN+1~
SDDATA RESCLIN+1~
SDF RESUPRV1+1~, RESUPRV1+2*
SDFDA RESCLIN+1~, RESUPRV1+1~, RESUPRV1+6*, RESUPRV1+7, RESUPRV1+8, AVAILADD+1~
SDFDA( RESUPRV1+6, AVAILADD+4*, AVAILADD+5*, AVAILADD+6*, AVAILADD+7*, AVAILADD+8*, AVAILADD+9*
SDFIELDS RESCLIN+1~
SDFOUND RESCLIN+1~, RESPRVA+2~, RESPRVA+3*
SDI RESCLIN+1~, SDRTYP+6~, SDRTYP+8*, SDRTYP+9, SDRTYP+10
SDIEN SCHTSK+1~*, RESCLIN+1~, RESUPRV1+1~
SDIN RESCLIN+2~
>> SDJ RESPRVA+4*, RESPRVA+5, RESPRVA+9*, RESPRVA+10, RESPRVA+13
SDMSG RESCLIN+1~, RESUPRV1+1~
SDNOD RESUPRV1+1~
>> SDPRV RESPRVA+5*, RESPRVA+6, RESPRVA+8, RESPRVA+10*, RESPRVA+11, RESPRVA+16, RESUPRV1+3, RESUPRV1+8
>> SDPRVN RESPRVA+6*, RESPRVA+7, RESPRVA+8, RESPRVA+11*, RESPRVA+12, RESPRVA+16
SDRES11 RESCLIN+1~
SDRESH RESCLIN+1~, RESCLIN+3*, RESCLIN+11, RESPRVA+17, RESUPRV1+3, RESUPRV1+7
SDRN RESCLIN+2~
SDRTYP SDRTYP~, SDRTYP+7!
SDRTYP( SDRTYP+10*
SDRU RESUPRV1+1~, RESUPRV1+4*, RESUPRV1+6
SDTS RESCLIN+1~
SDTXT AVAILADD~, AVAILADD+2, AVAILADD+4, AVAILADD+5, AVAILADD+6, AVAILADD+7, AVAILADD+8
SDTYP SDRTYP+6~, SDRTYP+9*, SDRTYP+10
TD RESPRVA+2~, RESPRVA+13*, RESPRVA+14
U RESPRVA+5, RESPRVA+10
X SCHTSK+1~, SCHTSK+5*, SCHTSK+8*
>> XPDQUES("POS1 NIGHTJOB" , SCH+6
>> XPDQUES("POS2 NOWJOB" , SCH+9
Y SCH+1~, SCH+2*, SCH+4, SCHTSK+1~, SCHTSK+6, RPC+1~, RPC+2*, RPC+4, RESCLIN+1~, RESCLIN+4*
RESCLIN+6, RESAV+1~, RESAV+2*, RESAV+4
ZTDESC ONE+1~, ONE+5*
ZTDTH ONE+1~, ONE+4*
ZTIO ONE+1~, ONE+3*
ZTRTN ONE+1~, ONE+2*
Info |  Source |  Call Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All