ENPLPB1 ; GENERATED FROM 'ENPLP006' PRINT TEMPLATE (#158) ; 06/11/96 ; (continued)
G BEGIN
N W !
T W:$X ! I '$D(DIOT(2)),DN,$D(IOSL),$S('$D(DIWF):1,$P(DIWF,"B",2):$P(DIWF,"B",2),1:1)+$Y'<IOSL,$D(^UTILITY($J,1))#2,^(1)?1U1P1E.E X ^(1)
S DISTP=DISTP+1,DILCT=DILCT+1 D:'(DISTP#100) CSTP^DIO2
Q
DT I $G(DUZ("LANG"))>1,Y W $$OUT^DIALOGU(Y,"DD") Q
I Y W $P("JAN^FEB^MAR^APR^MAY^JUN^JUL^AUG^SEP^OCT^NOV^DEC",U,$E(Y,4,5))_" " W:Y#100 $J(Y#100\1,2)_"," W Y\10000+1700 W:Y#1 " "_$E(Y_0,9,10)_":"_$E(Y_"000",11,12) Q
W Y Q
M D @DIXX
Q
BEGIN ;
S:'$D(DN) DN=1 S DISTP=$G(DISTP),DILCT=$G(DILCT)
W "* Reserved for Future Use *"
D T Q:'DN D N D N:$X>0 Q:'DN W ?0 W "21. DEPARTMENT/SERVICE OR TECHNICAL"
D N:$X>74 Q:'DN W ?74 W "22. FDP CRITICAL"
D N:$X>99 Q:'DN W ?99 W "23. FDP CORRECTIVE"
D N:$X>4 Q:'DN W ?4 W "DEFICIENCIES TO BE ADDRESSED"
D N:$X>78 Q:'DN W ?78 W "RATING"
D N:$X>103 Q:'DN W ?103 W "ACTION #"
D T Q:'DN D N D N:$X>0 Q:'DN W ?0 W ""
D N:$X>29 Q:'DN W ?29 W "* Reserved for Future Use *"
D T Q:'DN D N D N:$X>0 Q:'DN W ?0 W "24. PROJECT SCOPE: "
D N:$X>4 Q:'DN W ?4 W "25. CODE"
D N:$X>19 Q:'DN W ?19 W "26. DEPARTMENT/SERVICE"
D N:$X>69 Q:'DN W ?69 W "27. NEW"
D N:$X>107 Q:'DN W ?107 W "28. RENOVATED"
D N:$X>72 Q:'DN W ?72 W "NSF GSF"
D N:$X>105 Q:'DN W ?105 W "NSF GSF"
S I(1)=22,J(1)=6925.03 F D1=0:0 Q:$O(^ENG("PROJ",D0,22,D1))'>0 X:$D(DSC(6925.03)) DSC(6925.03) S D1=$O(^(D1)) Q:D1'>0 D:$X>124 T Q:'DN D D1
G D1R
D1 ;
D N:$X>8 Q:'DN W ?8 X DXS(9,9.2) S DIP(101)=$S($D(^OFM(7336.6,D0,0)):^(0),1:"") S X=$P(DIP(101),U,2) S D0=I(0,0) S D1=I(1,0) K DIP K:DN Y W X
D N:$X>23 Q:'DN W ?23 X DXS(10,9.2) S DIP(101)=$S($D(^OFM(7336.6,D0,0)):^(0),1:"") S X=$P(DIP(101),U,1) S D0=I(0,0) S D1=I(1,0) K DIP K:DN Y W X
S X=$G(^ENG("PROJ",D0,22,D1,0)) D N:$X>69 Q:'DN W ?69 S Y=$P(X,U,2) W:Y]"" $J(Y,9,0)
D N:$X>83 Q:'DN W ?83 S Y=$P(X,U,3) W:Y]"" $J(Y,9,0)
D N:$X>102 Q:'DN W ?102 S Y=$P(X,U,4) W:Y]"" $J(Y,9,0)
D N:$X>116 Q:'DN W ?116 S Y=$P(X,U,5) W:Y]"" $J(Y,9,0)
Q
D1R ;
D T Q:'DN D N D N:$X>39 Q:'DN W ?39 W "29.-30. NSF & GSF TOTALS: "
D N:$X>69 Q:'DN W ?69 X DXS(11,9) K DIP K:DN Y W $J(X,9)
D N:$X>83 Q:'DN W ?83 X DXS(12,9) K DIP K:DN Y W $J(X,9)
D N:$X>102 Q:'DN W ?102 X DXS(13,9) K DIP K:DN Y W $J(X,9)
D N:$X>116 Q:'DN W ?116 X DXS(14,9) K DIP K:DN Y W $J(X,9)
D T Q:'DN D N D N:$X>0 Q:'DN W ?0 W "31.-39. (ISSUES) SITE: "
S X=$G(^ENG("PROJ",D0,29)) W ?0,$E($P(X,U,1),1,90)
D N:$X>0 Q:'DN W ?0 W ?11 W "HISTORICAL: "
W ?0,$E($P(X,U,2),1,90)
D N:$X>0 Q:'DN W ?0 W ?8 W "ENVIRONMENTAL: "
S X=$G(^ENG("PROJ",D0,32)) W ?0,$E($P(X,U,2),1,90)
D N:$X>0 Q:'DN W ?0 W ?14 W "SEISMIC: "
S X=$G(^ENG("PROJ",D0,30)) W ?0,$E($P(X,U,1),1,90)
D N:$X>0 Q:'DN W ?0 W ?5 W "HAZARDOUS MAT'LS: "
W ?0,$E($P(X,U,2),1,90)
D N:$X>0 Q:'DN W ?0 W ?12 W "TRANSPORT: "
S X=$G(^ENG("PROJ",D0,31)) W ?0,$E($P(X,U,1),1,90)
D N:$X>0 Q:'DN W ?0 W ?14 W "PARKING: "
W ?0,$E($P(X,U,2),1,90)
D N:$X>0 Q:'DN W ?0 W ?15 W "IMPACT: "
W ?25 W "Information (if any) moved to Impact Justification on page 3."
F Y=0:0 Q:$Y>(IOSL-6) W !
D N:$X>0 Q:'DN W ?0 W "VAF 10-1193 REVISED 5/95 p.1"
K Y K DIWF
Q
HEAD ;
W !,"------------------------------------------------------------------------------------------------------------------------------------",!!
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HENPLPB1 3414 printed Nov 22, 2024@17:05:03 Page 2
ENPLPB1 ; GENERATED FROM 'ENPLP006' PRINT TEMPLATE (#158) ; 06/11/96 ; (continued)
+1 GOTO BEGIN
N WRITE !
T if $X
WRITE !
IF '$DATA(DIOT(2))
IF DN
IF $DATA(IOSL)
IF $SELECT('$DATA(DIWF):1,$PIECE(DIWF,"B",2):$PIECE(DIWF,"B",2),1:1)+$Y'<IOSL
IF $DATA(^UTILITY($JOB,1))#2
IF ^(1)?1U1P1E.E
XECUTE ^(1)
+1 SET DISTP=DISTP+1
SET DILCT=DILCT+1
if '(DISTP#100)
DO CSTP^DIO2
+2 QUIT
DT IF $GET(DUZ("LANG"))>1
IF Y
WRITE $$OUT^DIALOGU(Y,"DD")
QUIT
+1 IF Y
WRITE $PIECE("JAN^FEB^MAR^APR^MAY^JUN^JUL^AUG^SEP^OCT^NOV^DEC",U,$EXTRACT(Y,4,5))_" "
if Y#100
WRITE $JUSTIFY(Y#100\1,2)_","
WRITE Y\10000+1700
if Y#1
WRITE " "_$EXTRACT(Y_0,9,10)_":"_$EXTRACT(Y_"000",11,12)
QUIT
+2 WRITE Y
QUIT
M DO @DIXX
+1 QUIT
BEGIN ;
+1 if '$DATA(DN)
SET DN=1
SET DISTP=$GET(DISTP)
SET DILCT=$GET(DILCT)
+2 WRITE "* Reserved for Future Use *"
+3 DO T
if 'DN
QUIT
DO N
if $X>0
DO N
if 'DN
QUIT
WRITE ?0
WRITE "21. DEPARTMENT/SERVICE OR TECHNICAL"
+4 if $X>74
DO N
if 'DN
QUIT
WRITE ?74
WRITE "22. FDP CRITICAL"
+5 if $X>99
DO N
if 'DN
QUIT
WRITE ?99
WRITE "23. FDP CORRECTIVE"
+6 if $X>4
DO N
if 'DN
QUIT
WRITE ?4
WRITE "DEFICIENCIES TO BE ADDRESSED"
+7 if $X>78
DO N
if 'DN
QUIT
WRITE ?78
WRITE "RATING"
+8 if $X>103
DO N
if 'DN
QUIT
WRITE ?103
WRITE "ACTION #"
+9 DO T
if 'DN
QUIT
DO N
if $X>0
DO N
if 'DN
QUIT
WRITE ?0
WRITE ""
+10 if $X>29
DO N
if 'DN
QUIT
WRITE ?29
WRITE "* Reserved for Future Use *"
+11 DO T
if 'DN
QUIT
DO N
if $X>0
DO N
if 'DN
QUIT
WRITE ?0
WRITE "24. PROJECT SCOPE: "
+12 if $X>4
DO N
if 'DN
QUIT
WRITE ?4
WRITE "25. CODE"
+13 if $X>19
DO N
if 'DN
QUIT
WRITE ?19
WRITE "26. DEPARTMENT/SERVICE"
+14 if $X>69
DO N
if 'DN
QUIT
WRITE ?69
WRITE "27. NEW"
+15 if $X>107
DO N
if 'DN
QUIT
WRITE ?107
WRITE "28. RENOVATED"
+16 if $X>72
DO N
if 'DN
QUIT
WRITE ?72
WRITE "NSF GSF"
+17 if $X>105
DO N
if 'DN
QUIT
WRITE ?105
WRITE "NSF GSF"
+18 SET I(1)=22
SET J(1)=6925.03
FOR D1=0:0
if $ORDER(^ENG("PROJ",D0,22,D1))'>0
QUIT
if $DATA(DSC(6925.03))
XECUTE DSC(6925.03)
SET D1=$ORDER(^(D1))
if D1'>0
QUIT
if $X>124
DO T
if 'DN
QUIT
DO D1
+19 GOTO D1R
D1 ;
+1 if $X>8
DO N
if 'DN
QUIT
WRITE ?8
XECUTE DXS(9,9.2)
SET DIP(101)=$SELECT($DATA(^OFM(7336.6,D0,0)):^(0),1:"")
SET X=$PIECE(DIP(101),U,2)
SET D0=I(0,0)
SET D1=I(1,0)
KILL DIP
if DN
KILL Y
WRITE X
+2 if $X>23
DO N
if 'DN
QUIT
WRITE ?23
XECUTE DXS(10,9.2)
SET DIP(101)=$SELECT($DATA(^OFM(7336.6,D0,0)):^(0),1:"")
SET X=$PIECE(DIP(101),U,1)
SET D0=I(0,0)
SET D1=I(1,0)
KILL DIP
if DN
KILL Y
WRITE X
+3 SET X=$GET(^ENG("PROJ",D0,22,D1,0))
if $X>69
DO N
if 'DN
QUIT
WRITE ?69
SET Y=$PIECE(X,U,2)
if Y]""
WRITE $JUSTIFY(Y,9,0)
+4 if $X>83
DO N
if 'DN
QUIT
WRITE ?83
SET Y=$PIECE(X,U,3)
if Y]""
WRITE $JUSTIFY(Y,9,0)
+5 if $X>102
DO N
if 'DN
QUIT
WRITE ?102
SET Y=$PIECE(X,U,4)
if Y]""
WRITE $JUSTIFY(Y,9,0)
+6 if $X>116
DO N
if 'DN
QUIT
WRITE ?116
SET Y=$PIECE(X,U,5)
if Y]""
WRITE $JUSTIFY(Y,9,0)
+7 QUIT
D1R ;
+1 DO T
if 'DN
QUIT
DO N
if $X>39
DO N
if 'DN
QUIT
WRITE ?39
WRITE "29.-30. NSF & GSF TOTALS: "
+2 if $X>69
DO N
if 'DN
QUIT
WRITE ?69
XECUTE DXS(11,9)
KILL DIP
if DN
KILL Y
WRITE $JUSTIFY(X,9)
+3 if $X>83
DO N
if 'DN
QUIT
WRITE ?83
XECUTE DXS(12,9)
KILL DIP
if DN
KILL Y
WRITE $JUSTIFY(X,9)
+4 if $X>102
DO N
if 'DN
QUIT
WRITE ?102
XECUTE DXS(13,9)
KILL DIP
if DN
KILL Y
WRITE $JUSTIFY(X,9)
+5 if $X>116
DO N
if 'DN
QUIT
WRITE ?116
XECUTE DXS(14,9)
KILL DIP
if DN
KILL Y
WRITE $JUSTIFY(X,9)
+6 DO T
if 'DN
QUIT
DO N
if $X>0
DO N
if 'DN
QUIT
WRITE ?0
WRITE "31.-39. (ISSUES) SITE: "
+7 SET X=$GET(^ENG("PROJ",D0,29))
WRITE ?0,$EXTRACT($PIECE(X,U,1),1,90)
+8 if $X>0
DO N
if 'DN
QUIT
WRITE ?0
WRITE ?11
WRITE "HISTORICAL: "
+9 WRITE ?0,$EXTRACT($PIECE(X,U,2),1,90)
+10 if $X>0
DO N
if 'DN
QUIT
WRITE ?0
WRITE ?8
WRITE "ENVIRONMENTAL: "
+11 SET X=$GET(^ENG("PROJ",D0,32))
WRITE ?0,$EXTRACT($PIECE(X,U,2),1,90)
+12 if $X>0
DO N
if 'DN
QUIT
WRITE ?0
WRITE ?14
WRITE "SEISMIC: "
+13 SET X=$GET(^ENG("PROJ",D0,30))
WRITE ?0,$EXTRACT($PIECE(X,U,1),1,90)
+14 if $X>0
DO N
if 'DN
QUIT
WRITE ?0
WRITE ?5
WRITE "HAZARDOUS MAT'LS: "
+15 WRITE ?0,$EXTRACT($PIECE(X,U,2),1,90)
+16 if $X>0
DO N
if 'DN
QUIT
WRITE ?0
WRITE ?12
WRITE "TRANSPORT: "
+17 SET X=$GET(^ENG("PROJ",D0,31))
WRITE ?0,$EXTRACT($PIECE(X,U,1),1,90)
+18 if $X>0
DO N
if 'DN
QUIT
WRITE ?0
WRITE ?14
WRITE "PARKING: "
+19 WRITE ?0,$EXTRACT($PIECE(X,U,2),1,90)
+20 if $X>0
DO N
if 'DN
QUIT
WRITE ?0
WRITE ?15
WRITE "IMPACT: "
+21 WRITE ?25
WRITE "Information (if any) moved to Impact Justification on page 3."
+22 FOR Y=0:0
if $Y>(IOSL-6)
QUIT
WRITE !
+23 if $X>0
DO N
if 'DN
QUIT
WRITE ?0
WRITE "VAF 10-1193 REVISED 5/95 p.1"
+24 KILL Y
KILL DIWF
+25 QUIT
HEAD ;
+1 WRITE !,"------------------------------------------------------------------------------------------------------------------------------------",!!