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

PSN100P.m

Go to the documentation of this file.
  1. PSN100P ;BIR/DMA - set header nodes and protection ; 17 Jun 2009 7:30 AM
  1. ;;4.0; NATIONAL DRUG FILE;*100*;30 Oct 98;Build 5
  1. ;
  1. N DA,PSN
  1. S PSN("WR")="@",PSN("DEL")="@" D FILESEC^DDMOD(50.607,.PSN)
  1. ;
  1. K ^TMP($J) M ^TMP($J)=@XPDGREF
  1. S DA=0 F S DA=$O(^TMP($J,DA)) Q:'DA S PSN=^(DA) I $D(^PSNDF(50.68,DA)) S ^PSNDF(50.68,DA,2,0)=PSN
  1. ;
  1. K DA,PSN,^TMP($J) Q