BltInFunc-ASCII.xml 3.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
  3. "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
  4. <sect1 id="ASCII">
  5. <title>ASCII</title>
  6. <para><emphasis role="bold">ASCII<indexterm>
  7. <primary>ASCII</primary>
  8. </indexterm><indexterm>
  9. <primary>ASCII function</primary>
  10. </indexterm>(</emphasis><emphasis>recordset</emphasis>
  11. <emphasis role="bold">[, UNORDERED | ORDERED(</emphasis> <emphasis>bool </emphasis><emphasis role="bold">) ] [, STABLE | UNSTABLE ] [, PARALLEL [ (</emphasis> <emphasis>numthreads </emphasis><emphasis role="bold">) ] ] [, ALGORITHM(</emphasis> <emphasis>name </emphasis><emphasis role="bold">) ]</emphasis>
  12. <emphasis role="bold">)</emphasis></para>
  13. <para><informaltable colsep="1" frame="all" rowsep="1">
  14. <tgroup cols="2">
  15. <colspec colwidth="78.75pt" />
  16. <colspec colwidth="310.05pt" />
  17. <tbody>
  18. <row>
  19. <entry><emphasis>recordset</emphasis></entry>
  20. <entry>The set of records to process. This may be the name of a
  21. dataset or a record set derived from some filter condition, or any
  22. expression that results in a derived record set.</entry>
  23. </row>
  24. <row>
  25. <entry><emphasis role="bold">UNORDERED</emphasis></entry>
  26. <entry>Optional. Specifies the output record order is not significant.</entry>
  27. </row>
  28. <row>
  29. <entry><emphasis role="bold">ORDERED</emphasis></entry>
  30. <entry>Specifies the significance of the output record order.</entry>
  31. </row>
  32. <row>
  33. <entry><emphasis>bool</emphasis></entry>
  34. <entry>When False, specifies the output record order is not significant. When True, specifies the default output record order.</entry>
  35. </row>
  36. <row>
  37. <entry><emphasis role="bold">STABLE</emphasis></entry>
  38. <entry>Optional. Specifies the input record order is significant.</entry>
  39. </row>
  40. <row>
  41. <entry><emphasis role="bold">UNSTABLE</emphasis></entry>
  42. <entry>Optional. Specifies the input record order is not significant.</entry>
  43. </row>
  44. <row>
  45. <entry><emphasis role="bold">PARALLEL</emphasis></entry>
  46. <entry>Optional. Try to evaluate this activity in parallel.</entry>
  47. </row>
  48. <row>
  49. <entry><emphasis>numthreads</emphasis></entry>
  50. <entry>Optional. Try to evaluate this activity using <emphasis>numthreads</emphasis> threads.</entry>
  51. </row>
  52. <row>
  53. <entry><emphasis role="bold">ALGORITHM</emphasis></entry>
  54. <entry>Optional. Override the algorithm used for this activity.</entry>
  55. </row>
  56. <row>
  57. <entry><emphasis>name</emphasis></entry>
  58. <entry>The algorithm to use for this activity. Must be from the list of supported algorithms for the SORT function's STABLE and UNSTABLE options.</entry>
  59. </row>
  60. <row>
  61. <entry>Return:</entry>
  62. <entry>ASCII returns a set of records.</entry>
  63. </row>
  64. </tbody>
  65. </tgroup>
  66. </informaltable></para>
  67. <para>The <emphasis role="bold">ASCII </emphasis>function returns the
  68. <emphasis>recordset </emphasis>with all STRING fields translated from EBCDIC
  69. to ASCII.</para>
  70. <para>Example:</para>
  71. <para><programlisting>AsciiRecs := ASCII(SomeEBCDICInput);</programlisting></para>
  72. <para>See Also: <link linkend="EBCDIC">EBCDIC</link></para>
  73. </sect1>