Last change
on this file since 1742 was 628, checked in by George Lilly, 15 years ago |
initial load of FOIAVistA 6/30/08 version
|
File size:
1.0 KB
|
Line | |
---|
1 | XIPMAIL ;OOIFO/SO- SEND E-MAIL OF COUNTY CODE & STATE FILE EXCEPTIONS;5:36 AM 4 Feb 2006
|
---|
2 | ;;8.0;KERNEL;**378**;Jul 10, 1995;Build 59
|
---|
3 | N XIPM
|
---|
4 | S XIPM=""
|
---|
5 | ;SCAN COUNTY CODE(#5.13) FILE FOR EXCEPTIONS
|
---|
6 | D ^XIPMAILA
|
---|
7 | ;SCAN STATE(#5) FILE FOR EXCEPTIONS
|
---|
8 | D ^XIPMAILB
|
---|
9 | ;
|
---|
10 | N TMP,LN,FACILITY
|
---|
11 | S TMP="",LN=0
|
---|
12 | S FACILITY=$$NS^XUAF4($$KSP^XUPARAM("INST"))
|
---|
13 | S TMP(LN)="Scanning COUNTY CODE(#5.13) & STATE(#5) files for:",LN=LN+1
|
---|
14 | S TMP(LN)=" "_$P(FACILITY,U)_"(#"_$P(FACILITY,U,2)_")",LN=LN+1
|
---|
15 | S TMP(LN)=" ",LN=LN+1
|
---|
16 | N I
|
---|
17 | S I=0
|
---|
18 | F S I=$O(XIPM("A",I)) Q:'I S TMP(LN)=XIPM("A",I),LN=LN+1
|
---|
19 | S TMP(LN)=" ",LN=LN+1
|
---|
20 | S I=0
|
---|
21 | F S I=$O(XIPM("B",I)) Q:'I S TMP(LN)=XIPM("B",I),LN=LN+1
|
---|
22 | ;
|
---|
23 | ; Mail back message
|
---|
24 | N MSGSBJ,WHO
|
---|
25 | S WHO(DUZ)=""
|
---|
26 | S WHO("hecdqsupport@med.va.gov")="" ;GAL group=VHA HEC DQ SUPPORT
|
---|
27 | S WHO("ORMSBY.SKIP@FORUM.VA.GOV")="" ;
|
---|
28 | S WHO("G.XIP SERVER RESPONSE")=""
|
---|
29 | I '$$GOTLOCAL^XMXAPIG("XIP SERVER RESPONSE") K WHO("G.XIP SERVER RESPONSE")
|
---|
30 | S MSGSBJ="POSTAL CODE(#5.13) & STATE(#5) File Scan Results"
|
---|
31 | ;
|
---|
32 | SEND D SENDMSG^XMXAPI(DUZ,MSGSBJ,"TMP",.WHO)
|
---|
33 | D CLEAN^DILF
|
---|
34 | Q
|
---|
Note:
See
TracBrowser
for help on using the repository browser.