CEMLI and Data Fix File Header Format

Learn the correct format for CEMLI file headers.

When inserting a header into a CEMLI file, ensure that the header uses the following format:

$Header: <file name> <version> <date> [<time>] <coder name> $

where:

  • <file name> is the CEMLI file name.

  • <version> is the CEMLI file version number.

  • <date> is the date when the CEMLI file was last changed, in one of the following formats - MM/DD/YYYY or YYYY/MM/DD, where MM is the month, DD is the day, and YYYY is the year.

  • <time> (optional) is the time at which the CEMLI file was last changed, in the format HH:MM, where HH is the hour and MM is the minute.

  • <developer name> is the name of the CEMLI file developer, with no spaces or blank characters.

For example:

$Header: XXAKDAPREG.fmb 115.3 2006/05/08 15:46 matery $

When including the header in SQL scripts, shell scripts, and other text files, use REM, # or similar comment syntax, for example:

REM %Header XXGERTTLS.sql 115.23.2 07/14/2008 joe Exp $
# $Header: XXREP.ldt 115.30 2009/08/24 13:32:38 mondev $

If your CEMLI file is a form, which has the extension .fmb, include the header using the FDRCSID function call in the When-New-Form-Instance Trigger.

If the file is a library, with extension .pll, include the header when using the FDRCSID function call in a program unit. For example:

FDRCSID('$Header: XXPPSND.fmb 120.6.120.3 2008/08/01 09:42 joe ship$')

For reports, with extension .rdf, include the header in the comment field property of the report module.