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

DINIT2B1.m

Go to the documentation of this file.
  1. DINIT2B1 ;SFISC/MKO-SQLI FILES ;10:51 AM 30 Mar 1999
  1. ;;22.2;VA FileMan;;Jan 05, 2016;Build 42
  1. ;;Per VA Directive 6402, this routine should not be modified.
  1. ;;Submitted to OSEHRA 5 January 2015 by the VISTA Expertise Network.
  1. ;;Based on Medsphere Systems Corporation's MSC FileMan 1051.
  1. ;;Licensed under the terms of the Apache License, Version 2.0.
  1. ;
  1. F I=1:2 S X=$T(Q+I) Q:X="" S Y=$E($T(Q+I+1),4,999),X=$E(X,4,999) S:$A(Y)=126 I=I+1,Y=$E(Y,2,999)_$E($T(Q+I+1),5,99) S:$A(Y)=61 Y=$E(Y,2,999) S @X=Y
  1. G ^DINIT2B2
  1. Q Q
  1. ;;^DIC(1.52101,0,"GL")
  1. ;;=^DMSQ("K",
  1. ;;^DIC("B","SQLI_KEY_WORD",1.52101)
  1. ;;=
  1. ;;^DIC(1.52101,"%D",0)
  1. ;;=^^3^3^2970806^^^
  1. ;;^DIC(1.52101,"%D",1,0)
  1. ;;=SQL identifiers that may not be used for column and table names.
  1. ;;^DIC(1.52101,"%D",2,0)
  1. ;;= SQL, ODBC and vendors all have lists of restricted words, which
  1. ;;^DIC(1.52101,"%D",3,0)
  1. ;;=should be put in this table before SQLI table generation.
  1. ;;^DD(1.52101,0)
  1. ;;=FIELD^^.01^1
  1. ;;^DD(1.52101,0,"DDA")
  1. ;;=N
  1. ;;^DD(1.52101,0,"DT")
  1. ;;=2970311
  1. ;;^DD(1.52101,0,"IX","B",1.52101,.01)
  1. ;;=
  1. ;;^DD(1.52101,0,"NM","SQLI_KEY_WORD")
  1. ;;=
  1. ;;^DD(1.52101,0,"VRPK")
  1. ;;=DI
  1. ;;^DD(1.52101,.01,0)
  1. ;;=KEY_WORD^RF^^0;1^K:$L(X)>30!($L(X)<2)!'($TR(X,"_")?1U.UN) X
  1. ;;^DD(1.52101,.01,.1)
  1. ;;=Keyword
  1. ;;^DD(1.52101,.01,1,0)
  1. ;;=^.1
  1. ;;^DD(1.52101,.01,1,1,0)
  1. ;;=1.52101^B
  1. ;;^DD(1.52101,.01,1,1,1)
  1. ;;=S ^DMSQ("K","B",$E(X,1,30),DA)=""
  1. ;;^DD(1.52101,.01,1,1,2)
  1. ;;=K ^DMSQ("K","B",$E(X,1,30),DA)
  1. ;;^DD(1.52101,.01,3)
  1. ;;=Answer must be 2-30 characters in length.
  1. ;;^DD(1.52101,.01,9)
  1. ;;=^
  1. ;;^DD(1.52101,.01,"DT")
  1. ;;=2970311