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

ACDFMC.m

Go to the documentation of this file.
ACDFMC ;IHS/ADC/EDE/KML - CDMIS FILEMAN CALLS;
 ;;4.1;CHEMICAL DEPENDENCY MIS;;MAY 11, 1998
 ;
DIC ; EP - CALL ^DIC
 D ^DIC
 K D,D0,D1,DA,DI,DIADD,DIC,DICR,DIE,DLAYGO,DQ,DR,DINUM
 Q
 ;
DIE ; EP - CALL ^DIE
 NEW ACDDA
 S ACDDA=DA
 I DIE S DIE=^DIC(DIE,0,"GL")
 L +@(DIE_ACDDA_")"):5 I '$T W !,"Sorry, someone else is editing this record.  Try later." Q
 D ^DIE
 L -@(DIE_ACDDA_")")
 K D,D0,D1,DI,DIADD,DIC,DICR,DIE,DLAYGO,DQ,DR,DINUM
 K:'$G(ACDKPDA) DA
 K ACDKPDA
 Q
DIK ; EP - CALL ^DIK
 D ^DIK
 K DIK
 K D,D0,D1,DA,DI,DIADD,DIC,DICR,DIE,DLAYGO,DQ,DR,DINUM
 Q
 ;
DIQ ; EP - CALL ^DIQ
 D EN^DIQ
 K DIQ
 K D,D0,D1,DA,DI,DIADD,DIC,DICR,DIE,DIQ2,DLAYGO,DQ,DR,DINUM
 Q
 ;
DIQ1 ; EP - CALL ^DIQ1
 D EN^DIQ1
 K DIQ
 K D,D0,D1,DA,DI,DIADD,DIC,DICR,DIE,DIQ2,DLAYGO,DQ,DR,DINUM
 Q
 ;
FILE ; EP - CALL FILE^DICN
 K DD,DO
 D FILE^DICN
 K D,D0,D1,DA,DI,DIADD,DIC,DICR,DIE,DLAYGO,DQ,DR,DINUM
 Q