System variables from within QUIZ
Joe Boyle
atla38 at dsl.pipex.com
Thu Nov 30 11:55:31 CST 2006
In fact, all qtp's and quiz's in the example below can see the setsystemval
var created in qz1.
Quiz
>exe qz1.qzc
>!qtp
> exe qt1.qtc
>!quiz
> exe qz2.qzc
>exit
>exit
>exit
-----Original Message-----
From: powerh-l-bounces+atla38=dsl.pipex.com at lists.sowder.com
[mailto:powerh-l-bounces+atla38=dsl.pipex.com at lists.sowder.com] On Behalf Of
Joe Boyle
Sent: 30 November 2006 14:49
To: powerh-l at lists.sowder.com
Subject: RE: System variables from within QUIZ
There is nothing to stop you picking up the variable via getsystemval in a
second quiz so long as it is called in the same quiz session,
Quiz
>exe qz1.qzc
>exe qz2.qzc
>exit
-----Original Message-----
From: powerh-l-bounces+atla38=dsl.pipex.com at lists.sowder.com
[mailto:powerh-l-bounces+atla38=dsl.pipex.com at lists.sowder.com] On Behalf Of
Findlay, Colin
Sent: 30 November 2006 09:58
To: Jeff Hoffman; powerh-l at lists.sowder.com
Subject: RE: System variables from within QUIZ
Or record 1 if you're on VMS !
-----Original Message-----
From: Jeff Hoffman [mailto:wonicon at optusnet.com.au]
Sent: 30 November 2006 09:55
To: powerh-l at lists.sowder.com
Subject: RE: System variables from within QUIZ
Hi
You could also setup a subfile and link to record 0 of *subfilename
Jeff
At 08:18 PM 30/11/2006, you wrote:
>content-class: urn:content-classes:message
>Content-Type: multipart/alternative;
> boundary="----_=_NextPart_001_01C71460.813FBB26"
>
>Fernando,
>
>If this extra data you require is in a file then why not add a 'LINK TO
>RECORD 0 OF <record name>' to your ACCESS statement?
>
>For this to work you would need to have a direct file declared in your
>dictionary with a single item of suitable length.
>
>
>regards,
>
>Robert W.Mills
>Systems Development Manager
>Pinnacle Arvato
>(020) 8309 3604
>
>
>
>----------
>From:
powerh-l-bounces+robert.mills=pinnaclearvato.co.uk at lists.sowder.com
>[mailto:powerh-l-bounces+robert.mills=pinnaclearvato.co.uk at lists.sowder
.com]
>On Behalf Of fernando.olmos at hpa.com.au
>Sent: 30 November 2006 05:35
>To: powerh-l at lists.sowder.com
>Subject: System variables from within QUIZ
>
>Hi again guys...
>
>Is there a way to set a system variable from within UNIX, but not using
>setsystemval(), but by actually calling Unix commands directly from
QUIZ?
>
>i.e. QUIZ
> >
> >!setenv VAR1 "test"
>
>Yes I know this can be done and it works, but the variable is not kept
>once QUIZ returns back from the shell. So when I use getsystemval(), it
>cannot find it.
>
>The reason I need to do this outside of setsystemval, is that I have
>created a txt file that has dynamic data in a single line...
>
>i.e. "123456, 344545, 456566, 465344," <--- this is the single
>line text file
>
>What I want is to be able to use this text file as part of a heading
into
>my QUIZ report in another pass. How is it possible to DEFINE a variable
in
>QUIZ to say "... give me the contents of a text file"?
>
>Thanks
>
>Fernando Olmos
>MIS
>Senior Analyst Programmer
>
>HPA
>Direct: 03 9217 5411
>Mobile: 0410 382 857
>Fax: 03 9217 5716
>
><file:///H:/Appdata/Microsoft/Signatures/www.hpa.com.au>www.hpa.com.au
>
>
>**********************************************************************
>IMPORTANT
>The contents of this e-mail and its attachments are confidential and
intended
>solely for the use of the individual or entity to whom they are
addressed. If
>you received this e-mail in error, please notify the HPA Postmaster,
>postmaster at hpa.com.au,
>then delete the e-mail.
>This footnote also confirms that this e-mail message has been swept for
the
>presence of computer viruses by Ironport. Before opening or using any
>attachments, check them for viruses and defects.
>Our liability is limited to resupplying any affected attachments.
>HPA collects personal information to provide and market our services.
For more
>information about use, disclosure and access see our Privacy Policy at
>www.hpa.com.au
>**********************************************************************
>--
>= = = = = = = = = = = = = = = = = = = = = = = = = = = =
>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.
--
= = = = = = = = = = = = = = = = = = = = = = = = = = = =
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