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 |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All
Print Page as PDF
Routine: ZTP1

Package: Kernel

Routine: ZTP1


Information

%ZTP1 ;SF/RWF - Prints 1ST lines in Name, Date, Patch or Size order ;08/18/09 16:25

Source Information

Source file <ZTP1.m>

Call Graph

Call Graph

Call Graph Total: 6

Package Total Call Graph
Kernel 4 ^%ZIS  ^%ZISC  ^%ZTLOAD  ($$OS,MOVE)^ZTMGRSET  
Toolkit 1 ($$BUILD,RTN)^XTRUTL1  
VA FileMan 1 ^%DT  

Entry Points

Name Comments DBIA/ICR reference
A
A1 ;
A2
A3
DQ ;Taskman entry point
ALPHA ;By name
SIZE ;Sort by routine size
LOAD(X,R) ;Load routine
KEEP(IX1,IX2,IX4) ;
LIST ;All 3 sorts come here to print the list.
KIL
L2 ;Write one
WR(STR) ;Write line w/ wrap
WAIT ;Wait at end of page
HED
DATE ;Sort by date
DTF(L) ;Find the date
PATCH ;Sort by first patch number
SIZE2(CCNT) ; Return size in bytes of routine in ^TMP($J)
BUILD ;
POST ;POST-INIT

External References

Name Field # of Occurrence
^%DT DTF+6, DTF+10
^%ZIS A3+3
^%ZISC A3+4, KIL
^%ZTLOAD A3+6
$$BUILD^XTRUTL1 BUILD+3
RTN^XTRUTL1 BUILD+4
$$OS^ZTMGRSET POST+2
MOVE^ZTMGRSET POST+3

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,"PRINTS FIRST LINES",!!
  • Line Location: A+0
Function Call: WRITE
  • Prompt: !,"Include line (2), Include lines 2&(3), (N)one: ",ZTP2,"//"
  • Line Location: A3+0
Function Call: WRITE
  • Prompt: RN," ",Y,?$X\19+1*19
  • Line Location: SIZE+3
Function Call: WRITE
  • Prompt: !
  • Condition for execution: $X>66
  • Line Location: SIZE+3
Function Call: WRITE
  • Prompt: !!?14,ZP," ROUTINES",!
  • Line Location: LIST+11
Function Call: WRITE
  • Prompt: RN,?10
  • Line Location: L2+4
Function Call: WRITE
  • Prompt: $J(S,5),"/",LI(4),?20," - "
  • Condition for execution: ZTP1="S"
  • Line Location: L2+4
Function Call: WRITE
  • Prompt: ?%X
  • Line Location: L2+5
Function Call: WRITE
  • Prompt: ?%X
  • Line Location: L2+5
Function Call: WRITE
  • Prompt: !,?%1
  • Line Location: WR+3
Function Call: READ
  • Formatting: !
  • Prompt: "Enter Return to continue "
  • Variable: X
  • Timeout: DTIME
  • Line Location: WAIT+1
Function Call: WRITE
  • Prompt: @IOF,!?12,HED,!
  • Line Location: HED+0
Function Call: WRITE
  • Prompt: ?10,HED(1),!
  • Condition for execution: ZTP1="S"
  • Line Location: HED+0
Function Call: WRITE
  • Prompt: RN," ",X,?$X\19+1*19
  • Line Location: DATE+4
Function Call: WRITE
  • Prompt: !
  • Condition for execution: $X>66
  • Line Location: DATE+4
Function Call: WRITE
  • Prompt: !,"No BUILD file to work from."
  • Line Location: BUILD+2
Function Call: WRITE
  • Prompt: !,"No routines in this build."
  • Line Location: BUILD+5
