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

Package: Toolkit

Routine: XUCIGTM Platform: GT.M


Information

%XUCI ;SFISC/STAFF,PUG/TOAD - SWAP UCIs GT.M ;20 May 2003 8:43 am

Source Information

Source file <XUCIGTM.m>

Entry Points

Name Comments DBIA/ICR reference
DO ;Do some routine and return
D
ERR
RES
K
1
2 ;For GT.M this is a NOP, Return Y.
ENT
SWAP ;
; X ^%ZOSF("PROGMODE") I 'Y S X=$S(X[",":$ZC(%SETUCI,$P(X,","),$P(X,",",2)),1:$ZC(%SETUCI,$P(X,","))),X=$ZC(%PGMSET),X=$ZC(%SECMAP)
GO ;GOTO some routine
U
SAV

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,"GT.M doesn't have an equivlent to UCI's.",!,"You will remain in this enviroment."
  • Line Location: 1+0
Function Call: READ
  • Prompt: "What UCI: "
  • Formatting: !
  • Timeout: $S($D(DTIME):DTIME,1:10),"
  • Variable: %UCI
  • Line Location: 1+1
Function Call: WRITE
  • Prompt: *7,!,"YOU'RE IN UCI: ",Y,!
  • Line Location: U+0
Function Call: WRITE
  • Prompt: !?9,"'"_X_"' DOES NOT EXIST IN "_%UCI,!
  • Line Location: GO+2
Function Call: WRITE
  • Prompt: !?9,"'"_X_"' IS AN INVALID UCI!",!
  • Line Location: ERR+0

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^%ZOSF("OS" U+1
^%ZOSF("TEST" GO+2
^%ZOSF("UCI" 2+1
^UTILITY($J GO+3!
^XUTL("XQ" GO+3!

Label References

Name Line Occurrences
1 ENT
2 1+2, ENT, GO+1, DO+2, D
@( GO+3, D
D DO+2
RES DO+2
SAV DO+2

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% U+1*, K!, SAV*, RES*
%UCI 1+1*, K!, ENT, GO+2, DO+1*, DO+2*
%XUCI D~, SAV*, RES
DTIME 1+1
>> PGM GO+2, GO+3, DO+1*, D
U GO+3
>> X GO+2*, ERR
>> XQZ DO+1
>> XUSLNT U
Y U, K*, GO+1, DO+2, D~
>> ZTQUEUED U
Info |  Source |  Entry Points |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables |  All