Rocket® MultiValue Developer Assistant 1.2.0 Is Here!
Hi,
I need to copy rumba values from one rumba to another rumba using macro .
Can anyone help on this.
thanks
Hi, you have two options
a) Rumba Macro with the commands copy from paste to
Take a look at the Rumba macro help.
b) Rumba Script:
Below script opens 2 Rumba sessions and copies data from session 1 into session2
here a short Rumba script sample
Sub Main
Dim var1 As String Dim var2 As String Dim var3 As String Dim RowRes As Integer Dim ColRes As Integer
EMSetTN3270 "yourhost.com",23,2,"ExtendedDS" EMStartSession "*","SESSION1" EMWaitText 10,"Welcome",3,28,RowRes, ColRes
If NM_ResultCode = VS_STRING_NOT_FOUND Then
MsgBox "Could not find string 'Welcome'"
Exit Sub
End If
EMReadScreen var1,7,3, 28
EMSetTN3270 "yourhost",23,2,"ExtendedDS" EMStartSession "*","SESSION2" EMWaitText 10,"Command -->",22,1,RowRes, ColRes
MsgBox "Could not find string 'Command -->'" Exit Sub
EMSendKey var1
EMSendKey "<ENTER>"
EMActivate "SESSION1" EMReadScreen var2,4,3, 50 MsgBox var2
EMActivate "SESSION2" EMReadScreen var3,7,1,10 MsgBox var3
End Sub
thank you
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.