Yep.  That was it.
For whatever reason, my ShortSession name was 'Y' in RUMBA under 'Options, 
API...".
I changed it to A in RUMBA, saved the connection session settings, and then ran 
the script again.
Worked like a charm.
Thanks everybody,
Chase Rodgers
Director of Financial Reporting
Medical City and Medical City Children's Hospital
*972-566-3297
*[email protected]<mailto:[email protected]>
[cid:[email protected]]



From: [email protected] [mailto:[email protected]]
Sent: Friday, June 25, 2010 10:22 AM
To: [email protected]
Subject: RE: [talkbws] [Talk] Scripting SMART...

I've encountered that a few times and each time it is that I didn't set up the 
A session with Rumba.  You'll need to go into your "Shortnames" and configure 
the A appropriately.

>>> <[email protected]> 6/25/2010 11:14 AM >>>
Greetings,
Junk characters like that is a definite indicator of a bad connection.
Now what can cause this?

1.       The Shortname A is not configured within the Rumba session (most 
likely candidate)

2.       There is a longer than 2 second delay between when Rumba starts and 
the mainframe screen shows up in it - so it's attempting to connect too soon.

3.       Rarely, need a ChDir command in front of the Connect statement (the 
Connect menu can build this for you - there's a checkbox indicating to do so)

Regards,
Thom


Thom C. Blackwell
Product Manager
Boston Software Systems
(866) 653-5105 ex 807
www.bossoft.com<http://www.bossoft.com/>

Sign up for my weekly 
webinar!<http://www.bostonworkstation.com/customer_center/special_events.aspx>

LEGAL NOTICE Unless expressly stated otherwise, this message is confidential 
and may be privileged. It is intended for the addressee(s) only. Access to this 
E-mail by anyone else is unauthorized. If you are not an addressee, any 
disclosure or copying of the contents of this E-mail or any action taken (or 
not taken) in reliance on it is unauthorized and may be unlawful. If you are 
not an addressee, please inform the sender immediately, then delete this 
message and empty from your trash.

From: [email protected] [mailto:[email protected]]
Sent: Friday, June 25, 2010 11:00 AM
To: Talk
Subject: [talkbws] [Talk] Scripting SMART...

I'm digging up bones here and referencing an old email.
I have somehow lost an old script I used to connect to our SMART mainframe.
Now that I'm attempting to recreate the connection, I can't seem to make it 
work.  It calls the RUMBA terminal emulation program just fine (via WDU RUMBA 
configuration file) and it appears to step thru the RUMBA DLL command.  
However, when it gets to Pause "login:" it freezes up.  It's like it really 
isn't connected.  I also do not see the connection screen in Boston 
Workstation.  Just junk characters.
I've tried to use Key vs Enter and no dice.

Here is the code below that I'm trying to use:

Sub myScript1()
Shell_ """C:\Program Files\NetManage\Vt\SMART.WDU""": Wait 2
Connect "A C:\Program Files\NetManage\System\ehlapi32.dll", stRumba
Pause "login:"
Key "username"
'Enter "username"
Pause "Password:"
Wait 15
'PauseRule "eeaaaeeeaaaeeeaaa...@25,1&@1,0" 9  (this was enter when I tried to 
record the script in BWS)
End Sub

Thanks,
Chase Rodgers
Director of Financial Reporting
Medical City and Medical City Children's Hospital
*972-566-3297
*[email protected]<mailto:[email protected]>
[cid:[email protected]]


From: Thom C.Blackwell [mailto:[email protected]]
Sent: Monday, November 06, 2006 2:18 PM
To: Rodgers Chase
Subject: RE: [Talk] Scripting SMART...

Greetings,
Ah - Rumba - I'm familiar with this one - what you'll need to do is first set 
(if not done already) a HLLAPI shortname. Memory escapes me as to where exactly 
in Rumba this is set - I typically fumble around in the menus till I find it 
(or if I want to appear smart do a search in the help manual)
After that, in Boston WorkStation, use the HLLAPI connection, there is a Browse 
for DLL function which will find the appropriate HLLAPI to use - our 
documentation says that for Rumba it's typically:
c:\program files\walldata\ehlapi32.dll
Our documentation also talks about how to send function keys etc. so it's worth 
a read - look under Connections - HLLAPI.

Give Support a ring if you run into any difficulties - I'm answering because I 
saw your post on Talk!
Regards,
Thom


Thom C. Blackwell

Product Manager

Boston Software Systems

(866) 653-5105 ex 807

www.bossoft.com


LEGAL NOTICE Unless expressly stated otherwise, this message is confidential 
and may be privileged. It is intended for the addressee(s) only. Access to this 
E-mail by anyone else is unauthorized. If you are not an addressee, any 
disclosure or copying of the contents of this E-mail or any action taken (or 
not taken) in reliance on it is unauthorized and may be unlawful. If you are 
not an addressee, please inform the sender immediately, then delete this 
message and empty from your trash.



---  To post a message to this list, send mail to: [email protected]    You are 
currently subscribed as: [email protected]    Unsubscribe in the 
customer center on our website: 
http://www.bostonworkstation.com/customer_center/virtual_user_group_talk.aspx


---  To post a message to this list, send mail to: [email protected]    You are 
currently subscribed as: [email protected]    Unsubscribe in the customer 
center on our website: 
http://www.bostonworkstation.com/customer_center/virtual_user_group_talk.aspx





CONFIDENTIALITY NOTICE: This email message, including attachments,

is for the sole use of the intended recipient(s) and may contain

confidential and privileged information. Any unauthorized review,

use, disclosure or distribution is prohibited. If you are not the

intended recipient, please contact the sender by reply email and

destroy all copies of the original message.


---  To post a message to this list, send mail to: [email protected]    You are 
currently subscribed as: [email protected]    Unsubscribe in the 
customer center on our website: 
http://www.bostonworkstation.com/customer_center/virtual_user_group_talk.aspx

---  To post a message to this list, send mail to: [email protected]    You are 
currently subscribed as: [email protected]    Unsubscribe in the 
customer center on our website: 
http://www.bostonworkstation.com/customer_center/virtual_user_group_talk.aspx   

<<inline: image001.png>>

Reply via email to