Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: ACMSUSR

ACMSUSR.m

Go to the documentation of this file.
ACMSUSR ; IHS/TUCSON/TMJ - USER AUTHORIZATION...ALL REGISTERS ;
 ;;2.0;ACM CASE MANAGEMENT SYSTEM;;JAN 10, 1996
 ;
 S DIC="^VA(200,",DIC(0)="AQEM" D ^DIC Q:+Y<1
 S ACMX=0,ACMY=+Y F  S ACMX=$O(^ACM(41.1,ACMX)) Q:+ACMX=0  D ONE
 W !,"User is now authorized for ALL registers...",!!
 Q
ONE ;
 I '$D(^ACM(41.1,ACMX,"AU",0)) S ^ACM(41.1,ACMX,"UA",0)="^9002241.12P^0^0"
 S DIE="^ACM(41.1,ACMX,""AU"",",DA(1)=ACMX,DA=ACMY,DR=".01///^S X=DA",DIC(0)="LX" D ^DIE  Q