• 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

    Log

    The log task (log) writes the user provided message to the job log. The following attributes configure the task:

    Attribute Type Purpose
    level string Defines the log attention level for the message. Refer to log levels for detailed description.

    Log Levels

    Value Description
    trace Trace level
    debug Debug level
    info Information level (default)
    warning Warning level
    error Error level
    fatal Fatal level

    Example

    <job>
      <log level="warn">ATTENTION: TEST TABLE IS BEING COPIED</log>
    
      <tablecopy source="QS" target="QS1" truncate="true">
        <source>dbo.TEST01</source>
        <target>dbo.TEST01_COPY</target>
      </tablecopy>
    
      <log>Table copied</log>
    </job>
    

    Status codes

    Status Status code Description
    Ready -1 Task is initialized, but not yet started
    Running -2 Task is running
    Success 0 Task completed successfully
    In This Article
    Back to top Copyright 2021 - Hewlett-Packard Enterprise