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

SCMCRPT.m

Go to the documentation of this file.
  1. SCMCRPT ;BP/DMR - PCMM Intitution file check
  1. ;;5.3;Scheduling;**286**;AUG 13,1993
  1. ;
  1. S (INST,IEN,TEAM,TEST)=""
  1. F S TEAM=$O(^SCTM(404.51,"B",TEAM)) Q:TEAM="" D
  1. .S IEN="" F S IEN=$O(^SCTM(404.51,"B",TEAM,IEN)) Q:IEN="" D
  1. ..S INST="" S INST=$P($G(^SCTM(404.51,IEN,0)),"^",7)
  1. ..S TEST="" S TEST=$$GET1^DIQ(4,INST_",",11)
  1. ..IF TEST'["N" W !!,"Team "_TEAM_" points to an INSTITUTION that is not NATIONAL."
  1. ..Q
  1. K INST,IEN,TEAM,TEST