date_to_milli.ktr 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <transformation>
  3. <info>
  4. <name>date_to_milli</name>
  5. <description/>
  6. <extended_description/>
  7. <trans_version/>
  8. <directory>&#47;</directory>
  9. <log>
  10. <read/>
  11. <write/>
  12. <input/>
  13. <output/>
  14. <update/>
  15. <rejected/>
  16. <connection/>
  17. <table/>
  18. <use_batchid>Y</use_batchid>
  19. <use_logfield>N</use_logfield>
  20. </log>
  21. <maxdate>
  22. <connection/>
  23. <table/>
  24. <field/>
  25. <offset>0.0</offset>
  26. <maxdiff>0.0</maxdiff>
  27. </maxdate>
  28. <size_rowset>1000</size_rowset>
  29. <sleep_time_empty>1</sleep_time_empty>
  30. <sleep_time_full>1</sleep_time_full>
  31. <unique_connections>N</unique_connections>
  32. <feedback_shown>Y</feedback_shown>
  33. <feedback_size>5000</feedback_size>
  34. <using_thread_priorities>N</using_thread_priorities>
  35. <shared_objects_file/>
  36. <dependencies>
  37. </dependencies>
  38. <partitionschemas>
  39. </partitionschemas>
  40. <slaveservers>
  41. </slaveservers>
  42. <clusterschemas>
  43. </clusterschemas>
  44. <modified_user>-</modified_user>
  45. <modified_date>2007&#47;08&#47;18 10:59:28.562</modified_date>
  46. </info>
  47. <notepads>
  48. </notepads>
  49. <order>
  50. <hop> <from>Generate Rows</from><to>Get System Info</to><enabled>Y</enabled> </hop> <hop> <from>Get System Info</from><to>Calculator</to><enabled>Y</enabled> </hop> <hop> <from>Calculator</from><to>Select values</to><enabled>Y</enabled> </hop> <hop> <from>Select values</from><to>Text file output</to><enabled>Y</enabled> </hop> </order>
  51. <step>
  52. <name>Generate Rows</name>
  53. <type>RowGenerator</type>
  54. <description/>
  55. <distribute>Y</distribute>
  56. <copies>1</copies>
  57. <partitioning>
  58. <method>none</method>
  59. <field_name/>
  60. <schema_name/>
  61. </partitioning>
  62. <fields>
  63. </fields>
  64. <limit>100</limit>
  65. <cluster_schema/>
  66. <GUI>
  67. <xloc>67</xloc>
  68. <yloc>119</yloc>
  69. <draw>Y</draw>
  70. </GUI>
  71. </step>
  72. <step>
  73. <name>Get System Info</name>
  74. <type>SystemInfo</type>
  75. <description/>
  76. <distribute>Y</distribute>
  77. <copies>1</copies>
  78. <partitioning>
  79. <method>none</method>
  80. <field_name/>
  81. <schema_name/>
  82. </partitioning>
  83. <fields>
  84. <field>
  85. <name>now</name>
  86. <type>system date (variable)</type>
  87. </field>
  88. </fields>
  89. <cluster_schema/>
  90. <GUI>
  91. <xloc>192</xloc>
  92. <yloc>120</yloc>
  93. <draw>Y</draw>
  94. </GUI>
  95. </step>
  96. <step>
  97. <name>Select values</name>
  98. <type>SelectValues</type>
  99. <description/>
  100. <distribute>Y</distribute>
  101. <copies>1</copies>
  102. <partitioning>
  103. <method>none</method>
  104. <field_name/>
  105. <schema_name/>
  106. </partitioning>
  107. <fields> <meta> <name>now</name>
  108. <rename/>
  109. <type>Integer</type>
  110. <length>-2</length>
  111. <precision>-2</precision>
  112. </meta> </fields> <cluster_schema/>
  113. <GUI>
  114. <xloc>396</xloc>
  115. <yloc>120</yloc>
  116. <draw>Y</draw>
  117. </GUI>
  118. </step>
  119. <step>
  120. <name>Calculator</name>
  121. <type>Calculator</type>
  122. <description/>
  123. <distribute>Y</distribute>
  124. <copies>1</copies>
  125. <partitioning>
  126. <method>none</method>
  127. <field_name/>
  128. <schema_name/>
  129. </partitioning>
  130. <calculation><field_name>now_hmi</field_name>
  131. <calc_type>NVL</calc_type>
  132. <field_a>now</field_a>
  133. <field_b>now</field_b>
  134. <field_c/>
  135. <value_type>Date</value_type>
  136. <value_length>-1</value_length>
  137. <value_precision>-1</value_precision>
  138. <remove>N</remove>
  139. </calculation>
  140. <cluster_schema/>
  141. <GUI>
  142. <xloc>291</xloc>
  143. <yloc>120</yloc>
  144. <draw>Y</draw>
  145. </GUI>
  146. </step>
  147. <step>
  148. <name>Text file output</name>
  149. <type>TextFileOutput</type>
  150. <description/>
  151. <distribute>Y</distribute>
  152. <copies>1</copies>
  153. <partitioning>
  154. <method>none</method>
  155. <field_name/>
  156. <schema_name/>
  157. </partitioning>
  158. <separator>;</separator>
  159. <enclosure>&quot;</enclosure>
  160. <enclosure_forced>N</enclosure_forced>
  161. <header>Y</header>
  162. <footer>N</footer>
  163. <format>DOS</format>
  164. <compression>None</compression>
  165. <encoding/>
  166. <endedLine/>
  167. <file>
  168. <name>${Internal.Transformation.Filename.Directory}&#47;output</name>
  169. <is_command>N</is_command>
  170. <extention>txt</extention>
  171. <append>N</append>
  172. <split>N</split>
  173. <haspartno>N</haspartno>
  174. <add_date>N</add_date>
  175. <add_time>N</add_time>
  176. <pad>N</pad>
  177. <fast_dump>N</fast_dump>
  178. <splitevery>0</splitevery>
  179. </file>
  180. <fields>
  181. <field>
  182. <name>now</name>
  183. <type>Integer</type>
  184. <format>0</format>
  185. <currency/>
  186. <decimal/>
  187. <group/>
  188. <nullif/>
  189. <length>-1</length>
  190. <precision>0</precision>
  191. </field>
  192. <field>
  193. <name>now_hmi</name>
  194. <type>Date</type>
  195. <format/>
  196. <currency/>
  197. <decimal/>
  198. <group/>
  199. <nullif/>
  200. <length>-1</length>
  201. <precision>-1</precision>
  202. </field>
  203. </fields>
  204. <cluster_schema/>
  205. <GUI>
  206. <xloc>495</xloc>
  207. <yloc>120</yloc>
  208. <draw>Y</draw>
  209. </GUI>
  210. </step>
  211. <step_error_handling>
  212. </step_error_handling>
  213. </transformation>