Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Send keys to mainframe multiple types

Status
Not open for further replies.

Biznez

Technical User
Apr 9, 2015
106
CA
instead of writing the same code (Sess0.Screen.SendKeys ("<Pf7>")) 20 times. Need shorter code to do this?
this code goes to previous pages in Mainframe
 
sorry, meant the title to be "Send keys to mainframe multiple times
 
Code:
Dim i as integer

For i = 1 to 20
   Sess0.Screen.SendKeys ("<Pf7>")
   Sess0.Screen.WaitQuietHost
Next

Something like that
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top