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 |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All
Print Page as PDF
Routine: SCMCCV1

Package: Scheduling

Routine: SCMCCV1


Information

SCMCCV1 ;ALB/JLU;PC Attending conversion;5/6/99

Source Information

Source file <SCMCCV1.m>

Call Graph

Call Graph

Call Graph Total: 8

Package Total Call Graph
Scheduling 4 SETERR^SCMCCV2  ($$POS,$$TEAM)^SCMCMU  PAUSE^SCMCMU1  $$YSPTTPPC^SCMCTPU2  
VA FileMan 3 NOW^%DTC  ^DIE  ^DIR  
Kernel 1 ^%ZTLOAD  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

action A extended action Ea event driver Ed subscriber Su protocol O limited protocol LP run routine RR broker B edit E server Se print P screenman SM inquire I

Caller Graph

Caller Graph Total: 2

Package Total Caller Graph
Scheduling 2 SCMC PC ATTENDING CONVERSION  SCMCCV2  

Entry Points

Name Comments DBIA/ICR reference
MAIN
MAINQ
XTMPW ;writes to the user.
XTMP() ;checks to see if another job is running.
CNTFIX() ;ask the user if they want to FIX(Convert) or CHECK
ASKQUEST() ;askes the user how they wish to sort or break up the conversion.
ASKQSTQ
TYPE() ;askes the user how they wish to sort or select the conversion.
TMLP ;allows the user to select which teams. Allows the selection of
POSLP(TM) ;allows the user to select one team and multiple positions from that
POS ;gets the team first then calls POSLP to get the positions
SUMARIZE ;presents the selections to the user.
TYPEA ;
TYPET ;
TYPEP ;
ASKCONT() ;ask the user if they wish to continue.
SETLOCK ; sets the global to lock out other attempted jobs
QOFF ;queue the task off to be processed in the background.
FUTURE ;checks if can make an assignment for today.
REOPEN ;reactivate old assignment.
CHANGE(AIEN) ;the actual FM call to convert.
INIT ;set up variables

External References

Name Field # of Occurrence
NOW^%DTC REOPEN+5
^%ZTLOAD QOFF+11
^DIE REOPEN+8, CHANGE+5
^DIR CNTFIX+9, TYPE+15, ASKCONT+5
SETERR^SCMCCV2 FUTURE+5
$$POS^SCMCMU POSLP+9
$$TEAM^SCMCMU TMLP+9, POS+5
PAUSE^SCMCMU1 XTMPW+7
$$YSPTTPPC^SCMCTPU2 FUTURE+4

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: *7,!!,"A conversion job (#"_VAR_") has already been started."
  • Line Location: XTMPW+5
Function Call: WRITE
  • Prompt: !,"You will not be able to start another conversion job until this one finishes.",!!
  • Line Location: XTMPW+6
Function Call: WRITE
  • Prompt: !!!,"You have made the following selections."
  • Line Location: SUMARIZE+2
Function Call: WRITE
  • Prompt: !,"Please verify they are what you want:",!
  • Line Location: SUMARIZE+3
Function Call: WRITE
  • Prompt: !!,*7,"** This job will be run in a ",$S(SCMCFIX="F":"FIX",1:"CHECK")," mode. **",!
  • Line Location: SUMARIZE+9
Function Call: WRITE
  • Prompt: !,"You have selected to convert assignments in all teams and positions."
  • Line Location: TYPEA+1
Function Call: WRITE
  • Prompt: !,"You have selected to convert PC Attending assignments in the following teams:"
  • Line Location: TYPET+2
Function Call: WRITE
  • Prompt: !,$P(^SCTM(404.51,VAR,0),U,1)
  • Line Location: TYPET+5
Function Call: WRITE
  • Prompt: !!,"All position assignments for each team will be reviewed."
  • Line Location: TYPET+7
Function Call: WRITE
  • Prompt: !,"You have selected to convert PC Attending assignments for team:"
  • Line Location: TYPEP+4
Function Call: WRITE
  • Prompt: !,$P(^SCTM(404.51,VAR,0),U,1)
  • Line Location: TYPEP+5
Function Call: WRITE
  • Prompt: !!,"The positions that were selected are:"
  • Line Location: TYPEP+6
Function Call: WRITE
  • Prompt: !,$P(^SCTM(404.57,VAR,0),U,1)
  • Line Location: TYPEP+9
Function Call: WRITE
  • Prompt: !!,"Task queued. ",ZTSK
  • Line Location: QOFF+12
Function Call: WRITE
  • Prompt: !!,"Task NOT queued."
  • Line Location: QOFF+13
Routine Call
  • DIE
  • Line Location:
    • REOPEN+8
    • CHANGE+5
