IBM i Access Client Solutions

 View Only
Expand all | Collapse all

When automaing 5250 emulator, acshllapi loses connection occasionally

  • 1.  When automaing 5250 emulator, acshllapi loses connection occasionally

    Posted Fri February 09, 2024 05:17 AM
    I am using an automation tool to steer the ACS 5250 emulator through acshllapi.
     
    An issue is that the tool will report 'no sessions found' every 8~10 minutes
    when steering the 5250 emulator, which basically indicates that the connection with the acshllapi is lost.
    Normally re-opening the 5250 emulator will solve the problem temporarily, until it happens again 8~10 mins later.
     
    I understand it is very likely an issue of the automation tool.
    But no solution can be obtained from their side.
     
    Is there any setting within/related to the ACS that might be worth trying?
    Thank you very much. 
     
    Software information:
    IBM i Access Client Solutions(64-bit) 1.1.8.1 build 8452
    and acshllapi 9.23.332
    on Windows 10 (64-bit)
    Automation tool: Tricentis Tosca


    ------------------------------
    tudis lei
    ------------------------------


  • 2.  RE: When automaing 5250 emulator, acshllapi loses connection occasionally

    IBM Champion
    Posted Fri February 09, 2024 09:45 PM

    Dear Tudis

    Please read through this IBM Technote to see if it gives you any useful information or not: EHLLAPI With the Access Client Solutions Emulator at  https://www.ibm.com/support/pages/ehllapi-access-client-solutions-emulator.   Pay attention to the section "Step 2" and the last hot link provided. 

     



    ------------------------------
    Chance favors only the prepared mind.
    -- Louis Pasteur
    ------------------------------
    Satid S.
    ------------------------------



  • 3.  RE: When automaing 5250 emulator, acshllapi loses connection occasionally

    IBM Champion
    Posted Mon February 12, 2024 11:09 AM

    Hi Tudis,

    You can also try installing the latest version of ACS (currently 1.1.9.4).  Your version 1.1.8.1 is more than 5 years old.



    ------------------------------
    Steven Riedmueller
    Certified IBM i Admin
    Speaker, Mentor, and Advocate
    ------------------------------



  • 4.  RE: When automaing 5250 emulator, acshllapi loses connection occasionally

    Posted Tue February 13, 2024 10:16 AM

    HI Tudis, 

    While you suspect the issue lies with the automation tool, there are indeed some settings within the ACS and related areas you can explore to potentially stabilize the connection between the ACS 5250 emulator and acshllapi:

    you can Enable TCP Keepalive this will help maintain idle connections by sending periodic packets to detect inactivity.
    Edit the workstation profile (.sysname.ws file) located in C:\Program Files\IBM\Client Access\Emulator\Private.
    Add the line KeepAlive=Y in the [Telnet5250] section



    ------------------------------
    Umakant Upadhyay
    ------------------------------