Not display the TCP/IP connection dialog in Dispatcher
search cancel

Not display the TCP/IP connection dialog in Dispatcher

book

Article ID: 108161

calendar_today

Updated On:

Products

CA Plex

Issue/Introduction

Please tell me how to not display the TCP/IP connection dialog when the application is connected for the first time.

Environment

Ca Plex 7.2.1 and higher

Resolution

You can login with the parameter values without displaying the runtime dialog box related to TCP/IP connection in the following way: 

1. Create a user source and call the following Plex API. 

ObConversationAPI::SetAS400Password(strPassword, strINISection, strUserProfile); 

For example

 ObConversationAPI::SetAS400Password("MYPASS", "Remote", "MYUSR");

2. Call this API at any point before calling IBMi's program in the WinC program for the first time (before connecting). 

3. Setting of the INI file 
    Make sure you have the following in the application INI file

[Remote] 

TCPIP Dialog=1