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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Go to Specific Extra! Attachmate Page Macro

Status
Not open for further replies.

toddrofls

Programmer
Feb 23, 2015
4
US
I'm trying to find out if there's a way to go directly to a specific Page ID without using a series of "F" button sendkey macros.

For Example, instead of using something like this to get to my desired page "ICMMENU"
Code:
Sess.Screen.SendKeys ("<pF8>")
Sess.Screen.WaitHostQuiet (g_HostSettleTime)
Sess.Screen.SendKeys ("<pF3>")
Sess.Screen.WaitHostQuiet (g_HostSettleTime)
Sess.Screen.SendKeys ("<pF8>")

Is it possible to just tell Extra Attachmate to go to page id "ICMMENU"?

I can automate Sendkey Macros all day but If I could just tell it to go to a certain page, It'd save so much time Processing the User's Requests. Any help or guidance would greatly be appreciated.
 
Hi,

If you can fo it manually, it can be done programmaticly.

How would you do that manually?
 
Well typically the users I work with login to Extra! Attachmate and navigate through the screens by pressing "F" keys on the keyboard.

For instance, to get to the page ID "ICMMENU" they would press
"F8", "F3", "F8"

Unfortunately I don't do any of the programming for Extra! Attachmate itself, I work with Excel VBA to Automate the navigation. Do you know if there's a way to just tell it to go to page ID "ICMMENU"? Instead of just telling Extra! Attachmate to press these certain "F" key strokes.
 
Thank you for your response,

' Sess.screen.sendkeys("/FOR ICMMENU") '

Looks just sends the string "/FOR ICMMENU" to where ever the cursor is in Extra! Attachmate. Any other ideas?
 
I didn't ask you ANYTHING about programming.

I asked you how you or one of your users would do what you want to do, MANUALLY!

If no one knows or it cannot be done manually, then it cannot be done in a program either!
 
Sorry for being unclear, my thought process is if I knew the programming behind the "F" Keys I would be able to figure out how to do the task manually.

I tried to clear the screen and /FOR ICMMENU and it doesn't like the command, it returns "DFS057I REQUESTED BLOCK NOT AVAILABLE: ICMMENU RC=04". I don't think it will work either, upon screen clearing the users have usually enter a prompt just to log into the system. If that makes any sense.

Perhaps there's an Extra! Attachmate function I can call upon? Or even pull a Command input box I can put "/FOR ICMMENU" in? I'm reading over the Extra! Attachmate Manual to see if I can find any leads. I really appreciate your ideas.
 
I'm only stating a procedure that I have used on a 3270 terminal emulator.

Your system might operate differently.

My point is that there is a method available in your system to get to a specific screen, WHATEVER IT IS.

If there is no way to do that manually, then there is no way to do it via a program.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top