Skip to main content

Hi,

I need to copy rumba values from one rumba to another rumba  using macro .  

Can anyone help on this.

thanks


#Rumba

Hi,

I need to copy rumba values from one rumba to another rumba  using macro .  

Can anyone help on this.

thanks


#Rumba

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

   If NM_ResultCode = VS_STRING_NOT_FOUND Then

     MsgBox "Could not find string 'Command -->'"
     Exit Sub

   End If

   EMSendKey var1

EMSendKey "<ENTER>"

EMActivate "SESSION1"
EMReadScreen var2,4,3, 50
MsgBox var2

EMActivate "SESSION2"
EMReadScreen var3,7,1,10
MsgBox var3

End Sub

 


Hi,

I need to copy rumba values from one rumba to another rumba  using macro .  

Can anyone help on this.

thanks


#Rumba

thank you


Hi,

I need to copy rumba values from one rumba to another rumba  using macro .  

Can anyone help on this.

thanks


#Rumba

thank you


Hi,

I need to copy rumba values from one rumba to another rumba  using macro .  

Can anyone help on this.

thanks


#Rumba

thank you