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

DINIT2BA.m

Go to the documentation of this file.
  1. DINIT2BA ;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 ^DINIT2BB
  1. Q Q
  1. ;;^DD(1.5217,11,.1)
  1. ;;=Ext. Frm.
  1. ;;^DD(1.5217,11,3)
  1. ;;=Type a Number between 1 and 511, 0 Decimal Digits
  1. ;;^DD(1.5217,11,9)
  1. ;;=^
  1. ;;^DD(1.5217,11,21,0)
  1. ;;=^^2^2^2960926^^^
  1. ;;^DD(1.5217,11,21,1,0)
  1. ;;=First character to be extracted with $EXTRACT
  1. ;;^DD(1.5217,11,21,2,0)
  1. ;;=NULL unless specified by form E1,30.
  1. ;;^DD(1.5217,11,"DT")
  1. ;;=2960926
  1. ;;^DD(1.5217,12,0)
  1. ;;=C_EXTRACT_THRU^NJ3,0^^0;13^K:+X'=X!(X>511)!(X<1)!(X?.E1"."1N.N) X
  1. ;;^DD(1.5217,12,.1)
  1. ;;=Ext. Thru
  1. ;;^DD(1.5217,12,3)
  1. ;;=Type a Number between 1 and 511, 0 Decimal Digits
  1. ;;^DD(1.5217,12,9)
  1. ;;=^
  1. ;;^DD(1.5217,12,21,0)
  1. ;;=^^1^1^2960926^^
  1. ;;^DD(1.5217,12,21,1,0)
  1. ;;=Last character to extract with $E
  1. ;;^DD(1.5217,12,"DT")
  1. ;;=2960926
  1. ;;^DD(1.5217,13,0)
  1. ;;=C_COMPUTE_EXEC^K^^2;E1,245^K:$L(X)>245 X D:$D(X) ^DIM
  1. ;;^DD(1.5217,13,.1)
  1. ;;=Computation
  1. ;;^DD(1.5217,13,3)
  1. ;;=M code to return value in {V}: machine generated
  1. ;;^DD(1.5217,13,4)
  1. ;;=W ?5,"Enter code to return value in {V}"
  1. ;;^DD(1.5217,13,9)
  1. ;;=^
  1. ;;^DD(1.5217,13,21,0)
  1. ;;=^^1^1^2970311^^^^
  1. ;;^DD(1.5217,13,21,1,0)
  1. ;;=Computation execute uses $$GET1^DIQ to return code by default
  1. ;;^DD(1.5217,13,"DT")
  1. ;;=2960926
  1. ;;^DD(1.5217,14,0)
  1. ;;=C_FM_EXEC^K^^3;E1,245^K:$L(X)>245 X D:$D(X) ^DIM
  1. ;;^DD(1.5217,14,.1)
  1. ;;=FileMan Retrieval Strategy
  1. ;;^DD(1.5217,14,3)
  1. ;;=Don't enter manually: machine generated.
  1. ;;^DD(1.5217,14,4)
  1. ;;=W ?5,"Don't enter this. It should be auto-generated."
  1. ;;^DD(1.5217,14,9)
  1. ;;=^
  1. ;;^DD(1.5217,14,21,0)
  1. ;;=^^2^2^2970311^^^^
  1. ;;^DD(1.5217,14,21,1,0)
  1. ;;=Standard $$GET1^DIQ code to return value of pointer, variable pointer
  1. ;;^DD(1.5217,14,21,2,0)
  1. ;;=and computed values, or when security flag is set
  1. ;;^DD(1.5217,14,"DT")
  1. ;;=2960926
  1. ;;^DD(1.5217,15,0)
  1. ;;=C_POINTER^K^^4;E1,245^K:$L(X)>245 X D:$D(X) ^DIM
  1. ;;^DD(1.5217,15,.1)
  1. ;;=Pointer or Set Param
  1. ;;^DD(1.5217,15,3)
  1. ;;=This is Standard MUMPS code.
  1. ;;^DD(1.5217,15,9)
  1. ;;=^
  1. ;;^DD(1.5217,15,21,0)
  1. ;;=^^1^1^2960926^
  1. ;;^DD(1.5217,15,21,1,0)
  1. ;;=Set translation string for SET, or global root for POINTER
  1. ;;^DD(1.5217,15,"DT")
  1. ;;=2960906
  1. ;;^DD(1.5217,16,0)
  1. ;;=C_OUTPUT_FORMAT^P1.5214'^DMSQ("OF",^0;4^Q
  1. ;;^DD(1.5217,16,.1)
  1. ;;=Output Format
  1. ;;^DD(1.5217,16,1,0)
  1. ;;=^.1
  1. ;;^DD(1.5217,16,1,1,0)
  1. ;;=1.5217^E
  1. ;;^DD(1.5217,16,1,1,1)
  1. ;;=S ^DMSQ("C","E",$E(X,1,30),DA)=""
  1. ;;^DD(1.5217,16,1,1,2)
  1. ;;=K ^DMSQ("C","E",$E(X,1,30),DA)
  1. ;;^DD(1.5217,16,1,1,"%D",0)
  1. ;;=^^1^1^2960909^
  1. ;;^DD(1.5217,16,1,1,"%D",1,0)
  1. ;;=Column by output format
  1. ;;^DD(1.5217,16,1,1,"DT")
  1. ;;=2960909
  1. ;;^DD(1.5217,16,9)
  1. ;;=^
  1. ;;^DD(1.5217,16,21,0)
  1. ;;=^^2^2^2960926^
  1. ;;^DD(1.5217,16,21,1,0)
  1. ;;=IEN of default output format in SQLI_OUTPUT_FORMAT for this column
  1. ;;^DD(1.5217,16,21,2,0)
  1. ;;=Always present for SET, POINTER and VARIABLE-POINTER data types
  1. ;;^DD(1.5217,16,"DT")
  1. ;;=2960926