Last change
on this file since 677 was 628, checked in by George Lilly, 15 years ago |
initial load of FOIAVistA 6/30/08 version
|
File size:
647 bytes
|
Line | |
---|
1 | DIFGSRV ;SFISC/RWF-SERVER INTERFACE TO FILEGRAMS ;
|
---|
2 | ;;22.0;VA FileMan;;Mar 30, 1999
|
---|
3 | ;Per VHA Directive 10-93-142, this routine should not be modified.
|
---|
4 | Q
|
---|
5 | HIST ;Add a message to the FileGram History file so it can be processed.
|
---|
6 | S DIXM=0,U="^" X XMREC ;get first line
|
---|
7 | I $P(XMRG,U)'="$DAT" S DIXM=DIXM+1,XQSTXT(DIXM)="First line of message doesn't start with '$DAT'"
|
---|
8 | S DIFG=$P(XMRG,U,3)
|
---|
9 | I DIFG<2 S DIXM=DIXM+1,XQSTXT(DIXM)="Can't update a VA FileMan file."
|
---|
10 | I "^2^3^19^"[(U_DIFG_U) S DIXM=DIXM+1,XQSTXT(DIXM)="Update to a protected file (#"_DIFG_")."
|
---|
11 | Q:DIXM
|
---|
12 | S DIFG("FE")=+$P(XQSUB,"#",2),DIFG("TEMPLATE")="",DIFG("DUZ")=XMFROM
|
---|
13 | D LOG^DIFGG
|
---|
14 | Q
|
---|
Note:
See
TracBrowser
for help on using the repository browser.