Causes records containing errors to be written to the file (called the record log file) with the file name specified after this command. This command only used for fixed-format ASCII, free-format ASCII, and DSNTIAUL file formats. The syntax is:
BAD_REC_FILE = filename;
where filename is the name of the file, including extension and path, for the record log file. If you don't specify a path, the record log file is put in your current directory.
If a record contains multiple errors, a copy of that record is written to the record log file for each error.
If this batch command is used for a batch import of a file type other than DSNTIAUL, Free- or Fixed-format ASCII file, then a warning is generated as a reminder that a record log file is not generated for the import of other file types.
For example:
BAD_REC_FILE = C:\LOGFILES\BATCH.BRF;
saves records with errors to the file batch.brf.