×

Automation of MLOAD and TPUMP conversion

  • US 10,019,449 B2
  • Filed: 05/20/2016
  • Issued: 07/10/2018
  • Est. Priority Date: 06/13/2013
  • Status: Active Grant
First Claim
Patent Images

1. An apparatus for converting MLOAD and TPUMP operations, the apparatus comprising:

  • a memory;

    at least one processor; and

    a module stored in the memory, wherein said module comprising computer instruction code executable by the at least one processor, and structured to cause said at least one processor to;

    electronically receive an input production parameter, wherein the input production parameter is associated with a load utility and defines a library of parameters, wherein the input production parameter comprises one or more records, wherein the library of parameters defines a first syntax, wherein the library of parameters comprise at least one of a Log table, a Work table, a Uniqueness Violation (UV) table, and/or an Error table;

    count the number of records in the input production parameter;

    compare the counted number of records to a predetermined threshold value;

    identify the load utility to be used to load the records into a database based on the comparison between the counted number of records and the predetermined threshold value, wherein identifying further comprises (i) determining that the number of records is greater than the predetermined threshold, and loading the input production parameter into a database using a multiload load utility (MLOAD);

    (ii) determining that the number of records is less than the predetermined threshold, and loading the input production parameter into the database using a Teradata load utility (TPUMP) or (iii) determining that the number of records equals the predetermined threshold, and loading the first information into a data base using either the MLOAD or the TPUMP utility, whereby larger volumes of records are processed using the MLOAD load utility and smaller volumes of records are processed using the TPUMP utility, and whereby less computer resources are used to implement TPUMP than MLOAD thereby providing for conservation of computer resources;

    load the input production parameter into the database, wherein loading further comprises switching the loading of the input production parameter into the database between the MLOAD load utility and the TPUMP utility based on at least comparing the counted number of records to the predetermined threshold value;

    convert the first syntax of the library of parameters to a second syntax, wherein the second syntax is associated with the identified load utility, wherein converting the first syntax comprises generating at least one script and computer code of the library of the parameters using the second syntax, wherein converting further comprises;

    identifying one or more unassociated parameters, wherein the one or more unassociated parameters are not associated with the identified load utility;

    automatically editing the one or more unassociated parameters to comply with the second syntax, wherein automatically editing further comprises automatically adding a statement and a parameter into the library of parameters associated with the identified load utility; and

    updating the library of parameters based on at least automatically editing the one or more unassociated parameters;

    validate the second syntax of the library of parameters, wherein validating the second syntax of the library of parameters comprises using a compiler; and

    write an output parameter to a memory location based on positive validation of the second syntax of the library of parameters.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×