Passing values to the read prompts via cache routine?
Hi Developers
Is there any way that we can pass the values to the read prompts via cache routine.
For example, we have a couple of reports/routine in our system which accepts some inputs and after taking the inputs it generates some data. Right now it has proper UI and where User enters the value and in routines we have Read statements which accepts those inputs for further processing.
Now we want to schedule all these reports on a task manager on cache and don't want to modify the existing routines so wanted to check is there any way to pass the values to those "Read statement" via cache routine ?
To make it more clear, following is a test routine, if we run on terminal it accepts for two inputs, now if we want to trigger the same via a routine, then how to supply these "Read" command values ?
W !,"Enter First Variable Name" R a
W !,"Enter Second Variable Name" R b
s ^zparas=a_" "_b
quit
Thanks in Advance.