This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Trying to start Rumba+ 10.1 from a shortcut

I am trying to create a shortcut to run a login script/Macro to start Rumba+ Desktop 10.1 and start the mainframe session. I am having issues getting the file I created to start from a desktop short cut

 

This is the one of the scripts that will run at start up

Connect

Wait for screen

Type "rc85"

Keystroke: Enter

Wait for screen

Keystroke: Clear

Wait for screen

Type "chps"

Keystroke: Enter

Receive at ( 6, 8 ) "CCC            "

Type "MH"

Tags:

Labels:

Rumba
  • 0  

    I believe you would like to launch the Rumba session through a desktop shortcut that can run your macro on start-up. If so, please try the following instructions:

    Create a mainframe display session as per your requirements. Make sure to enable the "Auto Connect" setting.

    Click on the Tools menu, then macro properties, and select your macro in the "Connect macro" section.

    Click on File -> save session profile to save the session profile  (.rsdm file) at your desired location.

    Create a desktop shortcut for the session profile (.rsdm File).

    The macro should run when you double-click on the shortcut.

    Please don't hesitate to contact the Micro Focus Host Connectivity Technical Support group if you need further assistance.

  • 0 in reply to   

    New issue, I have 2 different scripts, and it will only run the last one put into the "Connect macro" section"  I need my shortcut to be able to be run at the same time. 

  • 0   in reply to 

    Hi Jerry, 

    if I understand correctly:
    A) You want to launch your session file from a shortcut - following the instructions above I'm confident you have this much working.
    B) When the session connects to the host you want to run a script/macro automatically.
    C) Once the script/macro in B has completed, then you want to run a second script/macro.

    If that is correct, then to chain the script/macro execution you have a couple of options. The easiest of which is likely to use the Rumba Plus layer, by using a Autoexecute control on the screen where your initial macro/script ends. Do you have Rumba Plus available?

    Note: I'm assuming you are talking about Rumba Script (.cfs files) and Rumba Macros (.rmc files) or Enterprise macro language macros (.eml). 
     
    If you are referring to VBA macros then you chould chain the execute in a third macro and execute that third macro.

    Tom

  • 0 in reply to   

    Tom

    a) Yes, it is working to a point, ir I put Prod1.rsdm in the connection macro to start and click on short cut it will open Fine, however it I click on prod2 shortcut it launches prod1 instead. I have changed the macro toprod2.rsdm in connection macro and it run fine, 

    The issue is prod1 is server 1 and prod2 is sever 2

    B) & C) are not the issue as I am trying to connect to the 2 diffent host. 

  • Verified Answer

    0   in reply to 

    Hi Jerry,

    sorry for the delay in responding. It looks like maybe you made a copy of your shortcut to Prod1.rsdm and renamed the shortcut. So both your Prod1 and Prod2 shortcuts are pointing to the Prod1.rdsm profile.

    Have you checked the "Target" in the Shortcut properties?

    Tom

  • Suggested Answer

    0 in reply to   

    No problem removing the the target in the macro start up did fix it thank you!