| $$MFE(EVENT,MFN,EDT,CODE) | 
Given the record-level event code, MFN contorl ID,
Effective Date/Time and primary key value, generate an MFE segment or return
an error message if a required parameter has not been passed.
 
 | 
| VARIABLES | 
TYPE | 
VARIABLES DESCRIPTION | 
 
EVENT | 
Input | 
Record-level event code.  If none is supplied, a
default of MAD (always add record to master file) is employed.
 
 | 
MFN | 
Input | 
MFN contorl ID.  If none is supplied, a default of
NULL is employed.
 
 | 
EDT | 
Input | 
Effective Date/Time.  If none is supplied, a default
of the current date and time is employed (FileMan format is expected)
 
 | 
FUNCTION RETURNS | 
Output | 
MFE segment string sub-delimited by HLFS, otherwise
"-1^"_ERROR MESSAGE
 
 | 
 
 |