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

INHMSR.m

Go to the documentation of this file.
  1. INHMSR ;KN; 31 Jan 96 09:47; Calling routine for the INHMSR1 Module.
  1. ;;3.01;BHL IHS Interfaces with GIS;;JUL 01, 2001
  1. ;COPYRIGHT 1991-2000 SAIC
  1. ;
  1. ; MODULE NAME: INHMSR Module.
  1. ;
  1. ; PURPOSE:
  1. ; The purpose of the INHMSR is used to ask user for enter file name,
  1. ; and call the INHMSR1 module to start for the process. Also the
  1. ; INHGLB is used for the global ^UTILITY.
  1. ;
  1. ;
  1. ; DESCRIPTION:
  1. ; The processing of this routine will prompt user to enter file name,
  1. ; look up DD for the file IEN, and call INHMSR1 module to start the
  1. ; Statistical process. In addition, the INHGLB routine is used to
  1. ; store the predefined selectable fields in global ^UTILITY.
  1. ;
  1. EN ; Entry point for the INHMSR
  1. ;
  1. N INIEN,INNM,INA
  1. ;If not found pre-defined selectable fields, run INHGLB
  1. I '$D(^UTILITY($J,"INHSR")) D INHGLB
  1. S DIC="^DIC(",DIC(0)="AEQ",DIC("A")="Enter File Name: "
  1. D ^DIC
  1. I $G(DUOUT)!(Y<0) G Q
  1. S INIEN=+Y,INNM=$P(Y,U,2)
  1. D EN^INHMSR1(INIEN,INNM)
  1. Q K ^UTILITY($J)
  1. Q
  1. ;
  1. UIF ; Universal Interface file
  1. ;
  1. N INIEN,INNM,INA
  1. D INHGLB
  1. D EN^INHMSR1(4001,"Universal Interface File")
  1. Q
  1. ERR ;Interface error file
  1. ;
  1. N INIEN,INNM,INA
  1. D INHGLB
  1. D EN^INHMSR1(4003,"Interface Error")
  1. Q
  1. ;
  1. INHGLB ; Temperary global set
  1. ;
  1. ; Description: This file is used to set up temporary global for
  1. ; display setectable fields as need.
  1. ;
  1. ; These fields are used to holds all interface transactions
  1. ; regardless of the destination. It also holds all status
  1. ; and tracking information for the transactions.
  1. ; **************************************************************
  1. S ^UTILITY($J,"INHSR",4001)=1
  1. S ^UTILITY($J,"INHSR",4001,.12)=""
  1. S ^UTILITY($J,"INHSR",4001,.01)=""
  1. S ^UTILITY($J,"INHSR",4001,.02)=""
  1. S ^UTILITY($J,"INHSR",4001,.1)=""
  1. S ^UTILITY($J,"INHSR",4001,.14)=""
  1. S ^UTILITY($J,"INHSR",4001,.11)=""
  1. S ^UTILITY($J,"INHSR",4001,.16)=""
  1. S ^UTILITY($J,"INHSR",4001,.08)=""
  1. S ^UTILITY($J,"INHSR",4001,.03)=""
  1. S ^UTILITY($J,"INHSR",4001,5)=""
  1. ;**************************************************************
  1. ; This fields are used to store errors for the interface
  1. ; error file.
  1. ;*************************************************************
  1. S ^UTILITY($J,"INHSR",4003)=1
  1. S ^UTILITY($J,"INHSR",4003,.11)=""
  1. S ^UTILITY($J,"INHSR",4003,.04)=""
  1. S ^UTILITY($J,"INHSR",4003,.09)=""
  1. S ^UTILITY($J,"INHSR",4003,.1)=""
  1. S ^UTILITY($J,"INHSR",4003,.05)=""
  1. S ^UTILITY($J,"INHSR",4003,.06)=""
  1. S ^UTILITY($J,"INHSR",4003,.01)=""
  1. S ^UTILITY($J,"INHSR",4003,.02)=""
  1. Q