Routine Call
  • DIR
  • Line Location:
    • CNTFIX+9
    • TYPE+15
    • ASKCONT+5

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)
^SCTM(404.51 - [#404.51] TYPET+5, TYPEP+5
^SCTM(404.57 - [#404.57] TYPEP+9
^XTMP("SCMCATTCONV" XTMPW+3, XTMP+2, SETLOCK+2*

Label References

Name Line Occurrences
$$ASKCONT MAIN+12
$$ASKQUEST MAIN+8
$$CNTFIX MAIN+5
$$TYPE ASKQUEST+8
$$XTMP MAIN
ASKQSTQ ASKQUEST+9
MAIN MAIN+9
MAINQ MAINMAIN+6, MAIN+13
POS ASKQUEST+13
POSLP POS+8
QOFF MAIN+15
SETLOCK QOFF+12
SUMARIZE MAIN+11
TMLP ASKQUEST+11
TYPEA SUMARIZE+5
TYPEP SUMARIZE+7
TYPET SUMARIZE+6
XTMPW MAIN

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> % REOPEN+6
AIEN CHANGE~, CHANGE+3
>> CNTR INIT+6*
DA REOPEN+2~, REOPEN+4*, CHANGE+1~, CHANGE+3*
>> DFN FUTURE+4
DIE REOPEN+2~, REOPEN+3*, CHANGE+1~, CHANGE+2*
DIR CNTFIX+4~, TYPE+8~, ASKCONT+2~
DIR("?" CNTFIX+6*, CNTFIX+7*, TYPE+10*, TYPE+11*, TYPE+12*, TYPE+13*
DIR("A" CNTFIX+8*, ASKCONT+4*
DIR(0 CNTFIX+5*, TYPE+9*, ASKCONT+3*
>> DIRUT CNTFIX+10, TYPE+16
DR REOPEN+2~, REOPEN+6*, CHANGE+1~, CHANGE+4*
DT TMLP+9, POSLP+9, POS+5, SETLOCK+2, FUTURE+4
DUZ REOPEN+6, INIT+3
ERR FUTURE+3!, FUTURE+5*
LP TYPEP+1~
POS POSLP+8~, POSLP+9*, POSLP+10
>> POSASGN REOPEN+4
>> REASSIGN FUTURE+6*
SCMCFIX MAIN+2~, MAIN+5*, MAIN+6, SUMARIZE+9
SCMCPOS MAIN+2~, ASKQUEST+13, ASKQUEST+15!, POSLP+6!
SCMCPOS( POSLP+10*, TYPEP+9
SCMCSTOP MAIN+2~, MAIN+3*, MAIN+8*, MAIN+9, MAIN+12*, MAIN+13
SCMCTM MAIN+2~, ASKQUEST+11, ASKQUEST+13, ASKQUEST+15!, POS+4!
SCMCTM( TMLP+10*, POS+7*, TYPET+5
SCMCTM(0 TYPEP+2
SCMCTYPE MAIN+2~, ASKQUEST+8*, ASKQUEST+9, ASKQUEST+11, ASKQUEST+13, ASKQUEST+15, SUMARIZE+5, SUMARIZE+6, SUMARIZE+7
SCSTOP TMLP+5~, TMLP+6*, TMLP+7, TMLP+11*, POSLP+4~, POSLP+5*, POSLP+7, POSLP+11*
STOP ASKQUEST+6~, ASKQUEST+7*, ASKQUEST+9*, ASKQUEST+11*, ASKQUEST+13*, ASKQSTQ
TM TMLP+8~, TMLP+9*, TMLP+10, POSLP~, POSLP+9
TTM POS+3~, POS+5*, POS+6, POS+7, POS+8
U TYPET+5, TYPEP+5, TYPEP+9, FUTURE+5
VAR XTMPW+2~, XTMPW+3*, XTMPW+5, TYPET+1~, TYPET+4*, TYPET+5*, TYPEP+1~, TYPEP+2*, TYPEP+5, TYPEP+8*
TYPEP+9*
VARTWO FUTURE+2~, FUTURE+4*, FUTURE+5
X REOPEN+7!
>> XMDUZ INIT+2*, INIT+3
>> XMSUB INIT+4*
>> XMTEXT INIT+5*
>> XMY( INIT+3*
Y CNTFIX+10, TYPE+16, ASKCONT+2~, ASKCONT+6
ZTDESC QOFF+2~, QOFF+4*
ZTDTH QOFF+2~, QOFF+5*
ZTIO QOFF+2~, QOFF+6*
ZTRTN QOFF+2~, QOFF+3*
ZTSAVE QOFF+2~
ZTSAVE("SCMCFIX" QOFF+9*
ZTSAVE("SCMCPOS(" QOFF+8*
ZTSAVE("SCMCTM(" QOFF+7*
ZTSAVE("SCMCTYPE" QOFF+10*
ZTSK QOFF+12, QOFF+14!
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All