ClearSuperFile.xml 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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="ClearSuperFile">
  5. <title>ClearSuperFile</title>
  6. <para><emphasis role="bold">STD.File.ClearSuperFile<indexterm>
  7. <primary>STD.File.ClearSuperFile</primary>
  8. </indexterm><indexterm>
  9. <primary>File.ClearSuperFile</primary>
  10. </indexterm><indexterm>
  11. <primary>ClearSuperFile</primary>
  12. </indexterm>(</emphasis> <emphasis> superfile, </emphasis> <emphasis
  13. role="bold">[</emphasis> <emphasis>, delete </emphasis> <emphasis
  14. role="bold">] )</emphasis></para>
  15. <informaltable colsep="1" frame="all" rowsep="1">
  16. <tgroup cols="2">
  17. <colspec colwidth="80.50pt" />
  18. <colspec />
  19. <tbody>
  20. <row>
  21. <entry><emphasis>superfile</emphasis></entry>
  22. <entry>A null-terminated string containing the logical name of the
  23. superfile.</entry>
  24. </row>
  25. <row>
  26. <entry><emphasis>delete</emphasis></entry>
  27. <entry>A boolean flag specifying whether to delete the sub-files
  28. from disk or just remove them from the <emphasis>superfile
  29. </emphasis>list of files. If omitted, the default is to just remove
  30. them from the <emphasis>superfile </emphasis>list of files.</entry>
  31. </row>
  32. <row>
  33. <entry>Return:<emphasis> </emphasis></entry>
  34. <entry>Null.</entry>
  35. </row>
  36. </tbody>
  37. </tgroup>
  38. </informaltable>
  39. <para>The <emphasis role="bold">ClearSuperFile </emphasis>function removes
  40. all sub-files from the list of files comprising the
  41. <emphasis>superfile</emphasis>.</para>
  42. <para>This function may be included in a superfile transaction.</para>
  43. <para>Example:</para>
  44. <programlisting format="linespecific">SEQUENTIAL(
  45. STD.File.StartSuperFileTransaction(),
  46. STD.File.ClearSuperFile('MySuperFile'),
  47. STD.File.FinishSuperFileTransaction()
  48. );</programlisting>
  49. </sect1>