LogString.xml 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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="LogString">
  5. <title>LogString</title>
  6. <para><emphasis role="bold">STD.System.Job.LogString<indexterm>
  7. <primary>STD.System.Job.LogString</primary>
  8. </indexterm> <indexterm>
  9. <primary>System.Job.LogString</primary>
  10. </indexterm> <indexterm>
  11. <primary>Job.LogString</primary>
  12. </indexterm> <indexterm>
  13. <primary>LogString</primary>
  14. </indexterm>( </emphasis> <emphasis>message </emphasis> <emphasis
  15. role="bold">)</emphasis></para>
  16. <informaltable colsep="1" frame="all" rowsep="1">
  17. <tgroup cols="2">
  18. <colspec colwidth="80.50pt" />
  19. <colspec />
  20. <tbody>
  21. <row>
  22. <entry><emphasis>message </emphasis></entry>
  23. <entry>A string expression containing the text to place in the log
  24. file.</entry>
  25. </row>
  26. <row>
  27. <entry>Return:<emphasis> </emphasis></entry>
  28. <entry>LogString returns an INTEGER value.</entry>
  29. </row>
  30. </tbody>
  31. </tgroup>
  32. </informaltable>
  33. <para>The <emphasis role="bold">LogString </emphasis>function outputs
  34. “USER:” followed by the <emphasis>message</emphasis> text to the eclagent or
  35. Roxie log file and returns the length of the text written to the
  36. file.</para>
  37. <para>Example:</para>
  38. <programlisting format="linespecific">A := STD.System.Job.LogString('The text message to log');
  39. //places USER:The text message to log
  40. //in the log file </programlisting>
  41. </sect1>