Batch Mode - Intergraph Smart Materials - Version 10.1 - Help - Hexagon

Intergraph Smart Materials Classic Help

Language
English
Product
Intergraph Smart Materials
Subproduct
Classic
Search by Category
Help
Smart Materials/Smart Reference Data Version
10.1

There is a special solution if the user wants to start the import in batch mode. Normally, the user must use FTP or other programs to send his file to the database server (where it is needed for batch processing); in this case, the database downloads the file from the application server to the file system of the database server. To activate this feature, configure the following:

  1. Specify the DBA BOM_UPLOAD_URL setting on A.60.04 to enable the web server to find the OMI file on the application server. A valid entry for the setting is:

    your_web_server/bom_uploads

    The name of your web server is followed by a virtual directory name. Do not append a trailing slash. You must define an alias in the web server configuration. In the spmat2011.conf file on the application server, there should be a line that looks like the following:

    AliasMatch ^/bom_uploads/(..*) "C:\smat\bom_uploads\$1"

    The right hand entry must match the DBA BOM_UPLOAD_DEST setting, except that there is a slash instead of a backslash at the end. The left hand entry must match the BOM_UPLOAD_URL, but the server name is omitted and a trailing slash is added.

  2. Specify the DBA BOM_IMPORT_GET_FILE setting on A.60.04 to be Y.

  3. Specify the DBA BOM_IMPORT_PATH setting on A.60.04. This setting is used for importing in batch mode and for finding the import file on the database server, independent of a web or client/server environment. The directory stored in BOM_IMPORT_PATH must contain the OMI control (*.ctl) and .parameter (*.par) files that are required by the SQL*Loader.

Click the Start Batch button to check whether a file with this name already exists. If it does not exist, download the one on the application server to the database server.