Default language.

Exporting a Specification  as XML or Batch


File-AID Explorer can be used to export specifications as XML or as batch.

Important

  • Only Related Extract, Related Loader and execution suite specifications can be exported as batch using

    Topaz Workbench

    .
  • Related Extract, Related Loader, Selection Criteria, Application Relationship, and execution suite specifications can be exported as XML using

    Topaz Workbench

    .
  • ConverterPro and ComparePro specifications require the legacy UI to be launched in order to export the specifications as batch or XML.

To export a specification in 

Topaz Workbench

  1. Do one of the following:


      • In File-AID Explorer, toggle open the desired application node, such as Related Loade Right-click the desired specification and select Export.
      • When viewing a list of specifications, right-click the specification and select Export.
        The Export File-AID/EX Specification dialog box appears.
  1. From the Export As list, select XML or Batch.
  2. Click Browse and navigate to the location in which to save the specification. When exporting Extract, Loader, Selection Criteria, or Application Relationships specifications in XML mode, specify a file. When exporting an execution suite, select a directory, and it will create multiple files in that location.

    Important

    Exporting a specification of any type in batch mode will create a directory. This directory will contain specifications in the same format as when exported in the XML mode, but will also contain a few other files, including a .bat file (for batch execution in Windows), a .sh file (for execution in UNIX), and other files required for future execution or import.

  3. Click Finish. The specification is exported to the selected location.

To execute a specification in batch mode

Important

The Topaz install with an Enterprise Data feature or the 

File-AID/EX

 standalone install, both, would create the system variable TED_BATCH_HOME, unless the variable is already defined.

Do one of the following:

  • To execute a specification in batch mode against the server in Topaz:
    • Ensure that the environment variable TED_BATCH_HOME is defined and points to the Enterprise Data directory under the Topaz install.
    • Ensure that either the default

      Topaz Workbench

      workspace “%USERPROFILE%\Compuware\Workbench\workspace” is being used or that the optional environment variable TED_BATCH_WORKSPACE is defined and points to the custom Topaz Workbench workspace director
  • To execute a specification in batch mode against the standalone

    File-AID/EX

    server install:
    • Ensure that the environment variable TED_BATCH_HOME is defined and points to the

      File-AID/EX

      install.
    • For batch jobs created prior to release 201.01, ensure the that FAEX_HOME environment variable is defined and points to the

      File-AID/EX

      install.
  • Do the following, based on operating system:
    • On Windows, execute the <specification name>.bat file included in the export folder from above.
    • On Unix and Linux, execute the <specification name>.sh file included in the export folder from above.

A sample script, which explicitly sets the two system variables and invokes exported batch jobs located under the directory 'D:\test', is shown below:

@ECHO OFF
set TED_BATCH_HOME=C:\Users\<USER_ID>\Compuware\Topaz\Enterprise Data
set TED_BATCH_WORKSPACE=C:\Users\<USER_ID>\Compuware\Workbench\workspace
for /R D:\test %%G IN (*.bat) do %%G

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*