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 |  Naked Globals |  Local Variables  | All
Print Page as PDF
Routine: RTQ1

Package: Record Tracking

Routine: RTQ1


Information

RTQ1 ;MJK/TROY ISC;Record Request Option; ; 1/30/87 10:11 AM ;

Source Information

Source file <RTQ1.m>

Call Graph

Call Graph

Call Graph Total: 5

Package Total Call Graph
Record Tracking 4 BOR^RTB  SET^RTRD  (DEMOS,RESTORE,SAVE)^RTUTL1  (H,LINE)^RTUTL3  
VA FileMan 1 (D,DT)^DIQ  

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

Package Total Caller Graph
Record Tracking 8 RTCU  RTCU2  RTP2  RTQ  RTQ4  RTT2  RTT3  ^RTV(190.1  

Entry Points

Name Comments DBIA/ICR reference
MISS
MISS1
MISSQ
NOASK ;
CANCEL
TEST ;This entry point is used by the input transform for the REQUESTOR and
CHK1 ;check for if the borrower already has a request pending for the
CHK2 ;check to see if the REQUESTOR is the CURRENT BORROWER
ASK

External References

Name Field # of Occurrence
D^DIQ CHK1+5, CHK1+6, CHK2+9, ASK+1
DT^DIQ CANCEL+2
BOR^RTB ASK
SET^RTRD MISS1+2, ASK+3
DEMOS^RTUTL1 MISS1+1, CANCEL+1
RESTORE^RTUTL1 TEST+6
SAVE^RTUTL1 TEST+3
H^RTUTL3 CHK2+5
LINE^RTUTL3 MISS1+1, MISS1+2, NOASK+3, CANCEL+1, CANCEL+2, CHK1+4, CHK1+6, CHK2+8, CHK2+11

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !?5,"* no processing allowed on the record until flag is removed"
  • Line Location: NOASK+1
Function Call: WRITE
  • Prompt: !?5,"* please notify the file room if you have found this record"
  • Line Location: NOASK+2
Function Call: WRITE
  • Prompt: !,"The request (#",RTQ,") for ",RTD("N"),"'s ",RTD("T"),!?10,"was cancelled by ",$S($D(^VA(200,+$P(X,"^",8),0)):$P(^(0),"^"),1:"UNKNOWN")," on "
  • Line Location: CANCEL+1
Function Call: WRITE
  • Prompt: "."
  • Line Location: CANCEL+2
Function Call: WRITE
  • Prompt: !,*7,"Borrower already has a request pending for this record on this date:",!?5,"User Requesting Record : ",$S($D(^VA(200,+$P(Y,"^",3),0)):$P(^(0),"^"),1:"UNKNOWN"),!?5,"Date Request was Filed : "
  • Line Location: CHK1+5
Function Call: WRITE
  • Prompt: Y
  • Line Location: CHK1+5
Function Call: WRITE
  • Prompt: !?5,"Record Request Number : ",RTQ,!?5,"Date/Time Record Needed: ",Y
  • Line Location: CHK1+6
Function Call: WRITE
  • Prompt: !,"REQUESTOR is the CURRENT BORROWER of the record."
  • Line Location: CHK2+8
Function Call: WRITE
  • Prompt: !?5,"DATE/TIME Record was CHARGED to Requestor: ",Y,!?5,"USER RESPONSIBLE for the Charge : ",$S($D(^VA(200,U1,0)):$P(^(0),"^"),1:"UNKNOWN")
  • Line Location: CHK2+9
Function Call: WRITE
  • Prompt: !!,"Request is not allowed for date/time specified. TOO SOON!"
  • Line Location: CHK2+10

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DIC(195.2 - [#195.2] NOASK+2, CHK2+7
^RT - [#190] MISS1NOASK+2, CHK2+5, CHK2+7, CHK2+9
^RTV(190.1 - [#190.1] CANCELCANCEL+1, TEST+3, CHK1+3, CHK1+6
^RTV(195.9 - [#195.9] MISS1
^VA(200 - [#200] CANCEL+1, CHK1+5, CHK2+9
^XUSEC( NOASK+2

Label References

Name Line Occurrences
@( TEST+4
ASK CHK1+6, CHK2+11
MISSQ MISS1MISS1+1
NOASK MISS1+1

Naked Globals

Name Field # of Occurrence
^("CL" MISS1CHK2+5
^(0 MISS1NOASK+2, CANCELCANCEL+1, TEST+3, CHK1+3, CHK1+5, CHK2+7, CHK2+9

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> DA TEST+3, CHK1+3
DUZ NOASK+2
RT MISS1MISS1+2!, NOASK+2, NOASK+3!, TEST+3*, TEST+6!, CHK1+3, CHK2+5, CHK2+7, CHK2+9
>> RTAPL NOASK+2
RTASK MISS*, MISS1+1, MISSQ!
RTB TEST+3*, TEST+6!, CHK1+3, CHK2+5, ASK
RTCHK TEST+4*, TEST+6!
RTD NOASK+3!, CANCEL+2!
RTD("N" MISS1+1, CANCEL+1
RTD("T" MISS1+1, CANCEL+1
RTFL TEST+4!, TEST+7, CHK2+7*, CHK2+10, CHK2+11, ASK+3!*
>> RTFL1 TEST+7
>> RTPULL CHK1+3
RTQ CANCELCANCEL+1, CANCEL+2!, TEST+6!, CHK1+3*, CHK1+6
RTQDT TEST+3*, TEST+6!, CHK1+3, CHK2+5
RTRD MISS1+2!, ASK+3!
RTRD("A" MISS1+2*, ASK+2*
RTRD("B" MISS1+2*, ASK+2*
RTRD(0 MISS1+2*, ASK+2*
RTRD(1 MISS1+2*, ASK+2*
RTRD(2 MISS1+2*, ASK+2*
>> RTX TEST+3, ASKASK+1
>> RTZ("X" TEST+4, ASK+1
>> RTZ1 TEST+3*
U1 CHK2+9*!
X MISS1+2, CANCEL+1*, CANCEL+2!, TEST+3, TEST+4*, TEST+7*, CHK1+3!, CHK1+4, CHK2+5*, CHK2+6
ASK+3
>> X1 CHK2+6*
Y MISS1+2!, CANCEL+1*, CANCEL+2!, CHK1+3*, CHK1+5*, CHK1+6*, CHK2+6*, CHK2+7, CHK2+9*, ASK*
ASK+1*, ASK+2
>> Y1 CHK2+6*
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All