YSXRAS1 ; COMPILED XREF FOR FILE #618.2 ; 10/15/04
;
S DIKZK=2
S DIKZ(1)=$G(^YSG("SUB",DA,1))
S X=$P(DIKZ(1),U,1)
I X'="" K ^YSG("SUB","AWD",$E(X,1,30),DA)
S X=$P(DIKZ(1),U,2)
I X'="" K ^YSG("SUB","C",$E(X,1,30),DA)
S X=$P(DIKZ(1),U,6)
I X'="" K ^YSG("SUB","AOR",$P(^YSG("SUB",DA,1),U),X,DA)
S DIKZ(0)=$G(^YSG("SUB",DA,0))
S X=$P(DIKZ(0),U,1)
I X'="" K ^YSG("SUB","B",$E(X,1,30),DA)
END Q
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HYSXRAS1 416 printed Dec 13, 2024@02:16:06 Page 2
YSXRAS1 ; COMPILED XREF FOR FILE #618.2 ; 10/15/04
+1 ;
+2 SET DIKZK=2
+3 SET DIKZ(1)=$GET(^YSG("SUB",DA,1))
+4 SET X=$PIECE(DIKZ(1),U,1)
+5 IF X'=""
KILL ^YSG("SUB","AWD",$EXTRACT(X,1,30),DA)
+6 SET X=$PIECE(DIKZ(1),U,2)
+7 IF X'=""
KILL ^YSG("SUB","C",$EXTRACT(X,1,30),DA)
+8 SET X=$PIECE(DIKZ(1),U,6)
+9 IF X'=""
KILL ^YSG("SUB","AOR",$PIECE(^YSG("SUB",DA,1),U),X,DA)
+10 SET DIKZ(0)=$GET(^YSG("SUB",DA,0))
+11 SET X=$PIECE(DIKZ(0),U,1)
+12 IF X'=""
KILL ^YSG("SUB","B",$EXTRACT(X,1,30),DA)
END QUIT