Highlighted
Regular Contributor.
Regular Contributor.
719 views

Virtual Table Server (VTS) for Multiple Connections

Jump to solution

Hi,

I've been using VTS single connection,but i wanted to use Two Vts connections(Instances) in a single script.

Can anyone help me with an example please

0 Likes
1 Solution

Accepted Solutions
Highlighted
Respected Contributor.
Respected Contributor.

Re: Virtual Table Server (VTS) for Multiple Connections

Jump to solution

There are several ways to handle multiple projects using VTS. The first is to use multiple instances of the VTS using different ports. If the machine that supports the VTS server is strong enough, this should work fine.

A second solution is to assign column names to different projects and use composite records within those columns. For example, if you need Name, Address, Telephone, account number, create a composite record like this:

Jayesh Katariya:11234 Asteroid Way, Pluto: 888-212-2353:234987345A

You can then retrieve all the data with one efficient call to the VTS. Use strtok to break the composite record into individual parameters. Using this method is fast and makes very efficient use of the VTS. This can support as many projects as needed.

View solution in original post

1 Reply
Highlighted
Respected Contributor.
Respected Contributor.

Re: Virtual Table Server (VTS) for Multiple Connections

Jump to solution

There are several ways to handle multiple projects using VTS. The first is to use multiple instances of the VTS using different ports. If the machine that supports the VTS server is strong enough, this should work fine.

A second solution is to assign column names to different projects and use composite records within those columns. For example, if you need Name, Address, Telephone, account number, create a composite record like this:

Jayesh Katariya:11234 Asteroid Way, Pluto: 888-212-2353:234987345A

You can then retrieve all the data with one efficient call to the VTS. Use strtok to break the composite record into individual parameters. Using this method is fast and makes very efficient use of the VTS. This can support as many projects as needed.

View solution in original post

The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.