AZDTLD ;LOADS DATE IN FILEMAN FORMAT TO ^AZCM(1440069), NODE 3 RRD 10/24/89 [ 11/02/89 12:59 PM ] ; 10/22/91 1:26 PM
K X,Y,%DT
HDR D ^AUCLS W !,"ENTER PROJECTION DATE - IN DATE FORMAT:"
START R !!,"PROJECTION DATE: ",X:DTIME G:X="" START S %DT="E" D ^%DT G:X["?" START S X=Y K:2920930<X!(2901001>X) X Q:'$D(X)
S ACT=0 F I=1:1 S ACT=$O(^AZCM(1440069,ACT)) G:+ACT<1 END S NODE=0 F I=1:1 S NODE=$O(^AZCM(1440069,ACT,NODE)) S $P(^AZCM(1440069,ACT,3),"^",2)=Y W !,ACT Q
END W !!,"FINISHED" F I=1:1:60 W "*"
Q
AZDTLD ;LOADS DATE IN FILEMAN FORMAT TO ^AZCM(1440069), NODE 3 RRD 10/24/89 [ 11/02/89 12:59 PM ] ; 10/22/91 1:26 PM
+1 KILL X,Y,%DT
HDR DO ^AUCLS
WRITE !,"ENTER PROJECTION DATE - IN DATE FORMAT:"
START READ !!,"PROJECTION DATE: ",X:DTIME
IF X=""
GOTO START
SET %DT="E"
DO ^%DT
IF X["?"
GOTO START
SET X=Y
IF 2920930<X!(2901001>X)
KILL X
IF '$DATA(X)
QUIT
+1 SET ACT=0
FOR I=1:1
SET ACT=$ORDER(^AZCM(1440069,ACT))
IF +ACT<1
GOTO END
SET NODE=0
FOR I=1:1
SET NODE=$ORDER(^AZCM(1440069,ACT,NODE))
SET $PIECE(^AZCM(1440069,ACT,3),"^",2)=Y
WRITE !,ACT
QUIT
END WRITE !!,"FINISHED"
FOR I=1:1:60
WRITE "*"
+1 QUIT