etlp - Perl script to initiate an ETLp job run
etlp <config file> <section>
The name of the configuration file... The file name must end in .conf, although you are not required to use this suffix when passing the parameter.
This is the section with the configuration file that contains the job definition
This script assumes the following directory structure:
/<app_root> | +---/bin | | | +----etlp (symbolic link to deployed etlp) | +---/conf | | | +----env.cfg | | | +----<source>.cfg | | | +----/control | | | +----<file>.ctl | +---/locks | +---/log +------------+------------------------------------------------+ | Directory | Purpose | +------------+------------------------------------------------+ | <app_root> | The name of the top-ldev directory | | bin | Directory for scripts | | conf | pipeline configuration files | | control | control files. Define data file formats | | locks | Prevents other files instances of the job | | | from running | | log | Records output of the Pipeline processes | +------------+------------------------------------------------+ +---------------+----------------------------------------------+ | File | Purpose | +---------------+----------------------------------------------+ | etlp | This script | | env.conf | Defines the environment. Make sure this is | | | only readable by the OS account: | | | chmod 600 env.cfg | | <source>.conf | Configuration of the pipeline processing | | <file>.ctl | Defines the data file fileds and validation | | | rules | +---------------+----------------------------------------------+
etlp sales eastern_region
This is the same as
etlp sales.conf eastern_region
Copyright 2010 Redbone Systems Ltd
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
The terms are in the LICENSE file that accompanies this application
To install ETLp, copy and paste the appropriate command in to your terminal.
cpanm
cpanm ETLp
CPAN shell
perl -MCPAN -e shell install ETLp
For more information on module installation, please visit the detailed CPAN module installation guide.