Page 1 of 1

[UniObjects] Session.OpenFile returns nothing

Posted: Tue Jan 30, 2001 6:24 pm
by admin
We are trying to use VB to get info from a file that resides on a DataStage server. UniObjects has been loaded and revision levels verified with Informix/Ascential. The file was created by telnet to the DS server, logging in as "oliverc", and doing a plain old CREATE.FILE TESTFILE 30 and adding a record to it with the editor.

The VB code is:

Dim Session as Object
Dim FileObj as Object

Set Session = CreateObject(UV_SESSION_OBJECT)
Session.UserName = "oliverc"
Session.Password = "therealpassword"
Session.Hostname = "servername"