Question for Alpha Users - Parameter passing QUICK Screens

Terry Pickering pickering@myself.com
Tue, 17 Aug 1999 17:42:24 -0700


The following pertains to user on ALPHA machines only:


I've come accross many times when I needed to have a DCL job command file
with parameters in the file that is used by QTP or QUIZ. I don't really
want to have to code the entire command procedure in the quick screen
before submitting it, but I haven't figured out a way to do it otherwise.

For example, let's say you want to submit a command procedure that is like
this:

$QTP AUTO=GLS_EXE:GLST014.QTC
2000
02
$QUIZ AUTO=GLS_EXE:GLSZ001.QZC
$EXIT

I've tried creating a command procedure like this and passed the
parameters, but that doesn't work either. The substitution only works for
DCL commands. QTP thinks you're giving "'p1" as the prompted value and it
is not substituted correctly.

$QTP AUTO=GLS_EXE:GLST014.QTC
'p1
'p2
$QUIZ AUTO=GLS_EXE:GLSZ001.QZC


In the real life example there could be 20-30 (or more) DCL commands. I'd
much rather have a command procedure somewhere other than embedded within
my QUICK code. It's also much easier to test the command procedure first by
writing the DCL commands in the editor.

The only way I've figured out how to do it now, is to create a temporary
file, write out all the commands using QUICK, submit the temporary file as
a job, then delete the file. Some of the parameters are for CHOOSE prompts
or DEFINE prompts. In some cases you could set a logical and then use the
GETSYSTEMVAL, but that presents problems when the programs are being run
interactively.

Any suggestions?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Terry Pickering        Consultant Extraordinare
Monday and Friday        Tuesday - Thursday
Portland                 Eugene
(503) 245-7178           (541) 687-3416
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
powerh-l@lists.swau.edu is gatewayed one-way to bit.listserv.powerh-l
This list is closed, thus to post to the list, you must be a subscriber.