Changeset 558 for ccr/trunk/p/C0CENV.m
- Timestamp:
- Sep 14, 2009, 9:46:28 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ccr/trunk/p/C0CENV.m
r536 r558 1 C0CENV ;WV/JMC - CCD/CCR Environment Check/Install Routine ; July 21, 20091 C0CENV ;WV/JMC - CCD/CCR Environment Check/Install Routine ; Aug 16, 2009 2 2 ;;1.0;C0C;;May 19, 2009; 3 3 ; … … 157 157 ; Load and rename C0CQRY1 to LA7QRY1 if LA*5.2*68 not installed. 158 158 I '$$PATCH^XPDUTL("LA*5.2*68") D 159 . S MSG="This system missing LAB patch LA*5.2*68" 160 . D BMES(MSG) 159 161 . S MSG="Renaming routine C0CQRY1 to LA7QRY1" 160 162 . D BMES(MSG) 161 163 . D LOAD("C0CQRY1") 162 . D SAVE("C0CQ YR1","LA7QRY1")164 . D SAVE("C0CQRY1","LA7QRY1") 163 165 ; 164 166 Q … … 166 168 ; 167 169 POST7 ; Checkpoint call back entry point. 168 ; Task setting the data in the indexes.169 170 ; 170 N MSG,ZTDESC,ZTDTH,ZTIO,ZTSK,ZTRTN,ZTSAVE 171 ; 172 ; If TaskMan not running then peform post-intall directly (interactively) 173 I '$$TM^%ZTLOAD D Q 174 . S MSG="TaskMan is not running" 175 . D BMES(MSG) 176 . S MSG="Will run indexing interactively" 177 . D BMES(MSG) 178 . D REINDEX^C0CLA7DD 179 ; 180 ; If KIDS install has been tasked then run post-install during this task. 181 I $D(ZTQUEUED) D REINDEX^C0CLA7DD Q 182 ; 183 S MSG="Tasking setting data into new V LAB indexes" 184 D BMES(MSG) 185 ; 186 S ZTRTN="REINDEX^C0CLA7DD",ZTDESC="C0C post-install - V LAB x-refs indexing" 187 S ZTIO="",ZTDTH=$H,ZTSAVE("XP*")="" 188 D ^%ZTLOAD 189 ; 190 I ZTSK>0 D 191 . S MSG="Task "_ZTSK_" tasked to set data into ALR* cross-references to V LAB file." 192 . D BMES(MSG) 193 E D 194 . S MSG="Tasking of indexing of V LAB file failed" 195 . D BMES(MSG) 196 ; 171 D REINDEX^C0CLA7DD 197 172 ; 198 173 Q … … 216 191 SAVE(OLD,NEW) ; restore routine X 217 192 N %,DIE,X,XCM,XCN,XCS 218 S DIE="^TMP($J," _OLD_",",XCN=0,X=NEW193 S DIE="^TMP($J,"""_OLD_""",",XCN=0,X=NEW 219 194 X ^%ZOSF("SAVE") 220 195 Q
Note:
See TracChangeset
for help on using the changeset viewer.