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

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

initial load of WorldVistAEHR

File size: 3.2 KB
RevLine 
[613]1DINIT2B2 ;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 ^DINIT2B3
6Q Q
7 ;;^DIC(1.5211,0,"GL")
8 ;;=^DMSQ("DT",
9 ;;^DIC("B","SQLI_DATA_TYPE",1.5211)
10 ;;=
11 ;;^DIC(1.5211,"%D",0)
12 ;;=^^10^10^2970806^^^
13 ;;^DIC(1.5211,"%D",1,0)
14 ;;=A set of values from which all domains of that type may be drawn.
15 ;;^DIC(1.5211,"%D",2,0)
16 ;;=PRIMARY_KEY - the set of all primary keys (in SQLI_TABLE_ELEMENT, type P)
17 ;;^DIC(1.5211,"%D",3,0)
18 ;;=CHARACTER - the set of all character strings of length less than 256
19 ;;^DIC(1.5211,"%D",4,0)
20 ;;=INTEGER - the set of all cardinal numbers
21 ;;^DIC(1.5211,"%D",5,0)
22 ;;=NUMERIC - the set of all real numbers
23 ;;^DIC(1.5211,"%D",6,0)
24 ;;=DATE - the set of all date valued tokens
25 ;;^DIC(1.5211,"%D",7,0)
26 ;;=TIME - the set of all time valued tokens
27 ;;^DIC(1.5211,"%D",8,0)
28 ;;=MOMENT - the set of all tokens which have both a date and a time value
29 ;;^DIC(1.5211,"%D",9,0)
30 ;;=BOOLEAN - the set of all tokens which evaluate to true or false only
31 ;;^DIC(1.5211,"%D",10,0)
32 ;;=MEMO - the set of all character strings of length > 255
33 ;;^DD(1.5211,0)
34 ;;=FIELD^^3^4
35 ;;^DD(1.5211,0,"DDA")
36 ;;=N
37 ;;^DD(1.5211,0,"DT")
38 ;;=2960917
39 ;;^DD(1.5211,0,"IX","B",1.5211,.01)
40 ;;=
41 ;;^DD(1.5211,0,"NM","SQLI_DATA_TYPE")
42 ;;=
43 ;;^DD(1.5211,0,"PT",1.5212,1)
44 ;;=
45 ;;^DD(1.5211,0,"PT",1.5213,1)
46 ;;=
47 ;;^DD(1.5211,0,"PT",1.5214,1)
48 ;;=
49 ;;^DD(1.5211,0,"VRPK")
50 ;;=DI
51 ;;^DD(1.5211,.01,0)
52 ;;=D_NAME^RF^^0;1^K:$L(X)>30!($L(X)<3)!'($TR(X,"_")?1U.UN) X
53 ;;^DD(1.5211,.01,.1)
54 ;;=Data Type
55 ;;^DD(1.5211,.01,1,0)
56 ;;=^.1
57 ;;^DD(1.5211,.01,1,1,0)
58 ;;=1.5211^B
59 ;;^DD(1.5211,.01,1,1,1)
60 ;;=S ^DMSQ("DT","B",$E(X,1,30),DA)=""
61 ;;^DD(1.5211,.01,1,1,2)
62 ;;=K ^DMSQ("DT","B",$E(X,1,30),DA)
63 ;;^DD(1.5211,.01,3)
64 ;;=Answer must be an SQL identifier 3-30 characters in length.
65 ;;^DD(1.5211,.01,4)
66 ;;=W ?5,"Must be a valid SQL identifier"
67 ;;^DD(1.5211,.01,9)
68 ;;=^
69 ;;^DD(1.5211,.01,21,0)
70 ;;=^^1^1^2970311^^^^
71 ;;^DD(1.5211,.01,21,1,0)
72 ;;=ODBC Standard data type corresponding to FileMan domains
73 ;;^DD(1.5211,.01,"DT")
74 ;;=2960820
75 ;;^DD(1.5211,1,0)
76 ;;=D_COMMENT^F^^0;2^K:$L(X)>60!($L(X)<3) X
77 ;;^DD(1.5211,1,.1)
78 ;;=Comment
79 ;;^DD(1.5211,1,3)
80 ;;=Answer must be 3-60 characters in length.
81 ;;^DD(1.5211,1,9)
82 ;;=^
83 ;;^DD(1.5211,1,21,0)
84 ;;=^^1^1^2960926^
85 ;;^DD(1.5211,1,21,1,0)
86 ;;=Short description of the data type
87 ;;^DD(1.5211,1,"DT")
88 ;;=2960926
89 ;;^DD(1.5211,2,0)
90 ;;=D_OUTPUT_STRATEGY^K^^1;E1,245^K:$L(X)>245 X D:$D(X) ^DIM
91 ;;^DD(1.5211,2,.1)
92 ;;=Output Strategy
93 ;;^DD(1.5211,2,3)
94 ;;=This is Standard MUMPS code to format output.
95 ;;^DD(1.5211,2,9)
96 ;;=^
97 ;;^DD(1.5211,2,21,0)
98 ;;=^^1^1^2960926^^^^
99 ;;^DD(1.5211,2,21,1,0)
100 ;;=M code which returns external value, {E} of base value, {B}.
101 ;;^DD(1.5211,2,"DT")
102 ;;=2960926
103 ;;^DD(1.5211,3,0)
104 ;;=D_OUTPUT_FORMAT^P1.5214'^DMSQ("OF",^0;3^Q
105 ;;^DD(1.5211,3,.1)
106 ;;=Output Format
107 ;;^DD(1.5211,3,9)
108 ;;=^
109 ;;^DD(1.5211,3,21,0)
110 ;;=^^1^1^2960926^^^^
111 ;;^DD(1.5211,3,21,1,0)
112 ;;=IEN of default output format in SQLI_OUTPUT_FORMAT
113 ;;^DD(1.5211,3,"DT")
114 ;;=2960926
Note: See TracBrowser for help on using the repository browser.