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

ENBCPM.m

Go to the documentation of this file.
  1. ENBCPM ;(WASH ISC)/DH-Driver for Bar Coded PMI Module ;1/9/2001
  1. ;;7.0;ENGINEERING;**21,32,68**;Aug 17, 1993
  1. Q
  1. DNLOAD S ENSTA=""""_$P($G(^DIC(6910,1,0)),U,2)_""""
  1. I ENSTA="""""" W !,"STATION NUMBER not found in Eng Init Parm File. Can't proceed.",*7 G EXIT
  1. S ENCTID="ENPM" F I=1,2,3,4,5,6,7,8 S ENSTA(I)=""""_" "_""""
  1. I $G(^DIC(6910,1,3,0))]"" D
  1. . S (I,ENX)=0 F S ENX=$O(^DIC(6910,1,3,ENX)) Q:'ENX!(I>8) D
  1. .. S I=I+1,ENSTA(I)=""""_$P(^DIC(6910,1,3,ENX,0),U)_""""
  1. . I I>8 W !!,"NOTE: Only the first eight (8) ALTERNATE STATION NUMBERS will be downloaded.",*7
  1. D:$D(ENSTA) DNLD^ENBCPM1
  1. K ENCTEON,ENCTEOFF,ENCTTYPE,ENCTOPEN,ENCTCLOS,ENEMP
  1. EXIT K DIC,ENX,ENSTA,I,J,K,O,S,X,Y
  1. Q
  1. ;
  1. ;ENBCPM