IMDBB
IMDBB is a batch form that provides the same functionality as the importdb utility. This enables you to perform an import to the database via Lawson Portal rather than from the command line. For information on importdb, see importdb - Import Comma-Delimited File.
- In Lawson Portal, access IMDBB by using the search box. (IMDBB is in the IF system code within the application product line.)
- Define a new job.
- Specify options for the job:
Program Option Description aOverwrite all duplicate records. Replaces existing database records with duplicate records in the flat file. If the flat file has multiple occurrences of a record, the last occurrence is stored in the database. nDo not overwrite duplicate records. Does not replace existing database records with the duplicate records from the flat file. It ignores the duplicate records in the flat file. bBatch inserts based on INSERTBUFSIZE. rReport on duplicate records. Prints duplicate records between the flat file and the database. lLog duplicate records. LLog modified and duplicate records. fFile has field headers. tTabs treated as separator value; default is Space. uUpdate records; valid with foption only.dDo not reformat dates. Files in database format. cCorrect records. Valid with the
uandfoptions only.Enforces strict data type casting. For example, the data type alpha converts to uppercase, and a leading zero is added to floating point fields (.12 ? 0.12). The default enforces strict data type casting.
wGenerate data type casting warnings. Overwrites the coption.eHalt program on any data or database error. VDisplay the version number of this utility. CConfigures importdb to use the date format, decimal separator, and thousands separator set in locdef.
Valid with the
foption only.SSpecifies the delimiter used in the import file if the default delimiter is not used.
Requires the delimiter to be in a two-digit hexadecimal ASCII value. For example, if the user used a semicolon as the delimiter, the syntax would be
S3B. The delimiter must also be a different character from the one used for the decimal and thousands separator. - Specify the product line.
- Specify the DB file name, that is, the name of the file in the database into which you want to import data..
- Specify the full path and name of the CSV file whose data you want to import. This must be a path on the Infor Lawson System Foundation server. When specifying the path, you can include environment variables such as $GENDIR and $LAWDIR.
- Add and submit the job.