[1147] | 1 | BMXUTL6 ; IHS/OIT/HMW - BMXNET INSTALLATION CALLS ;
|
---|
| 2 | ;;4.1000;BMX;;Apr 17, 2011
|
---|
| 3 | ;
|
---|
| 4 | ;
|
---|
| 5 | POST ;EP - Called from BMX Installation postinit
|
---|
| 6 | ;
|
---|
| 7 | ;Add BMX AV CODE and BMX CONNECT STATUS to XUS SIGNON broker option
|
---|
| 8 | N BMXFDA,BMXIEN,BMXMSG,BMXIENS,BMXMENN,BMXAVI,BMXCS,BMXOPT,BMXCVC
|
---|
| 9 | S BMXAVI=$O(^XWB(8994,"B","BMX AV CODE",0))
|
---|
| 10 | Q:'+BMXAVI
|
---|
| 11 | S BMXCS=$O(^XWB(8994,"B","BMX CONNECT STATUS",0))
|
---|
| 12 | Q:'+BMXCS
|
---|
| 13 | S BMXCVC=$O(^XWB(8994,"B","BMX CVC",0))
|
---|
| 14 | Q:'+BMXCVC
|
---|
| 15 | S BMXIENS=$O(^DIC(19,"B","XUS SIGNON",0))
|
---|
| 16 | Q:'+BMXIENS
|
---|
| 17 | ;
|
---|
| 18 | UPDATE S BMXIENS="?+2,"_BMXIENS_",",DIC(0)=""
|
---|
| 19 | F BMXOPT=BMXAVI,BMXCS,BMXCVC D
|
---|
| 20 | . S BMXFDA(19.05,BMXIENS,.01)=BMXOPT
|
---|
| 21 | . K BMXIEN,BMXMSG
|
---|
| 22 | . D UPDATE^DIE("","BMXFDA","BMXIEN","BMXMSG")
|
---|
| 23 | . Q
|
---|
| 24 | Q
|
---|
| 25 | ;
|
---|
| 26 | ;
|
---|
| 27 | ;
|
---|
| 28 | ;Create BMXNET,APPLICATION user and set attributes
|
---|
| 29 | ;
|
---|
| 30 | ;N BMXFDA,BMXIEN,BMXMSG,BMXIENS,BMXMENN
|
---|
| 31 | ;S BMXIENS = "?+1,"
|
---|
| 32 | ;S BMXFDA(200,BMXIENS,.01)="BMXNET,APPLICATION"
|
---|
| 33 | ;S BMXFDA(200,BMXIENS,2)="1_(a>yr}:3x3ja9\8vbH"
|
---|
| 34 | ;S BMXFDA(200,BMXIENS,11)="$;HOSs|:3w25lLD}Be="
|
---|
| 35 | ;S BMXFDA(200,BMXIENS,11.2)="88888,88888"
|
---|
| 36 | ;S BMXMENN=$O(^DIC(19,"B","BMXRPC",0))
|
---|
| 37 | ;I +BMXMENN S BMXFDA(200.03,"?+2,?+1,",.01)=BMXMENN
|
---|
| 38 | ;K BMXIEN,BMXMSG
|
---|
| 39 | ;S DIC(0)=""
|
---|
| 40 | ;D UPDATE^DIE("","BMXFDA","BMXIEN","BMXMSG")
|
---|
| 41 | Q
|
---|