WorkunitFilesRead.xml 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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="WorkunitFilesRead">
  5. <title>WorkunitFilesRead</title>
  6. <para><emphasis
  7. role="bold">STD.System.Workunit.WorkunitFilesRead <indexterm>
  8. <primary>STD.System.Workunit.WorkunitFilesRead</primary>
  9. </indexterm>
  10. <indexterm>
  11. <primary>System.Workunit.WorkunitFilesRead</primary>
  12. </indexterm>
  13. <indexterm>
  14. <primary>Workunit.WorkunitFilesRead</primary>
  15. </indexterm>
  16. <indexterm>
  17. <primary>WorkunitFilesRead</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>WorkunitFilesRead returns a DATASET value.</entry>
  34. </row>
  35. </tbody>
  36. </tgroup>
  37. </informaltable>
  38. <para>The <emphasis role="bold">WorkunitFilesRead </emphasis>function
  39. returns a DATASET with this format:</para>
  40. <programlisting>EXPORT WsFileRead := RECORD
  41. STRING name{MAXLENGTH(256)};
  42. STRING cluster{MAXLENGTH(64)};
  43. BOOLEAN isSuper;
  44. UNSIGNED4 usage;
  45. END;</programlisting>
  46. <para>Each record in the returned dataset specifies a file read by the
  47. workunit.</para>
  48. <para>Example:</para>
  49. <programlisting format="linespecific">OUTPUT(STD.System.Workunit.WorkunitFilesRead('W20070308-164946'));
  50. /* produces results that look like this
  51. 'rttest::difftest::superfile','thor','true','1'
  52. 'rttest::difftest::base1','thor','false','1'
  53. */</programlisting>
  54. </sect1>