Passing Parms from Quick to Quiz
Mike Palandri
palandri@4j.lane.edu
Mon, 19 Apr 1999 17:57:21 -0700
At 03:42 PM 4/19/99 -0700, you wrote:
>Hi.
>
>I will need run quiz from a quick screen, and pass several arguments to
>quiz. The system that I am working on is:
>OS HP3000 5.5p6
> ph v8.19c2
>
>I known this was not possible in version 7.29?
>Any help will be greatly appreciated. Thanks
Hi Abraham,
There are a number of "roll your own" methods for process launching that
are not version specific. One way is to create and execute a command file
(DCL for me, MPE for you) from within a screen. This is a high maintenance
solution, since you need to change the quick screen to change the generated
command file. I inherited several of these screens at my current job.
Another method is to use a "template" command file that contains dummy
params. Your screen reads the template file, writing out a "real" command
file in which you replace the dummy parameters with parameters you've
collected on your screen. This allows changes to be made to the template
without the need to modify screen source, e.g. you can set up a table
driven launch process in which each parameter in the template command file
is described in a data table. By using table entries in conjunction with
replacable dummy parameters in the template file, you can modify the
parameters used in a command file without the need to modify screen code.
Mike