|
Home > Archive > WebSphere HATS > October 2005 > How do I pass a value to a subfile in a macro?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
How do I pass a value to a subfile in a macro?
|
|
|
| I am using integration objects on a project. For one of my IO's I go
through a long macro. On one screen of the macro I have a protected
field to which you must hit F11, select a value from a subfile which
then returns the value to display in the protected field. How would I go
about selecting the value from a macro?
I'm using HATS 6.02 / WAS 6, and using the IO's in Struts. For my
Struts jsp, I would prefer to display the available options as a drop
down (I can get the values). The problem is in how to return the value
using the macro prompt?
| |
|
| Based on what you are describing, it sounds like you might need to use
Integration Object chaining with multiple macros. For example, one macro
would extract the results of F11, and the extract would be shown to the end
user, who would make a choice that would be fed to the next macro in the
chain as prompt data.
This type of task is easier to do with HATS screen customizations. Create a
screen customization that runs a macro with a prompt handler that will
prompt the end user at different points in the macro.
Thanks,
Alisa
"kenny" <kenny.smith@optimussolutions.com> wrote in message
news:djogbp$64ho$1@news.boulder.ibm.com...
> I am using integration objects on a project. For one of my IO's I go
> through a long macro. On one screen of the macro I have a protected
> field to which you must hit F11, select a value from a subfile which
> then returns the value to display in the protected field. How would I go
> about selecting the value from a macro?
>
> I'm using HATS 6.02 / WAS 6, and using the IO's in Struts. For my
> Struts jsp, I would prefer to display the available options as a drop
> down (I can get the values). The problem is in how to return the value
> using the macro prompt?
|
|
|
|
|