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

BHLZP3I.m

Go to the documentation of this file.
  1. BHLZP3I ; cmi/sitka/maw - BHL File Inbound ZP3 Segment ;
  1. ;;3.01;BHL IHS Interfaces with GIS;;JUL 01, 2001
  1. ;
  1. ;this routine will file the inbound ZP3 Segment
  1. ;
  1. MAIN ;-- this is the main routine driver
  1. D PROCESS,EOJ
  1. Q
  1. ;
  1. PROCESS ;-- process the data in the segment
  1. S BHLDA=0 F S BHLDA=$O(@BHLTMP@(BHLDA)) Q:BHLDA="" D
  1. . S BHLOT=$P($G(@BHLTMP@(BHLDA,1)),CS,2)
  1. . S BHLOTQ=$G(@BHLTMP@(BHLDA,2))
  1. . S DIE="^AUPNPAT(",DA=BHLPAT,DR="4301///"_BHLOT
  1. . S DR(2,9000001.43)=".02///"_BHLOTQ
  1. . D ^DIE
  1. . I $D(Y) S BHLERCD="NOUP43" X BHLERR Q
  1. Q
  1. ;
  1. EOJ ;-- kill variables and quit
  1. K @BHLTMP
  1. K BHLDA,BHLOT,BHLOTQ,BHLFL,BHLFLD,BHLVAL,BHLFL2,BHLFLD2,BHLVAL2,BHLX
  1. Q
  1. ;