Technical Notes |
|
This document describes new features and other important information about version 10.0 of Verastream Integration Broker (VIB), which released in March 2009.
Verastream Integration Broker 10.0 now supports a Windows 64-bit platform on XP, Server 2003, Vista, and Server 2008 with the following limitations:
VIB now supports UAC on Microsoft Vista and 2008 Server.
UAC is the security and administrative infrastructure introduced by Microsoft in the Vista operating system.
In VIB there are certain things to remember when using UAC:
Due to the UAC funtionality, the PARDIR directory has moved. In VIB 10.0 the PARDIR directory is now installed in the common application data folder. The location of this directory is dependent on the version of Windows that you are using.
C:\ProgramData\Attachmate\Verastream\IntegrationBroker\pardir C:\Documents and Settings\All Users\Application Data\Attachmate\Verastream\IntegrationBroker\pardir The UAC functionality also required changes to the sn.ini file, located in <install location>/bin. This file is now read-only. A second sn.ini file has been provided for editing. This editable sn.ini file is located in the PARDIR directory.
An sn.ini file in the current directory has precedence over the sn.ini file located in the PARDIR directory and this sn.ini file (PARDIR) has precedence over the original sn.ini file (C:\Program Files).
You may have to move the sample files to a writable directory for them to continue to function.
The new install program is an MSI package with an Attachmate installer interface. To configure VIB after installation, there is a new configuration program. This program, which runs automatically after installation, installs your license file and lets you select the correct version of your adapters. The configuration program is accessible from a shortcut in the Start menu so you can rerun the configuration program without reinstalling VIB.
The configuration program steps you through the licensing and adapter selection process. The license and adapter configuration completes the install program.
To complete the license and configuration program:
After you have configured all adapters, the program prompts you to save the configuration in sn.ini in the PARDIR directory.
Previously the adapter DLLs were copied into the bin directory. This is no longer the case. The correct DLL is indicated by parameters in the sn.ini file. On UNIX systems symbolic links are used and have not changed.
The .NET VCP library was introduced in VIB 9.9. This library also works with .NET 3.0 and 3.5.
In previous versions, demo VCP components were already registered when the product was installed. Starting with VIB 10, this is no longer the case. To use the components, you must first register them. This applies to the "TransferData" component located in the "Verastream Component Library" repository.
There are two ways to register components: on the command line (all platforms) or on Windows platforms, right-click the .fle file. You can find instructions for registering components in the VIB Training Manual (vib95.pdf), Registering Components for a Composite Application.
To register TransferData:
A "filecreationdatetime" field has been added to the FILES object. This field tells the last time a file was modified or saved. While the File properties in Windows Explorer contains the time a file was created, you can now use the FILES object to determine a file's created time.
VIB now supports millisecond precision in time and datetime fields. To use milliseconds, you must change the definition of FIELD declarations in your code. For example, you can declare a field of type and datetime as follows:
FIELD myTimeField time FMT="HH:MM:SS.TTT" FIELD myDateTimeField datetime FMT="YYYY/MO/DD HH:MI:SS.TTT" Processing existing time and datetime fields, without specifying milliseconds in the format, is not affected. If you assign a value with millisecond precision to a field that does not contain millisecond support, the milisecond values will be truncated.
There is adapter-specific information regarding the support of milliseconds:
| Adapter |
Type of support |
| ASCII ("cat") C-ISAM Informix DB/2 JNI (Java) DBase IV FoxPro Clipper PostgreSQL ODBC XML |
Fully supports millisecond precision time values |
| ROA/WOA |
Supports new time and datetime format options: MSTIMEFORMAT, MSTF, MSDATETIMEFORMAT and MSDTF.These options control the parsing and formatting of milliseconds.New time and datetime environment variables: MWOAMSTF and MWOAMSDTF. |
| SQL Server (supports 1/300 sec) Sybase (supports 1/300 sec) Rdb (supports 1/100 sec) |
Supports values smaller than a second but not exact milliseconds. In this case, the adapter must round the millisecond values. |
| Oracle Raw Data Files ("raw") Cobol, MicroFocus Cobol VHI COM Siebel MQ/Series. |
Does not support millisecond precision, thus the adapter cannot use the millisecond values. The milliseconds are truncated. |
| SQL Server type DATETIME2 |
Not supported |
| Oracle type TIMESTAMP |
Not supported |
| VCP |
Supports milliseconds when you specify the new formats "xsdtime", "xsddate", or "xsddatetime". On the wire, the format used is an ISO 8601 string without timezone, for example "1965-02-03T04:05:06.007". The existing "time", "date" and "datetime" formats are still fully supported but they will cause the milliseconds to be rounded. |
Changes have been made to the expression functions that work with time and datetime. As follows:
| Expression Function |
Decription |
| time(h,m,s,t) |
optional 4th argument: construct time value including milliseconds |
| datetime(y,mo,d,h,mi,s,t) |
optional 7th argument: construct datetime value including milliseconds |
| period(h,m,s,t) |
optional 4th argument: construct time value including milliseconds |
| period(y,mo,d,h,mi,s,t) |
optional 7th argument: construct period including milliseconds |
| format(...) |
"TTT" and "ttt" can be used to format millisecond values. |
| time() |
returns current time including milliseconds |
| datetime() |
returns current datetime including milliseconds |
| milliseconds(t) |
returns milliseconds in t, an integer value between 0 and 1000. |
| t1 - t2 |
(subtracting two time values) now results in a floating point value, being the number of seconds difference, with milliseconds as fraction |
| dt1 - dt2 |
(subtracting two datetime values) now results in a floating point value, being the number of seconds difference, with milliseconds as fraction |
Additional information:
When ‘Update Table from Repository’ is executed in Process Integrator, the metadata value is used, instead of the global variable VSREPOSCOLUMNTOLOWER. This is done, because the value of this variable might not be the same as it was when the updated table was imported.
The SQL Server interface is transparent for all basic functions when using ODBC or the db-library as an API. FRENAME was present in the db-library version of the backend and has been added for ODBC. Although ODBC does not support rename, SQL Server has this function available using the stored procedure sp_rename.
After upgrading the Siebel Gateway (vssblgw.dll) to version 10.0, Siebel VBC or IO invocation may generate an error message beginning with the following:
[0] Script error occurred in procedure 'dynamicLink' of object Service [Verastream Gateway]: SystemError 6003: Cannot load dll module "vssblgw.dll"To resolve this issue, download and install the Microsoft Visual C/C++ Runtime libraries (msvcr80.dll, etc.) on the Siebel system. The download is available from Microsoft at the following address:
When upgrading to version 10.0, a new snlicens.txt file must be obtained and copied to your PARDIR folder to activate the software. To obtain your unique license file(s), contact VIBLicenseKey@attachmate.com with your VPA number. Response is normally provided within one business day.