Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: RTXB2

RTXB2.m

Go to the documentation of this file.
RTXB2 ; COMPILED XREF FOR FILE #195.9001 ; 10/15/04
 ; 
 S DA(1)=DA S DA=0
A1 ;
 I $D(DIKILL) K DIKLM S:DIKM1=1 DIKLM=1 G @DIKM1
0 ;
A S DA=$O(^RTV(195.9,DA(1),"RECS",DA)) I DA'>0 S DA=0 G END
1 ;
 S DIKZ(0)=$G(^RTV(195.9,DA(1),"RECS",DA,0))
 S X=$P(DIKZ(0),U,1)
 I X'="" D
 .N DIK,DIV,DIU,DIN
 .K DIV S DIV=X,D0=DA(1),DIV(0)=D0,D1=DA,DIV(1)=D1 S Y(1)=$S($D(^RTV(195.9,D0,"RECS",D1,0)):^(0),1:"") S X=$P(Y(1),U,3),X=X S DIU=X K Y S X="" X ^DD(195.9001,.01,1,1,2.4)
 G:'$D(DIKLM) A Q:$D(DIKILL)
END G ^RTXB3