source: WorldVistAEHR/trunk/r/VA_FILEMAN-ARJT-DI-DD-DM-DT-%DT-%RCR/DINIT2B6.m@ 1042

Last change on this file since 1042 was 613, checked in by George Lilly, 15 years ago

initial load of WorldVistAEHR

File size: 2.8 KB
Line 
1DINIT2B6 ;SFISC/MKO-SQLI FILES ;10:51 AM 30 Mar 1999
2 ;;22.0;VA FileMan;;Mar 30, 1999
3 ;Per VHA Directive 10-93-142, this routine should not be modified.
4 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
5 G ^DINIT2B7
6Q Q
7 ;;^DIC(1.5214,0,"GL")
8 ;;=^DMSQ("OF",
9 ;;^DIC("B","SQLI_OUTPUT_FORMAT",1.5214)
10 ;;=
11 ;;^DIC(1.5214,"%D",0)
12 ;;=^^9^9^2970806^^^
13 ;;^DIC(1.5214,"%D",1,0)
14 ;;=Strategies for converting base values to external values.
15 ;;^DIC(1.5214,"%D",2,0)
16 ;;=In FileMan they are used to convert references to pointers to
17 ;;^DIC(1.5214,"%D",3,0)
18 ;;=their text values. They are also used for the SET OF CODES type.
19 ;;^DIC(1.5214,"%D",4,0)
20 ;;=
21 ;;^DIC(1.5214,"%D",5,0)
22 ;;=SQLI projects pointer and set of codes as calls to $$GET1^DIQ,
23 ;;^DIC(1.5214,"%D",6,0)
24 ;;=variable pointer into calls to $$EXTERNAL^DILFD.
25 ;;^DIC(1.5214,"%D",7,0)
26 ;;=
27 ;;^DIC(1.5214,"%D",8,0)
28 ;;=Vendors and other users of SQLI may choose to implement their own
29 ;;^DIC(1.5214,"%D",9,0)
30 ;;=conversions to improve performance.
31 ;;^DD(1.5214,0)
32 ;;=FIELD^^4^5
33 ;;^DD(1.5214,0,"DDA")
34 ;;=N
35 ;;^DD(1.5214,0,"DT")
36 ;;=2960820
37 ;;^DD(1.5214,0,"IX","B",1.5214,.01)
38 ;;=
39 ;;^DD(1.5214,0,"NM","SQLI_OUTPUT_FORMAT")
40 ;;=
41 ;;^DD(1.5214,0,"PT",1.5211,3)
42 ;;=
43 ;;^DD(1.5214,0,"PT",1.5212,6)
44 ;;=
45 ;;^DD(1.5214,0,"PT",1.5217,16)
46 ;;=
47 ;;^DD(1.5214,0,"VRPK")
48 ;;=DI
49 ;;^DD(1.5214,.01,0)
50 ;;=OF_NAME^RF^^0;1^K:$L(X)>30!($L(X)<3)!'($TR(X,"_")?1U.UN) X
51 ;;^DD(1.5214,.01,.1)
52 ;;=Output Format
53 ;;^DD(1.5214,.01,1,0)
54 ;;=^.1
55 ;;^DD(1.5214,.01,1,1,0)
56 ;;=1.5214^B
57 ;;^DD(1.5214,.01,1,1,1)
58 ;;=S ^DMSQ("OF","B",$E(X,1,30),DA)=""
59 ;;^DD(1.5214,.01,1,1,2)
60 ;;=K ^DMSQ("OF","B",$E(X,1,30),DA)
61 ;;^DD(1.5214,.01,3)
62 ;;=Answer must be 3-30 characters in length.
63 ;;^DD(1.5214,.01,9)
64 ;;=^
65 ;;^DD(1.5214,.01,"DT")
66 ;;=2960820
67 ;;^DD(1.5214,1,0)
68 ;;=OF_DATA_TYPE^RP1.5211'^DMSQ("DT",^0;2^Q
69 ;;^DD(1.5214,1,3)
70 ;;=Enter the ODBC data type
71 ;;^DD(1.5214,1,9)
72 ;;=^
73 ;;^DD(1.5214,1,"DT")
74 ;;=2960820
75 ;;^DD(1.5214,2,0)
76 ;;=OF_COMMENT^F^^0;3^K:$L(X)>60!($L(X)<3) X
77 ;;^DD(1.5214,2,3)
78 ;;=Answer must be 3-60 characters in length.
79 ;;^DD(1.5214,2,9)
80 ;;=^
81 ;;^DD(1.5214,2,"DT")
82 ;;=2960820
83 ;;^DD(1.5214,3,0)
84 ;;=OF_EXT_EXPR^K^^1;E1,245^K:$L(X)>245 X D:$D(X) ^DIM
85 ;;^DD(1.5214,3,3)
86 ;;=This is Standard MUMPS code.
87 ;;^DD(1.5214,3,9)
88 ;;=^
89 ;;^DD(1.5214,3,21,0)
90 ;;=^^1^1^2960820^
91 ;;^DD(1.5214,3,21,1,0)
92 ;;=An M expression which converts the base value of X to its external value
93 ;;^DD(1.5214,3,"DT")
94 ;;=2960820
95 ;;^DD(1.5214,4,0)
96 ;;=OF_EXT_EXEC^K^^2;E1,245^K:$L(X)>245 X D:$D(X) ^DIM
97 ;;^DD(1.5214,4,3)
98 ;;=This is Standard MUMPS code.
99 ;;^DD(1.5214,4,9)
100 ;;=^
101 ;;^DD(1.5214,4,21,0)
102 ;;=^^1^1^2960820^
103 ;;^DD(1.5214,4,21,1,0)
104 ;;=A line of M code which converts the base value of X to external
105 ;;^DD(1.5214,4,"DT")
106 ;;=2960820
Note: See TracBrowser for help on using the repository browser.