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

AULZRO.m

Go to the documentation of this file.
  1. %AULZRO ; LISTS 0TH NODES [ 11/17/87 10:40 AM ]
  1. ;
  1. W !,"This routine lists the 0th nodes of FileMan files by a range",!,"of file numbers."
  1. ;
  1. LO R !!,"Enter low file number: ",AULZLO G:AULZLO="" EOJ G:AULZLO'=+AULZLO ERR
  1. HI R !,"Enter high file number: ",AULZHI S:AULZHI="" AULZHI=AULZLO G:AULZHI'=+AULZHI!(AULZHI<AULZLO) ERR
  1. W !
  1. S AULZFILE=(AULZLO-.00000001) F AULZL=0:0 S AULZFILE=$O(^DIC(AULZFILE)) Q:AULZFILE>AULZHI!(AULZFILE'=+AULZFILE) S AULZG="" I $D(^DIC(AULZFILE,0,"GL")) S AULZG=^("GL") D HI2
  1. G LO
  1. HI2 ;
  1. S AULZX=$L(AULZG),AULZX=$E(AULZG,1,AULZX-1)_$S($E(AULZG,AULZX)=",":",0)",1:"(0)") S AULZZN="<DOES NOT EXIST>" S:$D(@AULZX) AULZZN=^(0)
  1. W !,AULZFILE,?15,AULZX,?35,AULZZN
  1. Q
  1. ERR W !!,"File numbers must be canonic, and the ending file must not be < than the",!," beginning file!",!
  1. EOJ ;
  1. K AULZLO,AULZHI,AULZFILE,AULZL,AULZG,AULZX,AULZZN
  1. Q