Track info
Each passing record can be extended by a track info for easy querying in database. The track info is collected as an additional parameter and stored with each passing record.
There are four of them — --trackId, --trackName, --trackLayoutId and
--trackLayoutName — each with an AMMC_* environment variable, listed on
Parameters.
All parameters are optional and can be used separately. The value is stored in a single database column as JSON. MySql and Postgres can handle this. SQL query language can parse the value in the where statement.