The only example I could dig up is setting the LU name with a method called SNASetParameters and its only used in conjunction with NewSession.
set bzhao = CreateObject("BZWhll.WhllObj")
bzhao.SNASetParameters "Test"
bzhao.Hostname = "hostname"
SessName = bzhao.NewSession( 1 ) 'Create new MF instance
bzhao.Connect SessName 'link object to Session
SessionId = bzhao.GetSessionId()
bzhao.ConnectToHost 1, SessionId-1 'Session Id parameter is zero-based
------------------------------
Mike Jones
Rocket Internal - All Brands
------------------------------
Original Message:
Sent: 03-29-2022 11:18
From: Jon Greaves
Subject: Automation Object and LU Name
we are trying to use the automation object but after reading the documentation there appear to be no way to specify an LU Name in the connection unless you first create a connection file. Does anyone know if this is that case or are we missing something in the document.
Jon
------------------------------
Jon Greaves
It Director
Rocket Forum Shared Account
------------------------------