• 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

    Include Files

    Using the include element it is possible to include other XML files inside an environment file.

    The include element can be specified inside any element of the environment file. Its value defines the name of the file to include. If the file path is not absolute, it is searched in the same directory of the source environment file.

    The attributes type indicates the nature of include code:

    • xml (default)
    • text

    Example

    Example
    <environment xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xsi:noNamespaceSchemaLocation="..\..\Environment.xsd">
      
      <include>%COMPUTERNAME%.datasources.xml</include>
      
      <configuration>
      
        <tracking>
          <enabled>true</enabled>
          <datasource>IANUS</datasource>
          <log>true</log>
        </tracking>
      
      </configuration>
    </environment> 
    
    In This Article
    Back to top Copyright 2021 - Hewlett-Packard Enterprise