psdi.configure

Class Unlcvt

  • All Implemented Interfaces:
    UpgConstants


    public class Unlcvt
    extends CommonShell
    implements UpgConstants
    Unload and Convert utility. Gets information from a database and generates an output file that can be used for creating another database. The output filename is Unlcvt. (File extension is "ora" for Oracle, "sqs" for SqlServer, and "ddl" for DB2.) Also see the -o parameter.

    Developers with an existing Maximo database who are performing a refresh using a MAXIMO tablespace can run this script as is, using SQL*Plus or ISQL. Anyone who is creating a new database must run this via Maxinst.

    This runs independently of MXServer. MXServer should NOT be running at the same time as this program, otherwise the database may be changing at the same time that this program is trying to determine what to output.

    The commandline parameters for Unlcvt are as follows, in addition to those in the superclass CommonShell.

    Parameter IDParameter ValueDescription
    -b(none)Output format for inserting data supports PreparedStatement in Maxinst. This is to support very large databases.
    -d(none)The output directory parameter is ignored; the file is always output to the MXServer root.
    -e(none)"Execute sql" is always True for Unlcvt, hence the commandline param is not used.
    -l(none)"Log sql" is always True for Unlcvt, hence the commandline param is not used.
    -mIntegerWill limit output file size to the specified number of lines. If more lines are needed then additional output files will be written, using the same filename as the original plus a number (2, 3, 4, etc.). Maxinst will be able to read in these multiple files.
    -oOutput filenameOutput filename; defaults to "Unlcvt" + appropriate extension for db platform. Created in the MXServer root directory.
    -xOutput database platformThis is optional. If not specified, the output file will be formatted for the same database platform as the input database (Oracle to Oracle, or SQLServer to SQLServer). If this parameter is specified, the output will be for the specified platform. Valid values are in UpgConstants.
    See Also:
    CommonShell