16 lines
581 B
Mathematica
16 lines
581 B
Mathematica
PRCUCV3 ;WISC@ALTOONA/CTB-BEGINNING TO END CONVERSION ROUTINE ; 07/07/93 2:20 PM
|
|
V ;;5.0;IFCAP;;4/21/95
|
|
NEW FILE,PROGRAM,Y
|
|
U IO
|
|
F FILE=99,1:1:5,7,8,9 D
|
|
. S RANGE="1-999999999999"
|
|
. W !,"FILE: ",$P("421.5;421.2;421;443;423;443.6;410;442;442.9;",";",FILE) W:FILE=99 20
|
|
. W " RANGE: ",RANGE,!,"START DATE/TIME: " D NOW^%DTC S Y=% D DD^%DT W Y
|
|
. S PROGRAM="CVT^PRCUX"_FILE_"("_""""_RANGE_""""_")"
|
|
. D @PROGRAM
|
|
. W !,"END DATE/TIME: " D NOW^%DTC S Y=% D DD^%DT W Y
|
|
. QUIT
|
|
W !!!
|
|
I $O(^PRC(411,0)) L +^PRC(411) S $P(^PRC(411,$O(^PRC(411,0)),7),"^",2)=1 L -^PRC(411)
|
|
QUIT
|