filt_data_save
Purpose:
-
Process test data files from test cells and store the data in the weigh room database CVS and SER tables.
Enter:
-
filt_data_save <site> <directory_name> &
Where:
-
site
Specify the three-letter site acronym used for filter IDs.
directory_name
Specify the full path to the directory containing subdirectories for test cell data files.
NOTE: This directory must have sub-directories ready, hold, and complete.
Example:
-
filt_data_save CTC /data/filterdata/ &
The above example saves test data read from files within the /data/filterdata/ready/cell_num directories to the CVS and SER weighroom database tables. Data records within the weighroom database must exist for the specified site and the filter_id within the data file. If the test data file is successfully processed, the file will be moved to the /data/filterdata/complete/cell_num directory. If an error occurs while processing the test data file, the processed data file will be moved to the /data/filterdata/hold/cell_num directory. No retries will be attempted on files moved to the /data/filterdata/hold/cell_num directories.
Notes:
-
Files are moved to the hold directory if processing errors occur; successful files are moved to the complete directory. No retries are attempted on errors.