Rocket Terminal Emulator

 View Only
  • 1.  Automation Object and LU Name

    PARTNER
    Posted 03-29-2022 11:34
    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
    ------------------------------


  • 2.  RE: Automation Object and LU Name

    ROCKETEER
    Posted 03-31-2022 11:52
    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
    ------------------------------