PRCATA2 ; ;01/18/23
;;
1 N X,X1,X2 S DIXR=1689 D X1(U) K X2 M X2=X D X1("F") K X1 M X1=X
K X M X=X2 D
. D ACCOUNT^RCTAS10I(DA)
Q
X1(DION) K X
S X(1)=$G(@DIEZTMP@("V",430,DIIENS,8,DION),$P($G(^PRCA(430,DA,0)),U,8))
S X(2)=$G(@DIEZTMP@("V",430,DIIENS,9,DION),$P($G(^PRCA(430,DA,0)),U,9))
S X(3)=$G(@DIEZTMP@("V",430,DIIENS,71,DION),$P($G(^PRCA(430,DA,7)),U,1))
S X(4)=$G(@DIEZTMP@("V",430,DIIENS,72,DION),$P($G(^PRCA(430,DA,7)),U,2))
S X(5)=$G(@DIEZTMP@("V",430,DIIENS,73,DION),$P($G(^PRCA(430,DA,7)),U,3))
S X(6)=$G(@DIEZTMP@("V",430,DIIENS,74,DION),$P($G(^PRCA(430,DA,7)),U,4))
S X(7)=$G(@DIEZTMP@("V",430,DIIENS,75,DION),$P($G(^PRCA(430,DA,7)),U,5))
S X(8)=$G(@DIEZTMP@("V",430,DIIENS,305,DION),$P($G(^PRCA(430,DA,30)),U,5))
S X=$G(X(1))
Q
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HPRCATA2 772 printed Dec 13, 2024@01:41:27 Page 2
PRCATA2 ; ;01/18/23
+1 ;;
1 NEW X,X1,X2
SET DIXR=1689
DO X1(U)
KILL X2
MERGE X2=X
DO X1("F")
KILL X1
MERGE X1=X
+1 KILL X
MERGE X=X2
Begin DoDot:1
+2 DO ACCOUNT^RCTAS10I(DA)
End DoDot:1
+3 QUIT
X1(DION) KILL X
+1 SET X(1)=$GET(@DIEZTMP@("V",430,DIIENS,8,DION),$PIECE($GET(^PRCA(430,DA,0)),U,8))
+2 SET X(2)=$GET(@DIEZTMP@("V",430,DIIENS,9,DION),$PIECE($GET(^PRCA(430,DA,0)),U,9))
+3 SET X(3)=$GET(@DIEZTMP@("V",430,DIIENS,71,DION),$PIECE($GET(^PRCA(430,DA,7)),U,1))
+4 SET X(4)=$GET(@DIEZTMP@("V",430,DIIENS,72,DION),$PIECE($GET(^PRCA(430,DA,7)),U,2))
+5 SET X(5)=$GET(@DIEZTMP@("V",430,DIIENS,73,DION),$PIECE($GET(^PRCA(430,DA,7)),U,3))
+6 SET X(6)=$GET(@DIEZTMP@("V",430,DIIENS,74,DION),$PIECE($GET(^PRCA(430,DA,7)),U,4))
+7 SET X(7)=$GET(@DIEZTMP@("V",430,DIIENS,75,DION),$PIECE($GET(^PRCA(430,DA,7)),U,5))
+8 SET X(8)=$GET(@DIEZTMP@("V",430,DIIENS,305,DION),$PIECE($GET(^PRCA(430,DA,30)),U,5))
+9 SET X=$GET(X(1))
+10 QUIT