Hi all,
we have a strange problem with script execution in Rumba Desktop 9.2
We use EMReadScreen strBuffer, 10, 3, 4 in the script, but it's reading the first row all the time instead ot the third.
Also EMSetCursor 3, 4 sets the cursor in row 1, column 4.
It doesn't make any difference if we declare and set integer variables first and using them or using the values directly.
So rumba seems to ignore the specified row position. Everything else seems to work fine; but the script is useless like this when we don't get the values in the specified row.
We are connected to 3270 mvs host (24rows, 80 comlumns) from our customer by a preconfigured session profile file. Maybe something could be wrong with the configuration file?
Any help would be greatly appreciated 
Thanks
Markus
#RumbaHi Markus,
your preconfigured profile shouldn't have influence in the result of your script.
But you can check and configure a second session.
In the new session use demohost instead of TN3270. What is your result ?
I tested RUMBA 9.2 and EMReadScreen works as expected
regards andre
Hi all,
we have a strange problem with script execution in Rumba Desktop 9.2
We use EMReadScreen strBuffer, 10, 3, 4 in the script, but it's reading the first row all the time instead ot the third.
Also EMSetCursor 3, 4 sets the cursor in row 1, column 4.
It doesn't make any difference if we declare and set integer variables first and using them or using the values directly.
So rumba seems to ignore the specified row position. Everything else seems to work fine; but the script is useless like this when we don't get the values in the specified row.
We are connected to 3270 mvs host (24rows, 80 comlumns) from our customer by a preconfigured session profile file. Maybe something could be wrong with the configuration file?
Any help would be greatly appreciated 
Thanks
Markus
#RumbaHi Andre,
thanks for your answer.
We just tried it with the demo host and it works as expected.
But in the TN3270 session it's still not working. I know that it's working with an other older rumba client running on windows xp against the same mvs host.

