WorkunitExists.xml 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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="WorkunitExists">
  5. <title>WorkunitExists</title>
  6. <para><emphasis role="bold">STD.System.Workunit.WorkunitExists(</emphasis>
  7. <emphasis> wuid </emphasis> <emphasis role="bold">[</emphasis> <emphasis>,
  8. online </emphasis> <emphasis role="bold">] [</emphasis> <emphasis>, archived
  9. </emphasis> <emphasis role="bold">] )</emphasis></para>
  10. <informaltable colsep="0" frame="none" rowsep="0">
  11. <tgroup cols="2">
  12. <colspec colwidth="80.50pt" />
  13. <colspec />
  14. <tbody>
  15. <row>
  16. <entry><emphasis>wuid</emphasis></entry>
  17. <entry>A null-terminated string containing the WorkUnit IDentifier
  18. to locate.</entry>
  19. </row>
  20. <row>
  21. <entry><emphasis>online</emphasis></entry>
  22. <entry>Optional. A Boolean true/false value specifying whether the
  23. search is performed online. If omitted, the default is TRUE.</entry>
  24. </row>
  25. <row>
  26. <entry><emphasis>archived</emphasis></entry>
  27. <entry>Optional. A Boolean true/false value specifying whether the
  28. search is performed in the archives. If omitted, the default is
  29. FALSE.</entry>
  30. </row>
  31. <row>
  32. <entry>Return:<emphasis> </emphasis></entry>
  33. <entry>WorkunitExists returns a BOOLEAN value.</entry>
  34. </row>
  35. </tbody>
  36. </tgroup>
  37. </informaltable>
  38. <para>The <emphasis role="bold">WorkunitExists </emphasis>function returns
  39. whether the <emphasis>wuid</emphasis> exists.</para>
  40. <para>Example:</para>
  41. <programlisting format="linespecific">OUTPUT(STD.System.Workunit.WorkunitExists('W20070308-164946'));</programlisting>
  42. </sect1>