Passing Parms from Quick to Quiz
Walker, Chris
ChrisWalker@tateandlyle.com
Tue, 20 Apr 1999 11:19:10 +0100
Another solution is to define a standard text file in the dictionary. Use a
logical name (or whatever the file indirection method on other operating
systems is) so that every user has his own copy. Then write Quiz statements
in this file in the selection screen. Quiz reports are run by a standard
driver that loads the report, then uses the text file:
EXEC COMPILED-QUIZ NOGO
USE QUIZ-STATEMENTS NOLIST
GO
It's clumsier than SYSTEMVALs or parameters, but it offers the greatest
flexibility. (Programmers who like to be unpopular with their colleagues
can write most of the Quiz statements in the selection screen.) You can
also write the SET REPORT statements in this file, so users can select
report destination etc in the screen, too.
Chris Walker
> -----Original Message-----
> From: Chris Sharman [SMTP:Chris.Sharman@ccagroup.co.uk]
> Sent: Tuesday, April 20, 1999 10:25 AM
> To: palandri@4j.lane.edu
> Cc: Chris.Sharman@ccagroup.co.uk; powerh-l@lists.swau.edu
> Subject: Re: Passing Parms from Quick to Quiz
>
> >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
>
> Dunno about MPE, but that's making excessively heavy weather of it in VMS
> DCL.
> DCL command files support real parameters (P1-P8), so supply them from
> Quick
> with: run command "@myproc val1 val2 ...", and use the symbols P1-P8
> within the
> procedure. Symbol substitution behaviour can be confusing sometimes, but
> it's
> very powerful, so ask if you can't make it go.
>
> There's also job logicals (use in Quick via [get/set/delete]systemval).
>
> Chris
> ______________________________________________________________________
> Chris Sharman Chris.Sharman@CCAgroup.co.uk
> CCA Stationery Ltd, Eastway, Fulwood, Preston, Lancashire, PR2 9WS.
> = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
> =
> 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.
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
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.