YSXRAB1 ; COMPILED XREF FOR FILE #601 ; 03/13/23
;
S DIKZK=2
S DIKZ(0)=$G(^YTT(601,DA,0))
S X=$P($G(DIKZ(0)),U,9)
I X'="" K ^YTT(601,"AI",$E(X,1,30),DA)
S X=$P($G(DIKZ(0)),U,9)
I X'="" K ^YTT(601,"ATN",X,$P(^YTT(601,DA,0),U,1),DA)
S X=$P($G(DIKZ(0)),U,10)
I X'="" K ^YTT(601,"AE",$E(X,1,30),DA)
S X=$P($G(DIKZ(0)),U,1)
I X'="" K ^YTT(601,"B",$E(X,1,30),DA)
END G ^YSXRAB2
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HYSXRAB1 397 printed Dec 13, 2024@02:15:08 Page 2
YSXRAB1 ; COMPILED XREF FOR FILE #601 ; 03/13/23
+1 ;
+2 SET DIKZK=2
+3 SET DIKZ(0)=$GET(^YTT(601,DA,0))
+4 SET X=$PIECE($GET(DIKZ(0)),U,9)
+5 IF X'=""
KILL ^YTT(601,"AI",$EXTRACT(X,1,30),DA)
+6 SET X=$PIECE($GET(DIKZ(0)),U,9)
+7 IF X'=""
KILL ^YTT(601,"ATN",X,$PIECE(^YTT(601,DA,0),U,1),DA)
+8 SET X=$PIECE($GET(DIKZ(0)),U,10)
+9 IF X'=""
KILL ^YTT(601,"AE",$EXTRACT(X,1,30),DA)
+10 SET X=$PIECE($GET(DIKZ(0)),U,1)
+11 IF X'=""
KILL ^YTT(601,"B",$EXTRACT(X,1,30),DA)
END GOTO ^YSXRAB2