PURPOSE

To make a copy of a FMS file and optionally open or create the output file.

SYNOPSIS

CALL FMSCPY (LUA, NAME, LUB)

INPUT PARAMETERS

OUTPUT PARAMETERS

FMS PARAMETERS

The following FMS Parameters are especially important to this routine:
Parameter Description
IEXIST Use existing file

DESCRIPTION:

This subroutine makes a copy of the file described by LUA and places the contents into the file described by LUB. After this subroutine exits, the two files LUA and LUB are identical.

If file LUB is not opened, this routine will create and/or open it, using the name specified.

If file LUB is already opened, the contents of LUA are copied to LUB. When LUB is open, it must have the same structure as the input file LUA. Specifically the following must match:

If any of these conditions are not met, an error results.