Routine Call
  • %ZIS
  • Line Location:
    • A3+3

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^%ZOSF("LOAD" LOAD+2
^%ZOSF("RSEL" A+2
^%ZOSF("UCI" LIST+3
^%ZOSF("ZD" LIST+2, LIST+3
^TMP($J LOAD+1!, LOAD+3, KEEP+2, SIZE2+3
^UTILITY($J A+1!, A+2, ALPHA+1*, SIZE+1, KEEP+1*, KEEP+2*, KEEP+3*, LIST+7, LIST+8, KIL+1!
L2+2, DATE+1, PATCH+2, BUILD+5
^XPD(9.6 - [#9.6] BUILD+2

Label References

Name Line Occurrences
$$DTF DATE+3
$$SIZE2 SIZE+3
A1 BUILD+6
A2 A2+1
A3 A3+2
DATE DQ+2
HED LIST+5
KEEP SIZE+4, DATE+3, PATCH+4
KIL A+2, A2+1, A3+2, A3+3, BUILD+3, BUILD+5
L2 LIST+10
LIST ALPHA+3, SIZE+6, DATE+7, PATCH+6
LOAD SIZE+2, L2+3, DATE+2, PATCH+3
PATCH DQ+2
SIZE DQ+2
WAIT LIST+9
WR L2+4, L2+5

Naked Globals

Name Field # of Occurrence
^( L2+2

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% DTF+1~, DTF+7*, DTF+8*, DTF+9*, DTF+10~
%1 WR+1~, WR+2*, WR+3
%2 WR+1~, WR+2*, WR+3
%D POST+1~, POST+3*
%DT DTF+1~, DTF+4*
%L DQ+1~
%N BUILD+1~
%R DQ+1~
%S POST+1~, POST+3*
%X LIST+1~, L2+4*, L2+5
>> %ZIS A3+3*
%ZN DQ+1~
A DQ+1~
B DQ+1~, DTF+1~, DTF+3*, DTF+8, DTF+9*
BLDA BUILD+1~, BUILD+3*, BUILD+4
C DQ+1~
CCNT DQ+1~, SIZE+3, SIZE+4, SIZE2~, SIZE2+2*, SIZE2+6*
DIF LOAD+1~, LOAD+2*
DTIME A+1*, A2A3WAIT+1
HED DQ+1~, ALPHA+2*, SIZE+5*, LIST+3*, LIST+4*, HEDDATE+6*, PATCH+5*
HED(1 LIST+4*, HED
I SIZE2+1~, SIZE2+4*, SIZE2+5, POST+1~
IO LIST+5
IO("Q" A3+4, A3+5!
IOF HED
IOM WR+2
IOSL LIST+2
IOST WAIT+1
IX1 KEEP~, KEEP+1, KEEP+2, KEEP+3
IX2 KEEP~, KEEP+1, KEEP+2, KEEP+3
IX4 KEEP~, KEEP+3
>> JP ALPHA+1*
JR DQ+1~
L LIST+1~, DATE+2~*, DTF~, DTF+3, PATCH+3~*
L(1 DATE+3
L(2 PATCH+4
L1 LIST+1~
L2 LIST+1~
LI L2+1~, L2+2*, L2+3*
LI(1 L2+3*, L2+4
LI(2 L2+5
LI(3 L2+5
LI(4 L2+4
LINE SIZE2+1~, SIZE2+3*
NUM SIZE2+1~, SIZE2+3*
PC DTF+1~, DTF+3*
PL LIST+1~, LIST+2*, LIST+9
>> POP A3+3
QUIT LIST+1~, LIST+6*, LIST+7, LIST+8, LIST+9*, LIST+11
R LOAD~, LOAD+3
R(1 LOAD+3*
R(2 LOAD+3*
R(3 LOAD+3*
R4 SIZE2+1~, SIZE2+3*, SIZE2+4, SIZE2+5*, SIZE2+6
RN DQ+1~, DQ+2*, ALPHA+1*, SIZE+1*, SIZE+2, SIZE+3, SIZE+4, LIST+7*, LIST+8*, LIST+9*
L2+2, L2+3, L2+4, DATE+1*, DATE+2, DATE+3, DATE+4, PATCH+2*, PATCH+3, PATCH+4
S DQ+1~, LIST+1~, LIST+6*, LIST+7*, LIST+8, LIST+9*, L2+2, L2+4, DTF+1~, DTF+8*
, DTF+9, PATCH+4*
S2 PATCH+1~, PATCH+2*, BUILD+1~
SCR POST+1~, POST+3*
SIZE SIZE2+1~, SIZE2+2*, SIZE2+3*, SIZE2+7
STR WR~, WR+3*
X A1+1~, A3*, A3+1*, A3+2*, DQ+1~, LOAD~, LIST+1~, LIST+2*, LIST+3*, LIST+6*
LIST+9, WAIT+1*, DATE+3*, DATE+4, DTF+1~, DTF+3*, DTF+5*, DTF+6, DTF+7, DTF+8*
, DTF+9*, DTF+10, PATCH+4*
XCNP LOAD+1~, LOAD+2*
Y DQ+1~, SIZE+3*, SIZE+4, LIST+3, LIST+4, DTF+1~, DTF+2*, DTF+3, DTF+6, DTF+7
, DTF+13, BUILD+1~, BUILD+3*
ZP DQ+1~, LIST+6*, LIST+10*, LIST+11
>> ZTDESC A3+5*
ZTMODE POST+1~, POST+2*
ZTOS POST+1~, POST+2*
ZTP DQ+1~
ZTP1 A1+1~, A2*, A2+1*, A2+2, DQ+2, L2+4, HED
ZTP2 A1+1~, A2+2*, A3A3+2*, LIST+2, L2+5
>> ZTQUEUED SIZE+3, KIL
>> ZTREQ KIL*
>> ZTRTN A3+5*
>> ZTSAVE("ZTP1" A3+5*
>> ZTSAVE("ZTP2" A3+5*
>> ZTSAVE("^UTILITY($J," A3+5*
ZTSK A3+6!
Info |  Source |  Call Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All