Dynamic File Name in Quiz
Vidyasagar Goparaju
Vidyasagar.Goparaju at kewill.com
Fri Mar 9 10:27:46 CST 2007
You could do the same thing under Unix environment, except you need to do SETSYSTEMVAL in quick to set the unix variable. Run command does not work the way it works on VMS & MPE.
See the example below... works fine under Unix environment.
Test.qks...
screen test
procedure initialize
begin
if not setsystemval("QUIZLIST","quiz_report_01.txt")
then error "Error while setting report file"
run command "nohup quiz auto=test.qzs &"
end
build
test.qzs....
access filex
rep file_no
set rep dev disc name $QUIZLIST
go
Sagar
-----Original Message-----
From: powerh-l-bounces+vidyasagar.goparaju=kewill.com at lists.sowder.com [mailto:powerh-l-bounces+vidyasagar.goparaju=kewill.com at lists.sowder.com] On Behalf Of Abd Ghani Abdullah
Sent: Friday, March 09, 2007 7:40 AM
To: Jeff Hoffman
Cc: powerh-l at lists.sowder.com
Subject: Re: Dynamic File Name in Quiz
Thanks Jeff. Actually there was an earlier posting on this.
Further to the above, I would like to find out:
1. Is there a way to do a keyword search on the old posting?
2. Is there a way to dynamically set the env variable from QUICK? Tried the
old RUN COM but obviously it does not work.
Thanks & regards,
Ghani.
Quoting Jeff Hoffman <wonicon at optusnet.com.au>:
> Hi
>
> In you login script:
> create an env variable based on the user name to use as directory for that
> user
> if the director does not exist then create it
> then either change dir to that dir or alter the appropriate PH
> variable to point to this directory
>
> Jeff
>
> At 04:11 AM 9/03/2007, you wrote:
>
> >Dear Gurus,
> >
> >Is there a way to make the SET REP NAME XX dynamic in QUIZ on UNIX?
> >We have a customer who use multiple quiz program to produce a series of
> >report. These reports are then printed at oen go as a single report to the
> >local printer.
> >
> >In MPE envioroment the FILE EQUATION work like a charm. If multiple users
> are
> >using it, the link only exist for that particular session.
> >
> >We have changed these to ln in UNIX. When more than a single user log-in,
> the
> >result is a disaster!!
> >
> >Thanks & regards.
> >--
> >= = = = = = = = = = = = = = = = = = = = = = = = = = = =
> >Mailing list: powerh-l at lists.sowder.com
> >Subscribe: "subscribe" in message body to
> >powerh-l-request at lists.sowder.com
> >Unsubscribe: "unsubscribe <password>" in message
> >body to powerh-l-request at lists.sowder.com
> >http://lists.sowder.com/mailman/listinfo/powerh-l
> >This list is closed, thus to post to the list you must be a subscriber.
> >Add 'site:lists.sowder.com powerh-l' to your search terms to search
> >the list archive at Google.
>
> --
> = = = = = = = = = = = = = = = = = = = = = = = = = = = =
> Mailing list: powerh-l at lists.sowder.com
> Subscribe: "subscribe" in message body to
> powerh-l-request at lists.sowder.com
> Unsubscribe: "unsubscribe <password>" in message body to
> powerh-l-request at lists.sowder.com
> http://lists.sowder.com/mailman/listinfo/powerh-l
> This list is closed, thus to post to the list you must be a subscriber.
> Add 'site:lists.sowder.com powerh-l' to your search terms to search the list
> archive at Google.
>
--
= = = = = = = = = = = = = = = = = = = = = = = = = = = =
Mailing list: powerh-l at lists.sowder.com
Subscribe: "subscribe" in message body to powerh-l-request at lists.sowder.com
Unsubscribe: "unsubscribe <password>" in message body to powerh-l-request at lists.sowder.com
http://lists.sowder.com/mailman/listinfo/powerh-l
This list is closed, thus to post to the list you must be a subscriber.
Add 'site:lists.sowder.com powerh-l' to your search terms to search the list archive at Google.
More information about the powerh-l
mailing list