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: SCMCLN

Package: Scheduling

Routine: SCMCLN


Information

SCMCLN ;swo/oifobp temp clean up routine

Source Information

Source file <SCMCLN.m>

Call Graph

Call Graph Total: 3

Package Total Call Graph
VA Fileman 3 ^DIK  EN1^DIP  ^DIR  

Entry Points

Name Comments DBIA/ICR reference
LOG ;build a list in ^TMP("SCMCLN",$J
SHOW ;see what we got
TEST ;
DEL ;delete the danglers
CLEAN ;clean-up
FOOT ;footer message

External References

Name Field # of Occurrence
^DIK DEL+10
EN1^DIP SHOW+4
^DIR SCMCLN+20

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,"Checking for ""Ghost Entries"" in the PATIENT TEAM POSITION ASSIGNMENT FILE."
  • Line Location: SCMCLN+7
Function Call: WRITE
  • Prompt: !,"This may take a moment. You will be provided with a list showing corrupted"
  • Line Location: SCMCLN+8
Function Call: WRITE
  • Prompt: !,"file entries. To perform a clean-up accept the ""Yes"" prompt after the list"
  • Line Location: SCMCLN+9
Function Call: WRITE
  • Prompt: !,"is displayed. Answer ""No"" to abort the clean-up.",!
  • Line Location: SCMCLN+10
Function Call: WRITE
  • Prompt: !,"Nothing to clean up...."
  • Line Location: SCMCLN+17
Function Call: WRITE
  • Prompt: !,"Pointer to HL7 EVENT file - the entry ("_V1_") was not deleted."
  • Line Location: DEL+8
Function Call: WRITE
  • Prompt: !,"Clean-up completed",!
  • Line Location: DEL+11
Function Call: WRITE
  • Prompt: !,CNT1_" entries searched. Ghost entries found: "_CNT2
  • Line Location: FOOT+1
Function Call: WRITE
  • Prompt: ^SCPT(404.43,$P($P(^SCPT(404.48,X,0),U,7),";"),0),!
  • Line Location: TEST+3
Routine Call
  • DIR
  • Line Location:
    • SCMCLN+20

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^SCPT(404.43 - [#404.43] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^SCPT(404.42 - [#404.42] SCMCLN+15
^SCPT(404.43 - [#404.43] SCMCLN+11, SCMCLN+13, TEST+3
^SCPT(404.48 - [#404.48] DEL+6, TEST+1, TEST+2, TEST+3
^TMP("SCMCLN" LOG+1*, DEL+4, CLEAN+1!
^TMP("SCMCLN2" DEL+7*, CLEAN+2!

Label References

Name Line Occurrences
CLEAN SCMCLN+22
DEL SCMCLN+21
LOG SCMCLN+15
SHOW SCMCLN+16

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> BY SHOW+2*
>> BY(0 SHOW+3*
CNT1 SCMCLN+5~, SCMCLN+6*, SCMCLN+12*, FOOT+1
CNT2 SCMCLN+5~, SCMCLN+6*, SCMCLN+17, LOG+2*, FOOT+1
DA SCMCLN+5~, DEL+9*
>> DIC SHOW+2*
DIK SCMCLN+5~, DEL+3*
>> DIOEND SHOW+1*
DIR SCMCLN+5~
DIR("?" SCMCLN+18*
DIR("A" SCMCLN+19*
DIR("B" SCMCLN+20*
DIR(0 SCMCLN+20*
>> FLDS SHOW+2*
>> FR SHOW+2*
>> L SHOW+2*
>> L(0 SHOW+4*
>> POP SCMCLN+16
>> TO SHOW+2*
U SCMCLN+14, TEST+2, TEST+3
V1 SCMCLN+5~, SCMCLN+11*, SCMCLN+13, LOG+1, DEL+4*, DEL+5, DEL+7, DEL+8, DEL+9
V2 SCMCLN+5~, SCMCLN+14*, SCMCLN+15
V3 SCMCLN+5~, SCMCLN+15*
V4 SCMCLN+5~, DEL+5*, DEL+6
>> X TEST+1*, TEST+2, TEST+3
>> Y SCMCLN+21
ZNODE SCMCLN+5~, SCMCLN+13*, SCMCLN+14
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