SuperFileContents.xml 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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="SuperFileContents">
  5. <title>SuperFileContents</title>
  6. <para><emphasis role="bold">STD.File.SuperFileContents<indexterm>
  7. <primary>STD.File.SuperFileContents</primary>
  8. </indexterm><indexterm>
  9. <primary>File.SuperFileContents</primary>
  10. </indexterm><indexterm>
  11. <primary>SuperFileContents</primary>
  12. </indexterm>(</emphasis> <emphasis> </emphasis> <emphasis role="bold">
  13. </emphasis> <emphasis>filename </emphasis> <emphasis
  14. role="bold">[</emphasis> <emphasis>, recurse</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>filename</emphasis></entry>
  23. <entry>A null-terminated string containing the logical name of the
  24. SuperFile.</entry>
  25. </row>
  26. <row>
  27. <entry><emphasis>recurse</emphasis></entry>
  28. <entry>A boolean flag indicating whether to expand nested SuperFiles
  29. withinthe filename so that only logical files are returned. If
  30. omitted, the default is FALSE.</entry>
  31. </row>
  32. <row>
  33. <entry>Return:<emphasis> </emphasis></entry>
  34. <entry>SuperFileContents returns a dataset in the following
  35. format:</entry>
  36. </row>
  37. </tbody>
  38. </tgroup>
  39. </informaltable>
  40. <programlisting>EXPORT FsLogicalFileNameRecord := RECORD
  41. STRING name;
  42. END;</programlisting>
  43. <para>The <emphasis role="bold">SuperFileContents </emphasis>function
  44. returns a list of the logical filenames of all the sub-files in the
  45. <emphasis>filename</emphasis>.</para>
  46. <para>This function is not included in a superfile transaction.</para>
  47. <para>Example:</para>
  48. <programlisting format="linespecific">OUTPUT(STD.File.SuperFileContents('~CLASS::RT::SF::Daily'));
  49. //returns all files in the SuperFile</programlisting>
  50. </sect1>