Setting Up the System for Fare Code Modifier Jobs

Specific steps must be taken before a Fare Code Modifier job can be run.

About this task

There are three different Client Fare Code Update Methods that can be used when creating fare code modifier jobs. All three require a log file directory. The Selective Fare Code Update method requires input and processed locations as it uses information provided in a batch file to make updates.

Procedure

  1. Create three directories:
    Input
    The directory in which batch files are located.
    Processed
    The directory to which batch files are moved after they have been processed.
    Log
    The directory in which job log files are created and saved.
    For ease of use, create these three directories as a sub-directories in a separate directory.
    • <path>\MyTemp\FareModifier\Input
    • <path>\MyTemp\FareModifier\Processed
    • <path>\MyTemp\FareModifier\Log
  2. Create a batch file:
    1. Create a new *.txt file.
      This can be done in Notepad.
    2. Define the client IDs or client codes and their fare type IDs separated by a comma (,) in the following format: <ClientId>, <FareTypeId>
      Specify one Client ID (or Client Code) and one fare ID on each line.
      For example:
      122455,10
      454555,10
      558865,12
      795655,11
      Only Client IDs or Client Codes can be used. Do not create a file that includes both Client IDs and Client Codes.
  3. Save the batch file to the Input directory location.