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

DINIT2B6.m

Go to the documentation of this file.
  1. DINIT2B6 ;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 ^DINIT2B7
  1. Q Q
  1. ;;^DIC(1.5214,0,"GL")
  1. ;;=^DMSQ("OF",
  1. ;;^DIC("B","SQLI_OUTPUT_FORMAT",1.5214)
  1. ;;=
  1. ;;^DIC(1.5214,"%D",0)
  1. ;;=^^9^9^2970806^^^
  1. ;;^DIC(1.5214,"%D",1,0)
  1. ;;=Strategies for converting base values to external values.
  1. ;;^DIC(1.5214,"%D",2,0)
  1. ;;=In FileMan they are used to convert references to pointers to
  1. ;;^DIC(1.5214,"%D",3,0)
  1. ;;=their text values. They are also used for the SET OF CODES type.
  1. ;;^DIC(1.5214,"%D",4,0)
  1. ;;=
  1. ;;^DIC(1.5214,"%D",5,0)
  1. ;;=SQLI projects pointer and set of codes as calls to $$GET1^DIQ,
  1. ;;^DIC(1.5214,"%D",6,0)
  1. ;;=variable pointer into calls to $$EXTERNAL^DILFD.
  1. ;;^DIC(1.5214,"%D",7,0)
  1. ;;=
  1. ;;^DIC(1.5214,"%D",8,0)
  1. ;;=Vendors and other users of SQLI may choose to implement their own
  1. ;;^DIC(1.5214,"%D",9,0)
  1. ;;=conversions to improve performance.
  1. ;;^DD(1.5214,0)
  1. ;;=FIELD^^4^5
  1. ;;^DD(1.5214,0,"DDA")
  1. ;;=N
  1. ;;^DD(1.5214,0,"DT")
  1. ;;=2960820
  1. ;;^DD(1.5214,0,"IX","B",1.5214,.01)
  1. ;;=
  1. ;;^DD(1.5214,0,"NM","SQLI_OUTPUT_FORMAT")
  1. ;;=
  1. ;;^DD(1.5214,0,"PT",1.5211,3)
  1. ;;=
  1. ;;^DD(1.5214,0,"PT",1.5212,6)
  1. ;;=
  1. ;;^DD(1.5214,0,"PT",1.5217,16)
  1. ;;=
  1. ;;^DD(1.5214,0,"VRPK")
  1. ;;=DI
  1. ;;^DD(1.5214,.01,0)
  1. ;;=OF_NAME^RF^^0;1^K:$L(X)>30!($L(X)<3)!'($TR(X,"_")?1U.UN) X
  1. ;;^DD(1.5214,.01,.1)
  1. ;;=Output Format
  1. ;;^DD(1.5214,.01,1,0)
  1. ;;=^.1
  1. ;;^DD(1.5214,.01,1,1,0)
  1. ;;=1.5214^B
  1. ;;^DD(1.5214,.01,1,1,1)
  1. ;;=S ^DMSQ("OF","B",$E(X,1,30),DA)=""
  1. ;;^DD(1.5214,.01,1,1,2)
  1. ;;=K ^DMSQ("OF","B",$E(X,1,30),DA)
  1. ;;^DD(1.5214,.01,3)
  1. ;;=Answer must be 3-30 characters in length.
  1. ;;^DD(1.5214,.01,9)
  1. ;;=^
  1. ;;^DD(1.5214,.01,"DT")
  1. ;;=2960820
  1. ;;^DD(1.5214,1,0)
  1. ;;=OF_DATA_TYPE^RP1.5211'^DMSQ("DT",^0;2^Q
  1. ;;^DD(1.5214,1,3)
  1. ;;=Enter the ODBC data type
  1. ;;^DD(1.5214,1,9)
  1. ;;=^
  1. ;;^DD(1.5214,1,"DT")
  1. ;;=2960820
  1. ;;^DD(1.5214,2,0)
  1. ;;=OF_COMMENT^F^^0;3^K:$L(X)>60!($L(X)<3) X
  1. ;;^DD(1.5214,2,3)
  1. ;;=Answer must be 3-60 characters in length.
  1. ;;^DD(1.5214,2,9)
  1. ;;=^
  1. ;;^DD(1.5214,2,"DT")
  1. ;;=2960820
  1. ;;^DD(1.5214,3,0)
  1. ;;=OF_EXT_EXPR^K^^1;E1,245^K:$L(X)>245 X D:$D(X) ^DIM
  1. ;;^DD(1.5214,3,3)
  1. ;;=This is Standard MUMPS code.
  1. ;;^DD(1.5214,3,9)
  1. ;;=^
  1. ;;^DD(1.5214,3,21,0)
  1. ;;=^^1^1^2960820^
  1. ;;^DD(1.5214,3,21,1,0)
  1. ;;=An M expression which converts the base value of X to its external value
  1. ;;^DD(1.5214,3,"DT")
  1. ;;=2960820
  1. ;;^DD(1.5214,4,0)
  1. ;;=OF_EXT_EXEC^K^^2;E1,245^K:$L(X)>245 X D:$D(X) ^DIM
  1. ;;^DD(1.5214,4,3)
  1. ;;=This is Standard MUMPS code.
  1. ;;^DD(1.5214,4,9)
  1. ;;=^
  1. ;;^DD(1.5214,4,21,0)
  1. ;;=^^1^1^2960820^
  1. ;;^DD(1.5214,4,21,1,0)
  1. ;;=A line of M code which converts the base value of X to external
  1. ;;^DD(1.5214,4,"DT")
  1. ;;=2960820