VENKI026 ; ; 16-MAR-2007
;;2.6;PCC+;;NOV 12, 2007
I DSEC F I=1:2 S X=$T(Q+I) Q:X="" S Y=$E($T(Q+I+1),4,999),X=$E(X,4,999) S:$A(Y)=126 I=I+1,Y=$E(Y,2,999)_$E($T(Q+I+1),5,999) S:$A(Y)=61 Y=$E(Y,2,999) X NO E S @X=Y
Q Q
;;^DIC(19707.11,0,"AUDIT")
;;=M
;;^DIC(19707.11,0,"DD")
;;=M
;;^DIC(19707.11,0,"DEL")
;;=M
;;^DIC(19707.11,0,"LAYGO")
;;=M
;;^DIC(19707.11,0,"RD")
;;=M
;;^DIC(19707.11,0,"WR")
;;=M
;;^DIC(19707.12,0,"AUDIT")
;;=M
;;^DIC(19707.12,0,"DD")
;;=M
;;^DIC(19707.12,0,"DEL")
;;=M
;;^DIC(19707.12,0,"LAYGO")
;;=M
;;^DIC(19707.12,0,"RD")
;;=M
;;^DIC(19707.12,0,"WR")
;;=M
;;^DIC(19707.13,0,"AUDIT")
;;=@
;;^DIC(19707.13,0,"DD")
;;=@
;;^DIC(19707.13,0,"DEL")
;;=@
;;^DIC(19707.13,0,"LAYGO")
;;=@
;;^DIC(19707.13,0,"RD")
;;=@
;;^DIC(19707.13,0,"WR")
;;=@
VENKI026 ; ; 16-MAR-2007
+1 ;;2.6;PCC+;;NOV 12, 2007
+2 IF DSEC
FOR I=1:2
SET X=$TEXT(Q+I)
IF X=""
QUIT
SET Y=$EXTRACT($TEXT(Q+I+1),4,999)
SET X=$EXTRACT(X,4,999)
IF $ASCII(Y)=126
SET I=I+1
SET Y=$EXTRACT(Y,2,999)_$EXTRACT($TEXT(Q+I+1),5,999)
IF $ASCII(Y)=61
SET Y=$EXTRACT(Y,2,999)
XECUTE NO
IF '$TEST
SET @X=Y
Q QUIT
+1 ;;^DIC(19707.11,0,"AUDIT")
+2 ;;=M
+3 ;;^DIC(19707.11,0,"DD")
+4 ;;=M
+5 ;;^DIC(19707.11,0,"DEL")
+6 ;;=M
+7 ;;^DIC(19707.11,0,"LAYGO")
+8 ;;=M
+9 ;;^DIC(19707.11,0,"RD")
+10 ;;=M
+11 ;;^DIC(19707.11,0,"WR")
+12 ;;=M
+13 ;;^DIC(19707.12,0,"AUDIT")
+14 ;;=M
+15 ;;^DIC(19707.12,0,"DD")
+16 ;;=M
+17 ;;^DIC(19707.12,0,"DEL")
+18 ;;=M
+19 ;;^DIC(19707.12,0,"LAYGO")
+20 ;;=M
+21 ;;^DIC(19707.12,0,"RD")
+22 ;;=M
+23 ;;^DIC(19707.12,0,"WR")
+24 ;;=M
+25 ;;^DIC(19707.13,0,"AUDIT")
+26 ;;=@
+27 ;;^DIC(19707.13,0,"DD")
+28 ;;=@
+29 ;;^DIC(19707.13,0,"DEL")
+30 ;;=@
+31 ;;^DIC(19707.13,0,"LAYGO")
+32 ;;=@
+33 ;;^DIC(19707.13,0,"RD")
+34 ;;=@
+35 ;;^DIC(19707.13,0,"WR")
+36 ;;=@