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

BHLI.m

Go to the documentation of this file.
  1. BHLI ; cmi/sitka/maw - BHL Inbound Filer Processor ;
  1. ;;3.01;BHL IHS Interfaces with GIS;;JUL 01, 2001
  1. ;
  1. ;
  1. ;this routine will get the IEN of the message and start the process
  1. ;of filing
  1. ;
  1. MAIN ;-- this is the main routine driver
  1. D ^BHLSETI
  1. G EOJ^BHLSETI:$D(BHLERR("FATAL"))
  1. D ^BHLFO
  1. D FILE
  1. D EOJ^BHLSETI
  1. Q
  1. ;
  1. FILE ;-- this will call the routines that actually file the message
  1. S BHLFDA=0 F S BHLFDA=$O(BHLFO(BHLFDA)) Q:'BHLFDA!$D(BHLERR("FATAL")) D
  1. . S BHLR=$G(BHLFO(BHLFDA))
  1. . S BHLFILE="^BHL"_BHLR_"I"
  1. . S X=$P(BHLFILE,U,2) X ^%ZOSF("TEST")
  1. . Q:'$T
  1. . D @BHLFILE
  1. . Q:$D(BHLERR("FATAL"))
  1. Q
  1. ;