Quantcast
Channel:
Viewing all articles
Browse latest Browse all 43889

Forum Post: EMDisconnectExit

$
0
0
I am trying to be able to launch script from a .BAT file and am using the script editor to connect to the session, run the script, and then disconnect. I am able to connect, run through the script, and even disconnect.  The issue is when I try and use EMDisconnectExit instead of EMDisconnect, a promt comes up telling me "There are still connected sessions.  Do you wish to continue?"  Is there a way to make sure this message doesn't show up so I can close out of Rumba smoothly?  Better yet, is there a possible way to run script and communicate with the server without even launching Rumba? Thanks in advance!   Sub Main  Dim Result as Integer  EMSetTN5250 {SERVERNAME},23,2, "COLOR"  EMStartSession "*", "New"  EMSendKey {USERNAME}  EMSetCursor 7,53  EMSendKey {PASSWORD}  EMSendKey " Field_Plus "  EMSendKey " Enter "  EMSendKey "90"  EMSendKey " Field_Plus "  EMSendKey " Enter "  SysDelay 1  EMDisconnectExit "New" End Sub

Viewing all articles
Browse latest Browse all 43889

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>