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

BGUFILE.m

Go to the documentation of this file.
BGUFILE ; IHS/OIT/MJL - CALLS FILE RECORDS ;
 ;;1.5;BGU;;MAY 26, 2005
 ;USED WITH PRIMARY TABLE LOOKUP OF GUI CALL
 ;VALUES RETURNED IN Y
EN(Y,X,PARAM) ;PEP CALL FROM REMOTE PROCEDURE BGU TABLENAMES
 S X=0,Z=0 FOR  S X=$O(^BGUT("B",X)) Q:X=""  D ONE
 S Y(0.5)=Z Q
ONE S Z=Z+1
 S X1=0,X1=$O(^BGUT("B",X,X1)) I $D(^BGUT(X1,0)) S Y(X1)=^BGUT(X1,0) Q
 ;SAME CALL AS ABOVE WITH TAG TO TEST
TST S X=0,Z=0 FOR  S X=$O(^BGUT("B",X)) Q:X=""  D ONE
 S Y(0.5)=Z Q