I have created a project for Logon Macro for a mainframe session. The macro goes through 3 screens before it gets to the ISPF panel.
1. Initial welcome Screen
2. EntryValidation (UserId & Password)
3. TSO Messages.
4. ISPF panel.
On the EntryValidation screen, I prompt for userId and Password.
When I test the macro within the *.hma file be connecting and playing the macro it works fine/successfully.
But when I right click on the project and run/debug. It connects and plays the macro without prompting for user promts. And gives me a time out error waiting to insert the values supplied by the user.
Do you know what could be my problem?
This topic has been locked.
4 replies Latest Post - 2013-06-01T15:21:54Z by RavikanthChavali
Pinned topic User promts does not work in the Macro when testing the entire project
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2013-01-21T15:16:05Z at 2013-01-21T15:16:05Z by SystemAdmin
Re: User promts does not work in the Macro when testing the entire project2013-01-17T22:26:14Z in response to SystemAdminJust wanted to clarify, Macro is not working/cannot be played at runtime. (right click in Project view > Run/debug)
I am getting a time out error. But In debug mode I see that the cursor is waiting at the Validation screen to input the userid.
Re: User promts does not work in the Macro when testing the entire project2013-01-17T22:55:49Z in response to SystemAdminHere is the error...
Project1 - Processing event: start
Project1 settings have changed. Reloading...
Project1 - Processing event: connect
Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: ECL0010: Parameter "position" is not valid. The value is 3439.
at com.ibm.eNetwork.ECL.ECLPS.GetScreen(Unknown Source)
at com.ibm.eNetwork.ECL.ECLPS.GetString(Unknown Source)
at com.ibm.eNetwork.beans.HOD.Session$PSNotify.run(Unknown Source)
Project1 - Processing event: VTAM
Project1 - Playing macro: Project_Startup_Macro
ERROR HPS5063 Received the following MacroErrorEvent while playing Host On-Demand macro:
Macro timed out: (Macro=Workbench_Startup_Macro, Screen=EntryValidation)
Project1 - Processing event: error
RavikanthChavali 2700036D4W11 PostsACCEPTED ANSWER
Re: User promts does not work in the Macro when testing the entire project2013-06-01T15:21:54Z in response to SystemAdmin
I was'nt; I was expecting it to prompt me for the input variables even in Run/Debug. Once I changed the prompt to get values from global variables and passed the values through Menu Manager, It worked.