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

XU8P373.m

Go to the documentation of this file.
  1. XU8P373 ;SFISC/SO- Add Whole File Screen to file 200 ;5:50 AM 13 Dec 2004
  1. ;;8.0;KERNEL;**373**;Jul 10, 1995
  1. ; IA # 4579
  1. ; Test for file header node
  1. I '$D(^VA(200,0))#2 D MES^XPDUTL("NEW PERSON(#200) file is missing it's File Header node.") Q
  1. ; Test header node $P#2 for proper construction
  1. I +$P(^VA(200,0),U,2)'=200 D MES^XPDUTL("The second piece of NEW PERSON(#200) file is not correct.") Q
  1. ; Add the Whole File Screen
  1. S ^DD(200,0,"SCR")="I $$SCR200^XUSER"
  1. ; Add Screen flag to file header if not already there
  1. I $P(^VA(200,0),U,2)'["s" S $P(^VA(200,0),U,2)=$P(^VA(200,0),U,2)_"s"
  1. ;
  1. D MES^XPDUTL("Added Screen to NEW PERSON(#200) file.")
  1. Q