• 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

    Listcat

    The listcat task (listcat) extracts file info from LISTCAT and LISTDS reports and stores them on database tables dbo.ianus_listcat and dbo.ianus_listds.

    The following elements configure the generate task:

    Element Purpose
    listcat Adds a LISTCAT input file
    listds Adds a LISTDS input file

    The following attributes configure the task:

    Attribute Type Purpose Default
    db string Name of the database to store info
    asa bool When true input files are treated as ASA reports false
    init bool When true Ianus initializes the database tables storing the information extracted true

    Example

    <job multithread="false">
    	<listcat asa="true" db="GENERATE_DB" init="true">
    		<listcat>C:\Tmp\LISTCAT\TTA51.LISTC-1</listcat>
    		<listcat>C:\Tmp\LISTCAT\TTA51.LISTC-2</listcat>
    		<listcat>C:\Tmp\LISTCAT\TTA51.LISTC-3</listcat>
    		<listcat>C:\Tmp\LISTCAT\TTA51.LISTC-4</listcat>
    		<listcat>C:\Tmp\LISTCAT\TTA51.LISTC-5</listcat>
    		<listcat>C:\Tmp\LISTCAT\TTA51.LISTC-6</listcat>
    		<listcat>C:\Tmp\LISTCAT\TTA51.LISTC-7</listcat>
    		<listcat>C:\Tmp\LISTCAT\TTA51.LISTC-8</listcat>
    		<listcat>C:\Tmp\LISTCAT\TTA51.LISTC-9</listcat>
    		<listcat>C:\Tmp\LISTCAT\TTA51.LISTC-10</listcat>
    		<listcat>C:\Tmp\LISTCAT\TTA51.LISTC-11</listcat>
    		<listcat>C:\Tmp\LISTCAT\TTA51.LISTC-12</listcat>
    		<listcat>C:\Tmp\LISTCAT\TTA51.LISTC-13</listcat>
    		<listcat>C:\Tmp\LISTCAT\TTA51.LISTC-14</listcat>
    		<listcat>C:\Tmp\LISTCAT\TTA51.LISTC-15</listcat>
    		<listcat>C:\Tmp\LISTCAT\TTA51.LISTC-16</listcat>
    		<listcat>C:\Tmp\LISTCAT\TTA51.LISTC-17</listcat>
    		<listcat>C:\Tmp\LISTCAT\TTA51.LISTC-18</listcat>
    		<listcat>C:\Tmp\LISTCAT\TTA51.LISTC-19</listcat>
    		<listcat>C:\Tmp\LISTCAT\TTA51.LISTC-20</listcat>
    		<listcat>C:\Tmp\LISTCAT\TTA51.LISTC-21</listcat>
    		<listcat>C:\Tmp\LISTCAT\TTA51.LISTC-22</listcat>
    		<listcat>C:\Tmp\LISTCAT\TTA51.LISTC-23</listcat>
    		<listcat>C:\Tmp\LISTCAT\TTA51.LISTC-24</listcat>
    	</listcat></job>
    </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
    Warnings 1 Task completed with warnings
    Errors 2 Task completed with errors
    Aborted 9 Task cannot be executed
    In This Article
    Back to top Copyright 2021 - Hewlett-Packard Enterprise