Changeset 558 for ccr/trunk/p/C0CENV.m


Ignore:
Timestamp:
Sep 14, 2009, 9:46:28 PM (15 years ago)
Author:
George Lilly
Message:

update to RPMS labs install

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, 2009
     1C0CENV ;WV/JMC - CCD/CCR Environment Check/Install Routine ; Aug 16, 2009
    22 ;;1.0;C0C;;May 19, 2009;
    33 ;
     
    157157        ; Load and rename C0CQRY1 to LA7QRY1 if LA*5.2*68 not installed.
    158158        I '$$PATCH^XPDUTL("LA*5.2*68") D
     159        . S MSG="This system missing LAB patch LA*5.2*68"
     160        . D BMES(MSG)
    159161        . S MSG="Renaming routine C0CQRY1 to LA7QRY1"
    160162        . D BMES(MSG)
    161163        . D LOAD("C0CQRY1")
    162         . D SAVE("C0CQYR1","LA7QRY1")
     164        . D SAVE("C0CQRY1","LA7QRY1")
    163165        ;
    164166        Q
     
    166168        ;
    167169POST7   ; Checkpoint call back entry point.
    168         ; Task setting the data in the indexes.
    169170        ;
    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
    197172        ;
    198173        Q
     
    216191SAVE(OLD,NEW)   ; restore routine X
    217192        N %,DIE,X,XCM,XCN,XCS
    218         S DIE="^TMP($J,"_OLD_",",XCN=0,X=NEW
     193        S DIE="^TMP($J,"""_OLD_""",",XCN=0,X=NEW
    219194        X ^%ZOSF("SAVE")
    220195        Q
Note: See TracChangeset for help on using the changeset viewer.