SuperFileExists.xml 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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="SuperFileExists">
  5. <title>SuperFileExists</title>
  6. <para><emphasis role="bold">STD.File.SuperFileExists<indexterm>
  7. <primary>STD.File.SuperFileExists</primary>
  8. </indexterm><indexterm>
  9. <primary>File.SuperFileExists</primary>
  10. </indexterm><indexterm>
  11. <primary>SuperFileExists</primary>
  12. </indexterm>(</emphasis> <emphasis> filename </emphasis> <emphasis
  13. role="bold">)</emphasis></para>
  14. <informaltable colsep="0" frame="none" rowsep="0">
  15. <tgroup cols="2">
  16. <colspec colwidth="80.50pt" />
  17. <colspec />
  18. <tbody>
  19. <row>
  20. <entry><emphasis>filename</emphasis></entry>
  21. <entry>A null-terminated string containing the logical name of the
  22. superfile.</entry>
  23. </row>
  24. <row>
  25. <entry>Return:<emphasis> </emphasis></entry>
  26. <entry>SuperFileExists returns a BOOLEAN value.</entry>
  27. </row>
  28. </tbody>
  29. </tgroup>
  30. </informaltable>
  31. <para>The <emphasis role="bold">SuperFileExists </emphasis>function returns
  32. TRUE if the specified <emphasis>filename</emphasis> is present in the
  33. Distributed File Utility (DFU) and is a SuperFile. It returns FALSE if the
  34. <emphasis>filename</emphasis> does exist in the DFU but is not a SuperFile
  35. (i.e. is a normal DATASET—use the STD.File.FileExists function to detect
  36. their presence or absence).</para>
  37. <para>This function is not included in a superfile transaction.</para>
  38. <para>Example:</para>
  39. <programlisting format="linespecific">A := STD.File.SuperFileExists('~CLASS::RT::IN::SF1');</programlisting>
  40. </sect1>