• User's guide
  • API
Search Results for

    Show / Hide Table of Contents
    • Concepts
    • Installation
    • Configuration
      • Overview
      • License
      • Datasources
      • Configuration
      • Plug-Ins
      • Codepages
      • Environment Variables
      • Include files
      • Example
    • Jobs
      • Jobs
      • Include
      • Multi-Threaded Jobs
      • Tracking Jobs
    • Tasks
      • Overview
      • Copy Check
      • Excel
      • File Compare
      • File Copy
      • File Dump
      • File Edit
      • File Format
      • Foreach
      • Generate
      • IMS/DB Data Conversion
      • JCL Submit
      • Listcat
      • Log
      • Powershell
      • Set Environment Variable
      • Sql
      • Stored Procedure Compare
      • Table Compare
      • Table Copy
      • Table Load
      • Table Scan
      • Table Unload
      • User Script
    • Layouts
      • Overview
      • XML Definition
      • COBOL Definition
      • Field data Types
    • Extensibility
      • Extending Ianus
      • Column Comparators
      • Column Converters
      • Record Comparators
      • File Editors
      • User Script
      • Record Layout Match Class
      • Column Layout Match Class
      • User Fields
      • Codepages
      • Resources
    • Usage
      • Command Line
      • Monitors
      • Programmatically
      • Unit Testing
    • Known Issues
    • Disclaimers

    Command Line

    Ianus can be executed using a command line interface.

    Environment variables

    The following environment variable affect Ianus behavior.

    Name Description
    IANUS_ENVIRONMENT Sets the path to the Ianus Environment Configuration File.

    Syntax

    ianus [options] <job_script>
    

    Command Line Options

    The following options can be provided on the Ianus command line.

    Option Description
    -e, --environment Load Ianus environment from file
    -s, --step Run step
    -V, --variables <n=v> Set one or more enviroment variable
    -E, --end-opts Ends options declaration
    -m, --progress-monitor Run in "progress monitor" mode
    -C, --monitor-collapse Collapse task progress monitor when task is completed
    -D, --monitor-dense Use dense progress monitors for tasks
    -d, --dashboard Run in "dashboard" mode
    -l, --log-mode Sets log mode to (normal, task, buffered)
    -c, --disable-file-cache Disable file repository cache
    -a, --disable-actions Disable pre/post task actions
    -t, --disable-multi-threading Disable multi-threaded job processing
    --list-jobs List all jobs tracked
    --list-running List running jobs
    --show-job Show job details
    --purge-completed Purge completed jobs
    --purge-selected Purge jobs based on filter
    -?, --help Shows help
    --version Shows Ianus version

    Environment file selection

    The environment file is selected as follows:

    • if option -e is provided, the environment file is loaded from the specified file, otherwise
    • if the environment variable IANUS_ENVIRONMENT is set, the environment file is loaded from the file specified in the environment value, otherwise
    • a file named ianus.xml is searched in the current directory

    Example

    C:\DATA> ianus -e environment.xml -V VAR1=A VAR2=X -E SCRIPT1.xml
    
    In This Article
    Back to top Copyright 2021 - Hewlett-Packard Enterprise