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

XIPXREF.m

Go to the documentation of this file.
  1. XIPXREF ;OIFO/SO- CONTAINS ANYCROSS REFERENCE LOGIC;5:20 AM 21 Jun 2003
  1. ;;8.0;KERNEL;**292**;Jul 10, 1995
  1. ;
  1. X512AD ;Cross-reference to determine if any changes have been made to
  1. ;a record during the Update process
  1. N XIPXREF
  1. S XIPXREF=0
  1. D CHK
  1. I XIPXREF S ^XIP(5.12,"AD",DA)=""
  1. Q
  1. ;
  1. X513AC ;
  1. N XIPXREF
  1. S XIPXREF=0
  1. D CHK
  1. I XIPXREF S ^XIP(5.13,"AC",DA)=""
  1. Q
  1. ;
  1. CHK ;Compare the X1(n) array to X2(n) array
  1. N I
  1. S I=0
  1. F S I=$O(X1(I)) Q:I<1 D
  1. . I X1(I)'=X2(I) S XIPXREF=1
  1. Q