cogdmod_pa.ini 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433
  1. ;***********************************************************************
  2. ;Licensed Materials - Property of IBM
  3. ;
  4. ;BI and PM: UDA
  5. ;
  6. ;(C) Copyright IBM Corp. 2005, 2020
  7. ;
  8. ;U.S. Government Users Restricted Rights - Use, duplication, or disclosure
  9. ;by GSA ADP Schedule Contract with IBM Corp.
  10. ;
  11. ;Unless specifically authorized by IBM, you may not modify any part of this
  12. ;file. Where modification is authorized, you must reproduce any copyright
  13. ;notices contained in this file and specifically identify which
  14. ;modifications have been made by your organization. YOU ARE SOLELY
  15. ;RESPONSIBLE FOR DETERMINING THE APPROPRIATENESS OF ANY MODIFICATIONS TO
  16. ;THIS FILE AND ASSUME ALL RISKS ASSOCIATED WITH THE USE AND DISTRIBUTION
  17. ;OF THE MODIFIED FILE. IBM will not provide support relating to
  18. ;unauthorized changes you make to this file.
  19. ;***********************************************************************
  20. ; $Header: $
  21. ;
  22. ; Module:
  23. ; cogdmod_pa.ini
  24. ;
  25. ; Purpose:
  26. ; This module contains the Paraccel gateway information.
  27. ;
  28. ; Notes:
  29. ; Do NOT modify this file. Doing so could result in unknown behavior
  30. ; by the Paraccel gateway, possibly resulting in application aborts.
  31. ;
  32. ; ************************************************************************
  33. [DATABASE:PARACCEL]
  34. Disable_Subquery_With_Parameters=T
  35. Keyword Alias=" as \"%s\" "
  36. ; Various issues found with their parameter support so the API is disabled
  37. SQL_API_SQLDESCRIBEPARAM="FALSE"
  38. [Exceptions Commands DATABASE:PARACCEL]
  39. Select="select "
  40. Insert="insert "
  41. Update="update "
  42. Delete="delete "
  43. Call=
  44. Select_Star="T"
  45. Max_Stmt_Len=""
  46. [Exceptions Clauses DATABASE:PARACCEL]
  47. From="from"
  48. Where="where"
  49. Group_By="Group By"
  50. Having="having"
  51. Window=
  52. With=
  53. With_Recursive=
  54. [Exceptions Tables DATABASE:PARACCEL]
  55. Derived=T
  56. Joined=F
  57. Simple_And_Joined=T
  58. Tbl_Ref_Limit=""
  59. SubSelect_Limit=""
  60. Table_Constructor=F
  61. UniqueName_Prefix="coguda"
  62. [Exceptions Joins DATABASE:PARACCEL]
  63. Inner=T
  64. Left_Outer=T
  65. Right_Outer=T
  66. Full_Outer=T
  67. Cross=T
  68. On_Condition_Or_Predicate=T
  69. Nested_Outer=T
  70. Inner_Tbl_Restrict=F
  71. Optnl_Tbl_Restrict=F
  72. Non_Equi_Joins=T
  73. One_Outer=F
  74. Natural=T
  75. Left_Nested=T
  76. Right_Nested=T
  77. Two_Sided_Join_Restrict=F
  78. Optnl_Tbl_Join_Restrict=F
  79. Optnl_Tbl_Join_Filter=T
  80. Optnl_Tbl_Filter=T
  81. Prsrv_Tbl_Join_Filter=T
  82. Prsrv_Tbl_Filter=T
  83. On_Condition_Set_Functions=T
  84. On_Condition_Subqueries=T
  85. Full_Non_Equi_Join=F
  86. On_Condition_In_Predicate=T
  87. On_Condition_Not_Predicate=T
  88. On_Condition_Like_Predicate=T
  89. On_Condition_Between_Predicate=T
  90. On_Condition_IsNull_Predicate=T
  91. Non_Join_Expr=T
  92. Non_Join_Non_Equi_Expr=T
  93. Only_Eql_With_And=F
  94. On_Condition_Functions=T
  95. Two_Sided_Join_Restrict_Filter=F
  96. Nested_Inner=T
  97. Product_Join=T
  98. Outer_Non_Equi_Join=T
  99. On_Condition_No_Expr=T
  100. Outer_Syntax=T
  101. Left_Pre=
  102. ;Left_Eql=" LEFT OUTER JOIN "
  103. Left_Post=
  104. Right_Pre=
  105. ;Right_Eql=" RIGHT OUTER JOIN "
  106. Right_Post=
  107. ;Full_Syntax=" FULL OUTER JOIN "
  108. Full_Pre=
  109. Full_Post=
  110. ;Inner_Syntax=" INNER JOIN "
  111. Inner_Col_Pre=
  112. Inner_Col_Post=
  113. ;Cross_Syntax=" CROSS JOIN "
  114. ;Union_Syntax=" UNION "
  115. ;Natural_Syntax=" NATURAL JOIN "
  116. [Exceptions Predicates DATABASE:PARACCEL]
  117. Between="between"
  118. In="in"
  119. Like="like"
  120. Is_Null="is null"
  121. Any=
  122. All=
  123. Exists="exists"
  124. NotLike="not like"
  125. [Exceptions Aggregates DATABASE:PARACCEL]
  126. Max="max"
  127. Min="min"
  128. Sum="sum"
  129. ; Vendor has the aggregate function but is returning an integral value (e.g. 2) as opposed to an approximate value (e.g. 2.5)
  130. ; this may cause AVG, windowed AVG and similar ratio expressions to be flagged as failed.
  131. Avg="avg"
  132. Count="count"
  133. Count_Star="count(*)"
  134. Stddev=
  135. Stddev_Pop=
  136. Stddev_Samp=
  137. Variance=
  138. Var_Pop=
  139. Var_Samp=
  140. Grouping=
  141. Rank=
  142. Dense_Rank=
  143. Percent_Rank=
  144. Cume_Dist=
  145. Percentile_Cont=
  146. Percentile_Disc=
  147. First_Value=
  148. Last_Value=
  149. Percentile=F
  150. [Exceptions OLAP Functions DATABASE:PARACCEL]
  151. Olap_Min="min"
  152. Olap_Max="max"
  153. Olap_Sum="sum"
  154. Olap_Avg="avg"
  155. Olap_Count="count"
  156. Olap_Count_Star="count(*)"
  157. Olap_Stddev=
  158. Olap_Stddev_Pop=
  159. Olap_Stddev_Samp=
  160. Olap_Variance=
  161. Olap_Var_Pop=
  162. Olap_Var_Samp=
  163. Olap_Rank="rank"
  164. Olap_Dense_Rank="dense_rank"
  165. Olap_Percent_Rank=
  166. Olap_Cume_Dist=
  167. Olap_Percentile_Cont=
  168. Olap_Percentile_Disc=
  169. Olap_First_Value=
  170. Olap_Last_Value=
  171. Olap_Row_Number=
  172. Olap_Ratio_To_Report=
  173. Olap_Ntile=
  174. ; Olap_Count_Default="ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING"
  175. ; Olap_Sum_Default="ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING"
  176. ; Olap_Last_Value_Default="ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING"
  177. [Exceptions Set Operators DATABASE:PARACCEL]
  178. Union="union"
  179. Union_All=T
  180. Intersect="intersect"
  181. Intersect_All=T
  182. Except=" except "
  183. Except_All=F
  184. Distinct="distinct"
  185. Order_By="order by"
  186. [Exceptions Operators DATABASE:PARACCEL]
  187. Add="+"
  188. Sub="-"
  189. Mul="*"
  190. Div="/"
  191. Eql="="
  192. Neq="<>"
  193. Grt=">"
  194. Geq=">="
  195. Les="<"
  196. Leq="<="
  197. Neg="-"
  198. And="and"
  199. Or="or"
  200. Not="not"
  201. Assign="="
  202. [Exceptions Value Expressions DATABASE:PARACCEL]
  203. Case_Simple=T
  204. Case_Searched=T
  205. Coalesce=T
  206. Nullif=T
  207. Grouping_Sets=F
  208. Rollup=F
  209. Cube=F
  210. Position=F
  211. Char_Length=F
  212. Octet_Length=F
  213. Substring=T
  214. Upper=T
  215. Lower=T
  216. StrCat=T
  217. Cast=C
  218. Abs=T
  219. Floor=T
  220. Ceiling=C
  221. ln=T
  222. Exp=F
  223. Mod=F
  224. Sqrt=T
  225. Power=F
  226. Current_Date=T
  227. ;Unable to get timezone type via ODBC so disabled
  228. Current_Time=F
  229. Current_TimeStamp=F
  230. ; ODBC driver has problem returning the value
  231. LocalTime=F
  232. LocalTimestamp=F
  233. ; Aspects of Extract can be mapped via entries in the built in section
  234. Extract=C
  235. Extract_Year=coguda#extract_year
  236. Extract_Month=coguda#extract_month
  237. Extract_Day=coguda#extract_day
  238. Extract_Hours=coguda#extract_hour
  239. Extract_Minutes=coguda#extract_minute
  240. Trim=T
  241. Row_Value_Constructors=T
  242. Olap_Window_Order_By=F
  243. ; Unable to order by a literal value
  244. [Exceptions General DATABASE:PARACCEL]
  245. Aggregate_In_Expr=T
  246. Aggregate_Value_Expr=T
  247. Correlated_Subqueries=T
  248. Cross_Product=T
  249. Distinct_Aggregates=T
  250. Distinct_Aggr_In_Case=T
  251. Group_By_Expr=T
  252. Group_By_Ordinal=T
  253. Group_By_Alias=T
  254. Multiple_Distinct=T
  255. Count_Non_Distinct=T
  256. Count_Value_Expr=T
  257. Count_Literal=T
  258. Is_Null_Value_Expr=T
  259. Is_Null_Value_Parm=T
  260. Like_Value_Expr=T
  261. Subquery_In_Having=T
  262. Subquery_In_Group_By=T
  263. Subquery_In_Case=T
  264. Count_Blob=T
  265. Expression_In_In=T
  266. Null_Order=F
  267. Olap_Null_Order=F
  268. Olap_Distinct=F
  269. Nested_Olap_Functions=F
  270. Empty_String_Is_Null=F
  271. Order_By_In_Derived_Table=T
  272. Interval_As_VarChar=F
  273. Boolean_Comparison=T
  274. Derived_Column_List=T
  275. With_Column_List=F
  276. Aggr_With_Interval=T
  277. Nested_Case=T
  278. Not_In_Subquery=T
  279. Nulls_Sort_Last=T
  280. Order_By_Alias=T
  281. Order_By_Name=T
  282. Substring_On_Expr=T
  283. Subqueries=T
  284. Subquery_Column_Alias=T
  285. Parameter_In_Select_List=T
  286. Remove_Parameter_Cast=T
  287. Subquery_With_Parameters=T
  288. Like_With_Parameters=T
  289. Like_With_Escape=T
  290. Comments=T
  291. Integer_Division_Truncation=T
  292. [Exceptions Literals DATABASE:PARACCEL]
  293. Date_Literal=T
  294. Timestamp_Literal=T
  295. Interval_Literal=F
  296. IntervalYM_Literal=F
  297. TimeTZ_Literal=F
  298. TimestampTZ_Literal=F
  299. [Exceptions Misc DATABASE:PARACCEL]
  300. [Exceptions Delimiters DATABASE:PARACCEL]
  301. ; The RDBMS is accepting double quotes for quoted identifiers. For non-ODBC based connections
  302. ; enable the appropriate delimeter entries with respect to if catalog, schemas, procedures and
  303. ; table functions would be supported.
  304. ;Catalog_Delimiter="\""
  305. ;Schema_Delimiter="\""
  306. ;Table_Delimiter="\""
  307. ;Column_Delimiter="\""
  308. ;Procedure_Delimiter="\""
  309. ;Wholename_Delimiter="\""
  310. ;Table_Function_PreStr="TABLE( "
  311. ;Table_Function_PostStr=" )"
  312. ; ANSI style dashdash is also supported
  313. Comment_Begin="/* "
  314. Comment_End=" */ "
  315. [Exceptions Separators DATABASE:PARACCEL]
  316. Catalog_Separator="."
  317. Schema_Separator="."
  318. Table_Separator="."
  319. [Exceptions Blob Expressions DATABASE:PARACCEL]
  320. Blob_In_Substring=T
  321. Blob_In_Trim=T
  322. Blob_In_StrCat=T
  323. Blob_In_IsNull=T
  324. Blob_In_Substring_Return_Blob=F
  325. ;b stands for boolean.
  326. ;c stands for character.
  327. ;x stands for text.
  328. ;d stands for date.
  329. ;i stands for the interval.
  330. ;n stands for the numeric.
  331. ;s stands for the timestamp.
  332. ;t stands for the time.
  333. ;y stands for time with time zone
  334. ;z stands for timestamp with time zone
  335. [Database Functions DATABASE:PARACCEL]
  336. n:ceiling(%1n)=CEIL(%1);
  337. [Builtin Functions DATABASE:PARACCEL]
  338. d:_add_days(%1d,%2n)=cast(DATEADD(days,cast(floor(%2) as int),%1) as date);
  339. d:_add_months(%1d,%2n)=cast(DATEADD(months,cast(floor(%2) as int),%1) as date);
  340. d:_add_years(%1d,%2n)=cast(DATEADD(years,cast(floor(%2) as int),%1) as date);
  341. d:_first_of_month(%1d)=cast(DATEADD(day,1,%1 - cast(extract(day from %1) as INTEGER)) AS date);
  342. d:_last_of_month(%1d)=cast(DATEADD(month,1,%1 - cast(extract(day from %1) as INTEGER)) AS date);
  343. s:_add_days(%1s,%2n)=DATEADD(days,cast(floor(%2) as int),%1);
  344. s:_add_months(%1s,%2n)=DATEADD(months,cast(floor(%2) as int),%1);
  345. s:_add_years(%1s,%2n)=DATEADD(years,cast(floor(%2) as int),%1);
  346. s:_first_of_month(%1s)=DATEADD(day, 1, (%1 - cast(extract(day from %1) as INTEGER)));
  347. s:_last_of_month(%1s)=DATEADD(month, 1, (%1 - cast(extract(day from %1) as INTEGER)));
  348. ;s:_make_timestamp(%1n,%2n,%3n)=;
  349. s:_add_hours(%1s,%2n)=DATEADD(hours,cast(floor(%2) as int),%1);
  350. s:_add_minutes(%1s,%2n)=DATEADD(minutes,cast(floor(%2) as int),%1);
  351. s:_add_seconds(%1s,%2n)=DATEADD(seconds,cast(floor(%2) as int),%1);
  352. n:_days_between(%1ds,%2ds)=DATEDIFF(day, %2, %1);
  353. n:_months_between(%1ds,%2ds)=DATEDIFF(months, %2, %1);
  354. n:_years_between(%1ds,%2ds)=DATEDIFF(years,%2,%1);
  355. n:_hours_between(%1ds,%2ds)=DATEDIFF('hour', %2 , %1 );
  356. n:_minutes_between(%1ds,%2ds)=DATEDIFF('minute', %2 , %1 );
  357. n:_seconds_between(%1ds,%2ds)=DATEDIFF('second', %2 , %1 );
  358. n:_days_to_end_of_month(%1ds)=DATEDIFF('day',%1,cast(DATEADD(month,1,%1 - cast(extract(day from %1) as INTEGER)) as timestamp));
  359. n:_day_of_year(%1ds)=DATE_PART('doy',%1);
  360. n:_day_of_week(%1ds, %2n)=(MOD( cast( TO_CHAR( %1, 'D' ) AS INTEGER ) + 6 - %2, 7 ) + 1);
  361. ;n:_age(%1ds)=;
  362. ;n:_ymdint_between(%1ds,%2ds)=;
  363. ; must be iso 8601 compliant
  364. ;n:_week_of_year(%1ds)=;
  365. ;n:_round(%1n, %2n)=;
  366. n:coguda#extract_year(%1ds)=cast(extract(year from %1) as INTEGER);
  367. n:coguda#extract_month(%1ds)=cast(extract(month from %1) as INTEGER);
  368. n:coguda#extract_day(%1ds)=cast(extract(day from %1) as INTEGER);
  369. n:coguda#extract_hour(%1s)=cast(extract(hour from %1) as INTEGER);
  370. n:coguda#extract_minute(%1s)=cast(extract(minute from %1) as INTEGER);
  371. [Operator Addition]
  372. [Operator Subtraction]
  373. [Operator Multiplication]
  374. [Operator Division]
  375. [Operator Comparison]
  376. [Operator Cast DATABASE:PARACCEL]
  377. AD=AD,NA
  378. BL=AD,NA
  379. CH=CH,CH:DB,DB:DM,DM:DT,DT:FL,FL:IT,IT:NU,NU:QD,QD:SM,SM:TS,TS:VC,VC
  380. DB=DB,DB:DM,DM:FL,FL:NU,NU:SM,SM
  381. DM=CH,CH:DB,DB:DM,DM:FL,FL:IT,IT:NU,NU:QD,QD:SM,SM:VC,VC
  382. DT=CH,CH:DT,DT:TS,TS:VC,VC
  383. FL=DB,DB:DM,DM:FL,FL:IT,IT:NU,NU:SM,SM
  384. IT=CH,CH:DB,DB:DM,DM:FL,FL:IT,IT:NU,NU:QD,QD:SM,SM:VC,VC
  385. IV=AD,NA
  386. IY=AD,NA
  387. NA=CH,CH:DB,DB:DM,DM:DT,DT:FL,FL:IT,IT:NU,NU:QD,QD:SM,SM:TS,TS:VC,VC
  388. NC=AD,NA
  389. NU=CH,CH:DB,DB:DM,DM:FL,FL:IT,IT:NU,NU:QD,QD:SM,SM:VC,VC
  390. QD=CH,CH:DB,DB:DM,DM:FL,FL:IT,IT:NU,NU:QD,QD:SM,SM:VC,VC
  391. SM=DB,DB:DM,DM:FL,FL:IT,IT:NU,NU:QD,QD:SM,SM:VC,VC
  392. TM=AD,NA
  393. TS=DT,DT:TS,TS
  394. TT=AD,NA
  395. TZ=AD,NA
  396. VC=CH,CH:DB,DB:DM,DM:DT,DT:FL,FL:IT,IT:NU,NU:QD,QD:SM,SM:TS,TS:VC,VC
  397. [Directives Session]
  398. [I18N Encoding Mapping DATABASE:PARACCEL]
  399. 3=US-ASCII
  400. 4=iso-8859-1