WorkunitFilesWritten.xml 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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="WorkunitFilesWritten">
  5. <title>WorkunitFilesWritten</title>
  6. <para><emphasis
  7. role="bold">STD.System.Workunit.WorkunitFilesWritten <indexterm>
  8. <primary>STD.System.Workunit.WorkunitFilesWritten</primary>
  9. </indexterm>
  10. <indexterm>
  11. <primary>System.Workunit.WorkunitFilesWritten</primary>
  12. </indexterm>
  13. <indexterm>
  14. <primary>Workunit.WorkunitFilesWritten</primary>
  15. </indexterm>
  16. <indexterm>
  17. <primary>WorkunitFilesWritten</primary>
  18. </indexterm>
  19. (</emphasis> <emphasis>
  20. wuid </emphasis> <emphasis role="bold">)</emphasis></para>
  21. <informaltable colsep="1" frame="all" rowsep="1">
  22. <tgroup cols="2">
  23. <colspec colwidth="80.50pt" />
  24. <colspec />
  25. <tbody>
  26. <row>
  27. <entry><emphasis>wuid</emphasis></entry>
  28. <entry>A null-terminated string containing the WorkUnit
  29. IDentifier.</entry>
  30. </row>
  31. <row>
  32. <entry>Return:<emphasis> </emphasis></entry>
  33. <entry>WorkunitFilesWritten returns a DATASET value.</entry>
  34. </row>
  35. </tbody>
  36. </tgroup>
  37. </informaltable>
  38. <para>The <emphasis role="bold">WorkunitFilesWritten </emphasis>function
  39. returns a DATASET with this format:</para>
  40. <programlisting>EXPORT WsFileRead := RECORD
  41. STRING name{MAXLENGTH(256)};
  42. STRING10 graph;
  43. STRING cluster{MAXLENGTH(64)};
  44. UNSIGNED4 kind;
  45. END;</programlisting>
  46. <para>Each record in the returned dataset specifies a file written by the
  47. workunit.</para>
  48. <para>Example:</para>
  49. <programlisting format="linespecific">OUTPUT(STD.System.Workunit.WorkunitFilesWritten('W20070308-164946'));
  50. /* produces results that look like this
  51. 'rttest::testfetch','graph1','thor','0'
  52. */</programlisting>
  53. </sect1>