SwapSuperFile

STD.File.SwapSuperFile( superfile1, superfile2 )

superfile1A null-terminated string containing the logical name of the superfile.
superfile2A null-terminated string containing the logical name of the superfile.
Return: Null.

The SwapSuperFile function moves all sub-files from superfile1 to superfile2 and vice versa.

This function may be included in a superfile transaction.

Example:

SEQUENTIAL(
 STD.File.StartSuperFileTransaction(),
 STD.File.SwapSuperFile('MySuperFile','YourSuperFile'),
 STD.File.FinishSuperFileTransaction()
);