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