cogCRXReportFunctionsStrings_en.xml 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Licensed Materials - Property of IBM
  4. IBM Cognos Products: crx
  5. (C) Copyright IBM Corp. 2003, 2015
  6. US Government Users Restricted Rights - Use, duplication or disclosure
  7. restricted by GSA ADP Schedule Contract with IBM Corp.
  8. -->
  9. <stringTable xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="CCLMessageFile.xsd" usage="String">
  10. <component name="CRX">
  11. <section name="CRX">
  12. <string id="CRXReportCastingFunctions">Data Type Casting Functions</string>
  13. <string id="_date2string.syntax">date2string (&#160;date_expression&#160;)</string>
  14. <string id="_date2string.tip">Returns a date as a string in YYYY-MM-DD format.</string>
  15. <string id="_time2string.syntax">time2string (&#160;time_expression&#160;)</string>
  16. <string id="_time2string.tip">Returns a time as a string in HH:MM:SS.FFF format.</string>
  17. <string id="_timeTZ2string.syntax">timeTZ2string (&#160;timeTZ_expression&#160;)</string>
  18. <string id="_timeTZ2string.tip">Returns a time with the time zone as a string in HH:MM:SS.FFF +HHMM or HH:MM:SS.FFFFFFF -HHMM format. For example, -05:30 means a timezone of GMT minus 5 hours and 30 minutes</string>
  19. <string id="_timestamp2string.syntax">timestamp2string (&#160;timestamp_expression&#160;)</string>
  20. <string id="_timestamp2string.tip">Returns a timestamp as a string in YYYY-MM-DD HH:MM:SS.FFFFFFF format.</string>
  21. <string id="_timestampTZ2string.syntax">timestampTZ2string (&#160;timestamp_time_zone_expression&#160;)</string>
  22. <string id="_timestampTZ2string.tip">Returns a timestamp with the time zone as a string in YYYY-MM-DD HH:MM:SS.FFFFFFF +HHMM or YYYY-MM-DD HH:MM:SS.FFF -HHMM format.</string>
  23. <string id="_DTinterval2string.syntax">DTinterval2string (&#160;date_time_interval_expression&#160;)</string>
  24. <string id="_DTinterval2string.tip">Returns a date time interval as a string in DDDD HH:MM:SS.FFFFFFF or -DDDD HH:MM:SS.FFF format.</string>
  25. <string id="_DTinterval2stringAsTime.syntax">DTinterval2stringAsTime (&#160;date_time_interval_expression&#160;)</string>
  26. <string id="_DTinterval2stringAsTime.tip">Returns a date time interval as a string in HHHH:MM:SS.FFFFFFF or HH:MM:SS.FFF format. Days are converted to hours.</string>
  27. <string id="_int2DTinterval.syntax">int2DTinterval (&#160;integer_expression&#160;,&#160;string_expression&#160;)</string>
  28. <string id="_int2DTinterval.tip">Converts an integer to a date time interval. "String_expression" specifies what "integer_expression" represents: "ns" = nanoseconds, "s" = seconds (default), "m" = minutes, "h" = hours, "d" = days.</string>
  29. <string id="_int2DTinterval.example.1">Example: int2DTinterval (1020,"h")</string>
  30. <string id="_int2DTinterval.result.1">Result: 42 days 12 hours</string>
  31. <string id="_int2DTinterval.example.2">Example: int2DTinterval (1020,"s")</string>
  32. <string id="_int2DTinterval.result.2">Result: 17 minutes</string>
  33. <string id="_mapNumberToLetter.syntax">mapNumberToLetter (&#160;string_expression&#160;,&#160;integer_expression&#160;)</string>
  34. <string id="_mapNumberToLetter.tip">Adds "integer_expression" to "string_expression".</string>
  35. <string id="_mapNumberToLetter.example.1">Example: mapNumberToLetter (&#160;'a'&#160;,&#160;1&#160;)</string>
  36. <string id="_mapNumberToLetter.result.1">Result: b</string>
  37. <string id="_nullif.syntax">nullif (&#160;string_expression1&#160;,&#160;string_expression2&#160;)</string>
  38. <string id="_nullif.tip">Returns null if "string_expression1" equals "string_expression2" (case-insensitive), otherwise returns "string_expression1".</string>
  39. <string id="_mod.syntax">mod (&#160;integer_expression1&#160;,&#160;integer_expression2&#160;)</string>
  40. <string id="_mod.tip">Returns an integer value representing the remainder (modulo) of "integer_expression1" / "integer_expression2".</string>
  41. <string id="_power.syntax">power (&#160;numeric_expression1&#160;,&#160;numeric_expression2&#160;)</string>
  42. <string id="_power.tip">Returns "numeric_expression1" raised to the power of "numeric_expression2".</string>
  43. <string id="_power.example.1" type="String">Example: power (&#160;3&#160;,&#160;2&#160;)</string>
  44. <string id="_power.result.1" type="String">Result: 9</string>
  45. <string id="_int2YMinterval.syntax">int2YMinterval (&#160;integer_expression&#160;,&#160;string_expression&#160;)</string>
  46. <string id="_int2YMinterval.tip">Converts "integer_expression" to a year month interval. "String_expression" specifies what "integer_expression" represents: "y" = years, "m" = months (default).</string>
  47. <string id="_YMinterval2string.syntax">YMinterval2string (&#160;year_month_interval_expression&#160;)</string>
  48. <string id="_YMinterval2string.tip">Returns "year_month_interval_expression" as a string in (YY MM) or -(YY MM) format.</string>
  49. <string id="_number2string.syntax">number2string (&#160;numeric_expression&#160;)</string>
  50. <string id="_number2string.tip">Converts "numeric_expression" to a string, using the %g format specifier (C/C++ syntax).</string>
  51. <string id="_string2date.syntax">string2date (&#160;string_expression&#160;)</string>
  52. <string id="_string2date.tip">Returns "string_expression" as a date in YYYY-MM-DD format.</string>
  53. <string id="_string2YMinterval.tip">Returns "string_expression" as a Year Month Interval in [-]YY MM format.</string>
  54. <string id="_string2YMinterval.syntax">string2YMinterval (&#160;string_expression&#160;)</string>
  55. <string id="_string2DTinterval.tip">Returns "string_expression" as a date time interval in [-]DD HH:MM[:SS[.FFF]] format.</string>
  56. <string id="_string2DTinterval.syntax">string2DTinterval (&#160;string_expression&#160;)</string>
  57. <string id="_string2time.syntax">string2time (&#160;string_expression&#160;)</string>
  58. <string id="_string2time.tip">Returns "string_expression" as a time in HH:MM:SS.FFFFFFF format.</string>
  59. <string id="_string2timestamp.syntax">string2timestamp (&#160;string_expression&#160;)</string>
  60. <string id="_string2timestamp.tip">Returns "string_expression" as a timestamp in YYYY-MM-DD [T|t|[white space]+] HH:MM:SS.FFFFFFF format.</string>
  61. <string id="_string2timestampTZ.syntax">string2timestampTZ (&#160;string_expression&#160;)</string>
  62. <string id="_string2timestampTZ.tip">Returns "string_expression" in YYYY-MM-DD HH:MM:SS.FFFFFFF +HHMM or YYYY-MM-DD [T|t] HH:MM:SS.FFF -HHMM format.</string>
  63. <string id="_string2double.syntax">string2double (&#160;string_expression&#160;)</string>
  64. <string id="_string2double.tip">Returns a floating point number. "String_expression" has the following form: "[whitespace] [sign]
  65. [digits] [digits] [&#160;{d|D|e|E&#160;}[sign]digits]"</string>
  66. <string id="_string2int64.syntax">string2int64 (&#160;string_expression&#160;)</string>
  67. <string id="_string2int64.tip">Returns a long integer. "String_expression" has the following form: "[whitespace] [{+|-}] [digits]"</string>
  68. <string id="_string2int32.syntax">string2int32 (&#160;string_expression&#160;)</string>
  69. <string id="_string2int32.tip">Returns an integer. "String_expression" has the following form: "[whitespace] [{+|-}] [digits]"</string>
  70. <string id="_date2timestamp.syntax">date2timestamp (&#160;date_expression&#160;)</string>
  71. <string id="_date2timestamp.tip">Converts "date_expression" to a timestamp. The time part of the timestamp will equal zero.</string>
  72. <string id="_timestamp2date.syntax">timestamp2date (&#160;timestamp_expression&#160;)</string>
  73. <string id="_timestamp2date.tip">Converts "timestamp_expression" to a date. The time part of the timestamp will be ignored.</string>
  74. <string id="_timestamp2timestampTZ.syntax">timestamp2timestampTZ (&#160;timestamp_expression&#160;)</string>
  75. <string id="_timestamp2timestampTZ.tip">Converts "timestamp_expression" to a timestamp with a time zone. The displacement part of the timestamp with the time zone will be zero.</string>
  76. <string id="_timestampTZ2timestamp.syntax">timestampTZ2timestamp (&#160;timestamp_time_zone_expression&#160;)</string>
  77. <string id="_timestampTZ2timestamp.tip">Converts "timestamp_time_zone_expression" to a timestamp. The displacement part of the timestamp with the time zone will be ignored.</string>
  78. <string id="_date2timestampTZ.syntax">date2timestampTZ (&#160;date_expression&#160;)</string>
  79. <string id="_date2timestampTZ.tip">Converts "date_expression" to a timestamp with a time zone. The time and time zone parts of the timestamp will equal zero.</string>
  80. <string id="_timestampTZ2date.syntax">timestampTZ2date (&#160;timestamp_time_zone_expression&#160;)</string>
  81. <string id="_timestampTZ2date.tip">Converts "timestamp_time_zone_expression" to a date. The time and time zone parts of the timestamp will be ignored.</string>
  82. <string id="_add_days.syntax">_add_days (&#160;timestamp_expression&#160;,&#160;integer_expression&#160;)</string>
  83. <string id="_add_days.tip">Returns the datetime resulting from adding "integer_expression" days to "timestamp_expression".</string>
  84. <string id="_add_days.example.1">Example: _add_days (&#160;2007-01-14 00:00:00.000&#160;,&#160;3&#160;)</string>
  85. <string id="_add_days.result.1">Result: 2007-01-17 00:00:00.000</string>
  86. <string id="_add_months.syntax">_add_months (&#160;timestamp_expression&#160;,&#160;integer_expression&#160;)</string>
  87. <string id="_add_months.tip">Returns the datetime resulting from adding "integer_expression" months to "timestamp_expression".</string>
  88. <string id="_add_years.syntax">_add_years (&#160;timestamp_expression&#160;,&#160;integer_expression&#160;)</string>
  89. <string id="_add_years.tip">Returns the datetime resulting from adding "integer_expression" years to "timestamp_expression".</string>
  90. <string id="_age.syntax">_age (&#160;timestamp_expression&#160;)</string>
  91. <string id="_age.tip">Returns a number by subtracting "timestamp_expression" from today's date.</string>
  92. <string id="_age.example.1">Example: _age ([Query1].[Date]), where [Query1].[Date] is March 2, 2004, and today is July 8, 2009</string>
  93. <string id="_age.result.1">Result: 50,406, where 5 is the number of years, 04 is the number of months, and 06 is the number of days.</string>
  94. <string id="_day_of_week.syntax">_day_of_week (&#160;timestamp_expression&#160;,&#160;integer_expression&#160;) </string>
  95. <string id="_day_of_week.tip">Returns the day of the week (between 1 and 7) for "timestamp_expression" where "integer_expression" indicates which day of that week is day 1. To determine "integer_expression", choose the day of the week and count from Monday; for example, if you choose Wednesday, "integer_expression" would be 3 because Wednesday is the third day from Monday.</string>
  96. <string id="_day_of_week.example.1">Example: _day_of_week (&#160;2009-01-01&#160;,&#160;7&#160;), where 7 means that Sunday is the first day of the week.</string>
  97. <string id="_day_of_week.result.1">Result: 5</string>
  98. <string id="_day_of_year.syntax">_day_of_year (&#160;timestamp_expression&#160;)</string>
  99. <string id="_day_of_year.tip">Returns the ordinal for the day of the year in "timestamp_ expression" (1 to 366). Also known as Julian day.</string>
  100. <string id="_days_between.syntax">_days_between (&#160;timestamp_expression1&#160;,&#160;timestamp_expression2&#160;)</string>
  101. <string id="_days_between.tip">Returns a positive or negative number representing the number of days between "timestamp_expression1" and "timestamp_expression2". If "timestamp_expression1" &lt; "timestamp_expression2", the result will be a negative number.</string>
  102. <string id="_days_to_end_of_month.syntax">_days_to_end_of_month (&#160;timestamp_expression&#160;)</string>
  103. <string id="_days_to_end_of_month.tip">Returns a number representing the number of days remaining in the month represented by "timestamp_expression".</string>
  104. <string id="_first_of_month.syntax">_first_of_month (&#160;timestamp_expression&#160;)</string>
  105. <string id="_first_of_month.tip">Returns a datetime that is the first day of the month represented by "timestamp_expression".</string>
  106. <string id="_first_of_month.example.1">Example: _first_of_month (&#160;2009-05-04 00:00:00.000&#160;)</string>
  107. <string id="_first_of_month.result.1">Result: Returns 2009-05-01 00:00:00.000</string>
  108. <string id="_first_of_month.example.2">Example: _first_of_month (current_date)</string>
  109. <string id="_first_of_month.result.2">Result: Returns Jul 1, 2009 if the current date is July 30, 2009.</string>
  110. <string id="_last_of_month.syntax">_last_of_month (&#160;timestamp_expression&#160;)</string>
  111. <string id="_last_of_month.tip">Returns a datetime that is the last day of the month represented by "timestamp_expression".</string>
  112. <string id="_make_timestamp.syntax">_make_timestamp (&#160;integer_expression1&#160;,&#160;integer_expression2&#160;,&#160;integer_expression3&#160;)</string>
  113. <string id="_make_timestamp.tip">Returns a timestamp constructed from "integer_expression1" (the year), "integer_expression2" (the month), and "integer_expression3" (the day). The time portion defaults to 00:00:00.000 .</string>
  114. <string id="_months_between.syntax">_months_between (&#160;timestamp_expression1&#160;,&#160;timestamp_expression2&#160;)</string>
  115. <string id="_months_between.tip">Returns a positive or negative number representing the number of months between "timestamp_expression1" and "timestamp_expression2". If "timestamp_expression1" &lt; "timestamp_expression2", the result will be a negative number.</string>
  116. <string id="_week_of_year.syntax">_week_of_year (&#160;timestamp_expression&#160;)</string>
  117. <string id="_week_of_year.tip">Returns the week number (1-53) of the year for "timestamp_expression". According to the ISO 8601, week 1 of the year is the first week to contain a Thursday, which is equivalent to the first week containing January 4th. A week starts on a Monday (day 1) and ends on a Sunday (day 7).</string>
  118. <string id="_years_between.syntax">_years_between (&#160;timestamp_expression1&#160;,&#160;timestamp_expression2&#160;)</string>
  119. <string id="_years_between.tip">Returns a positive or negative integer representing the number of years between "timestamp_expression1" and "timestamp_expression2". If "timestamp_expression1" &lt; "timestamp_expression2", a negative value is returned.</string>
  120. <string id="_ymdint_between.syntax">_ymdint_between (&#160;timestamp_expression1&#160;,&#160;timestamp_expression2&#160;)</string>
  121. <string id="_ymdint_between.tip">Returns a number representing the difference between "timestamp_expression1" and "timestamp_expression2". This value has the form YYMMDD, where YY represents the number of years, MM represents the number of months, and DD represents the number of days.</string>
  122. <string id="_ymdint_between.example.1">Example: _ymdint_between (&#160;[Query1].[Date (close date)]&#160;,&#160;[Query1].[Date (ship date)]&#160;), where [Query1].[Date (close date)] is February 20, 2004, and [Query1].[Date (ship date)] is January 19, 2004.</string>
  123. <string id="_ymdint_between.result.1">Result: 101, where 1 is the number of months and 01 is the number of days.</string>
  124. <string id="_abs.syntax">abs (&#160;numeric_expression&#160;)</string>
  125. <string id="_abs.tip">Returns the absolute value of "numeric_expression". If "numeric_expression" is negative, a positive value is returned.</string>
  126. <string id="_ceiling.syntax">ceiling (&#160;numeric_expression&#160;)</string>
  127. <string id="_ceiling.tip">Returns the smallest integer that is greater than or equal to "numeric_expression".</string>
  128. <string id="_exp.syntax">exp (&#160;numeric_expression&#160;)</string>
  129. <string id="_exp.tip">Returns the constant 'e' raised to the power of "numeric_expression". The constant 'e' is the base of the natural logarithm.</string>
  130. <string id="_exp.example.1" type="String">Example: exp (&#160;2&#160;)</string>
  131. <string id="_exp.result.1" type="String">Result: 7.389056</string>
  132. <string id="_floor.syntax">floor (&#160;numeric_expression&#160;)</string>
  133. <string id="_floor.tip">Returns the largest integer that is less than or equal to "numeric_expression".</string>
  134. <string id="_ln.syntax">ln (&#160;numeric_expression&#160;)</string>
  135. <string id="_ln.tip">Returns the natural logarithm of "numeric_expression".</string>
  136. <string id="_round.syntax">round (&#160;numeric_expression&#160;,&#160;integer_expression&#160;)</string>
  137. <string id="_round.tip">Returns "numeric_expression" rounded to the nearest value with "integer_expression" significant digits to the right of the decimal point. If "integer_expression" is negative, "numeric_expression" is rounded to the nearest absolute value with "integer_expression" significant digits to the left of the decimal point. Rounding takes place before data formatting is applied.</string>
  138. <string id="_round.example.1">Example: round (125, -1)</string>
  139. <string id="_round.result.1">Result: 130</string>
  140. <string id="_sqrt.syntax">sqrt (&#160;numeric_expression&#160;)</string>
  141. <string id="_sqrt.tip">Returns the square root of "numeric_expression". "Numeric_expression" must not be a negative value.</string>
  142. <string id="_character_length.syntax">character_length (&#160;string_expression&#160;)</string>
  143. <string id="_character_length.tip">Returns the number of characters in "string_expression".</string>
  144. <string id="_extract.syntax">extract (&#160;date_part_expression&#160;,&#160;datetime_expression&#160;)</string>
  145. <string id="_extract.tip">Returns an integer representing the value of "date_part_expression" in "datetime_expression". "Date_part_expression" could be the year, month, day, hour, minute, or second.</string>
  146. <string id="_extract.example.1" type="String">Example: extract (&#160;'year'&#160;,string2timestamp(&#160;'2003-03-03 16:40:15.535'&#160;))</string>
  147. <string id="_extract.result.1" type="String">Result: 2003</string>
  148. <string id="_extract.example.2" type="String">Example: extract (&#160;'hour'&#160;,string2timestamp(&#160;'2003-03-03 16:40:15.535'&#160;))</string>
  149. <string id="_extract.result.2" type="String">Result: 16</string>
  150. <string id="_lower.syntax">lower (&#160;string_expression&#160;)</string>
  151. <string id="_lower.tip">Returns "string_expression" with all uppercase characters converted to lowercase. This function appears in the Bursted Sales Performance Report sample report in the GO Data Warehouse (query) package.</string>
  152. <string id="_octet_length.syntax">octet_length (&#160;string_expression&#160;)</string>
  153. <string id="_octet_length.tip">Returns the number of bytes in "string_expression".</string>
  154. <string id="_position.syntax">position (&#160;string_expression1&#160;,&#160;string_expression2&#160;)</string>
  155. <string id="_position.tip">Returns the integer value representing the starting position of "string_expression1" in "string_expression2". Returns 0 if "string_expression1" is not found.</string>
  156. <string id="_substring.syntax">substring (&#160;string_expression&#160;,&#160;integer_expression1&#160;,&#160;integer_expression2&#160;)</string>
  157. <string id="_substring.tip">Returns the substring of "string_expression" that starts at position "integer_expression1" for "integer_expression2" characters or to the end of "string_expression" if "integer_expression2" is -1. The first character in "string_expression" is at position 1.</string>
  158. <string id="_substring.example.1" type="String">substring (&#160;[Sales (analysis)].[Sales staff].[Sales staff].[Sales staff].[Position code], 3&#160;,&#160;5&#160;)</string>
  159. <string id="_substring.result.1" type="String">Result: Returns characters 3 to 7 of the position codes.</string>
  160. <string id="_trim.syntax">trim (&#160;trim_what_expression&#160;,&#160;match_character_expression&#160;,&#160;string_expression&#160;)</string>
  161. <string id="_trim.tip">Returns "string_expression" trimmed of any leading and trailing blanks or trimmed of the character specified by "match_character_expression". "Trim_what_expression" may be "leading", "trailing", or "both" (default). "Match_character_expression" can be an empty string to trim blanks or can specify a character to be trimmed.</string>
  162. <string id="_upper.syntax">upper (&#160;string_expression&#160;)</string>
  163. <string id="_upper.tip">Returns "string_expression" with all lowercase characters converted to uppercase.</string>
  164. <string id="_status.syntax">status (&#160;expression&#160;)</string>
  165. <string id="_status.tip">Returns the status of "expression". Possible values are: 0 - OK, 1 - null, 2 - not available, 4 - divide by zero, 8 - overflow, 16 - security, 32 - error, 64 - new, 128 - sample, 256 - pending.</string>
  166. </section>
  167. </component>
  168. </stringTable>