So I think something must be configured wrong on the client side.
Kind regards
Markus
Hi all,
we have a strange problem with script execution in Rumba Desktop 9.2
We use EMReadScreen strBuffer, 10, 3, 4 in the script, but it's reading the first row all the time instead ot the third.
Also EMSetCursor 3, 4 sets the cursor in row 1, column 4.
It doesn't make any difference if we declare and set integer variables first and using them or using the values directly.
So rumba seems to ignore the specified row position. Everything else seems to work fine; but the script is useless like this when we don't get the values in the specified row.
We are connected to 3270 mvs host (24rows, 80 comlumns) from our customer by a preconfigured session profile file. Maybe something could be wrong with the configuration file?
Any help would be greatly appreciated 
Thanks
Markus
#RumbaHi Markus,
it sounds like something is seriously amiss. Have you tried opening one of you old profiles in 9.2?
You may be able to work around the EMReadScreen issue by reading the entire screen and then pulling out the bit you are interested in..
e.g.
Global myScreen as String
Sub Main
Dim myRow as String
EMReadScreen myScreen, 5, 1,2
Msgbox myScreen
myScreen = "Something New"
myReadScreen myScreen, 5, 1, 2
Msgbox myScreen
End Sub
Sub myReadScreen (myScreen as String, myLen as Integer, myRow as Integer, myColumn as Integer)
Dim Row as Integer, Column as Integer, StartAt as Integer
EMScreenSize Row, Column
EMReadScreen myScreen, Row*Column, 1, 1
StartAt = (myRow * 80) - 80 myColumn
myScreen = Mid(myScreen, StartAt, myLen)
End Sub
This should allow you to simple replace your EMReadScreen method calls with myEMReadScreen ones.
Naturally this does not fix the issue, but it might get you out of a bind.
You should open a ticket with Micro Focus Customer Care, so the issue can be investigated further.
Hi all,
we have a strange problem with script execution in Rumba Desktop 9.2
We use EMReadScreen strBuffer, 10, 3, 4 in the script, but it's reading the first row all the time instead ot the third.
Also EMSetCursor 3, 4 sets the cursor in row 1, column 4.
It doesn't make any difference if we declare and set integer variables first and using them or using the values directly.
So rumba seems to ignore the specified row position. Everything else seems to work fine; but the script is useless like this when we don't get the values in the specified row.
We are connected to 3270 mvs host (24rows, 80 comlumns) from our customer by a preconfigured session profile file. Maybe something could be wrong with the configuration file?
Any help would be greatly appreciated 
Thanks
Markus
#RumbaHi,
thanks for the workaround, but unfortuanetly EMScreenSize returns 0 rows and 0 cols.
Yes, we'll open a support ticket over our customers contract.
Thanks anyway!
Hi all,
we have a strange problem with script execution in Rumba Desktop 9.2
We use EMReadScreen strBuffer, 10, 3, 4 in the script, but it's reading the first row all the time instead ot the third.
Also EMSetCursor 3, 4 sets the cursor in row 1, column 4.
It doesn't make any difference if we declare and set integer variables first and using them or using the values directly.
So rumba seems to ignore the specified row position. Everything else seems to work fine; but the script is useless like this when we don't get the values in the specified row.
We are connected to 3270 mvs host (24rows, 80 comlumns) from our customer by a preconfigured session profile file. Maybe something could be wrong with the configuration file?
Any help would be greatly appreciated 
Thanks
Markus
#RumbaHi Markus,
can you try:
Sub Main
Dim strBuffer as String
str = EMReadScreen(strBuffer, 5, 5,32)
msgbox(strBuffer)
End Sub
Does it make any different in your environment ?
Grüße
andre
Hi all,
we have a strange problem with script execution in Rumba Desktop 9.2
We use EMReadScreen strBuffer, 10, 3, 4 in the script, but it's reading the first row all the time instead ot the third.
Also EMSetCursor 3, 4 sets the cursor in row 1, column 4.
It doesn't make any difference if we declare and set integer variables first and using them or using the values directly.
So rumba seems to ignore the specified row position. Everything else seems to work fine; but the script is useless like this when we don't get the values in the specified row.
We are connected to 3270 mvs host (24rows, 80 comlumns) from our customer by a preconfigured session profile file. Maybe something could be wrong with the configuration file?
Any help would be greatly appreciated 
Thanks
Markus
#RumbaHi,
this returns "Error on line 3 - Assignment not allowed"
Hi all,
we have a strange problem with script execution in Rumba Desktop 9.2
We use EMReadScreen strBuffer, 10, 3, 4 in the script, but it's reading the first row all the time instead ot the third.
Also EMSetCursor 3, 4 sets the cursor in row 1, column 4.
It doesn't make any difference if we declare and set integer variables first and using them or using the values directly.
So rumba seems to ignore the specified row position. Everything else seems to work fine; but the script is useless like this when we don't get the values in the specified row.
We are connected to 3270 mvs host (24rows, 80 comlumns) from our customer by a preconfigured session profile file. Maybe something could be wrong with the configuration file?
Any help would be greatly appreciated 
Thanks
Markus
#RumbaSorry , please add Dim str
Sub Main
Dim strBuffer as String
Dim str
str = EMReadScreen(strBuffer,5,5,32)
msgbox(strBuffer)
End Sub
Hi all,
we have a strange problem with script execution in Rumba Desktop 9.2
We use EMReadScreen strBuffer, 10, 3, 4 in the script, but it's reading the first row all the time instead ot the third.
Also EMSetCursor 3, 4 sets the cursor in row 1, column 4.
It doesn't make any difference if we declare and set integer variables first and using them or using the values directly.
So rumba seems to ignore the specified row position. Everything else seems to work fine; but the script is useless like this when we don't get the values in the specified row.
We are connected to 3270 mvs host (24rows, 80 comlumns) from our customer by a preconfigured session profile file. Maybe something could be wrong with the configuration file?
Any help would be greatly appreciated 
Thanks
Markus
#RumbaIt also returns " MVS" instead of "START"
We also checked "NM_ResultCode" which returns 0 for success.
Very strange 
Hi all,
we have a strange problem with script execution in Rumba Desktop 9.2
We use EMReadScreen strBuffer, 10, 3, 4 in the script, but it's reading the first row all the time instead ot the third.
Also EMSetCursor 3, 4 sets the cursor in row 1, column 4.
It doesn't make any difference if we declare and set integer variables first and using them or using the values directly.
So rumba seems to ignore the specified row position. Everything else seems to work fine; but the script is useless like this when we don't get the values in the specified row.
We are connected to 3270 mvs host (24rows, 80 comlumns) from our customer by a preconfigured session profile file. Maybe something could be wrong with the configuration file?
Any help would be greatly appreciated 
Thanks
Markus
#RumbaHI Markus,
Was their an earlier version of Rumba installed on your test PC at some point? If yes, can you test on a "clean" machine?
What version of Rumba is your customer running?
Have you tried to configure a new session from scratch using your 9.2 installation?
Thanks in advance.
Tom
Hi all,
we have a strange problem with script execution in Rumba Desktop 9.2
We use EMReadScreen strBuffer, 10, 3, 4 in the script, but it's reading the first row all the time instead ot the third.
Also EMSetCursor 3, 4 sets the cursor in row 1, column 4.
It doesn't make any difference if we declare and set integer variables first and using them or using the values directly.
So rumba seems to ignore the specified row position. Everything else seems to work fine; but the script is useless like this when we don't get the values in the specified row.
We are connected to 3270 mvs host (24rows, 80 comlumns) from our customer by a preconfigured session profile file. Maybe something could be wrong with the configuration file?
Any help would be greatly appreciated 
Thanks
Markus
#RumbaHi Tom,
I just built a new session profile and it works 
The only difference i see is in the tag <BinaryData> and that the malfunctioning profile is using <CustomToolBars>.
Thanks to all!
Markus