com.ibm.di.migamc
Class MigrateAmcProperties

java.lang.Object
  extended by com.ibm.di.migamc.MigrateAmcProperties

public class MigrateAmcProperties
extends Object


Constructor Summary
MigrateAmcProperties()
           
 
Method Summary
static void main(String[] args)
           
static int migrateFile()
          Migrates the input file to the TDI 7.1 level.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MigrateAmcProperties

public MigrateAmcProperties()
Method Detail

migrateFile

public static int migrateFile()
Migrates the input file to the TDI 7.1 level. It assumes the input file amc.properties file. The input file (and optional backup file) should have been set in the parseGeneralOptions method which must be called before calling this method.

Returns:
1 is returned if the file is successful. -1 is returned if any error occurs while trying to migrate the file including if the file cannot be backed up to the specified location or if the file to migrate cannot be written to.

main

public static void main(String[] args)
Parameters:
args -