Quiz question (.txt extension)
Guy Werry
guy.werry@hbms.ca
Thu, 2 Jun 2005 14:29:48 -0500
That's pretty cool, but the ORIGINAL request is for a Unix box ... I tried
the Unix version of this suggestion and it does NOT work on Unix. (Thus
shaking my core values that Unix is the wonderfullest OS out there!)
Guy L. Werry
Senior Systems Analyst
Hudson Bay Mining & Smelting Co., Limited.
-----Original Message-----
From: Thomson, Martyn EDUC:EX [mailto:Martyn.Thomson@gov.bc.ca]
Sent: Thursday, June 02, 2005 2:22 PM
To: 'Guy Werry'; powerh-l@lists.sowder.com
Subject: RE: Quiz question (.txt extension)
I know you're talking UNIX, and on OpenVMS the default output also has a
.TXT extension. But before running the Quiz program, you can name the report
anything you like using -
$ define qzoutput REP:RML43110.REP
Martyn Thomson
-----Original Message-----
From: powerh-l-admin@lists.sowder.com
[mailto:powerh-l-admin@lists.sowder.com]On Behalf Of Guy Werry
Sent: Thursday, June 02, 2005 12:09 PM
To: powerh-l@lists.sowder.com
Subject: RE: Quiz question (.txt extension)
There is a definitive answer, essentially from Cognos ... Quiz has behaved
this way since forever - I've been using Quiz since about 1987 and it has
done that since then. There's no way to influence that in the dictionary or
Quiz itself.
Guy L. Werry
Senior Systems Analyst
Hudson Bay Mining & Smelting Co., Limited.
-----Original Message-----
From: Pat Shugart [mailto:ShugartP@trinity-health.org]
Sent: Thursday, June 02, 2005 1:57 PM
To: powerh-l@lists.sowder.com
Subject: RE: Quiz question (.txt extension)
Thanks to Brian and Oran for the rename suggestion. And also to Goparaju
for the symbolic link suggestion. We thought of those, BUT...
My question should have been: Why does QUIZ insist upon adding a .txt
extension to a report file and how can I modify that behavior (within
Quiz or the dictionary would be preferable)?
Late breaking news... after searching through the archives, this
question has been asked, but not answered by anyone from Cognos. But the
answers from others indicates this .txt behavior is something that can't
be changed. I'd love to get a definitive answer from someone from
Cognos, though...
Thanks,
/pat
>>> "brian_matthewsbrian matthews" <brian_matthews_bmw@hotmail.com>
06/02/05 2:03 PM >>>
how about going for export
mbar0023="$AMISYS_SPOOL/${AMISYS_JOBNUM}_mbar0023" and then renaming
$AMISYS_SPOOL/${AMISYS_JOBNUM}_mbar0023.txt produced by quiz to
$AMISYS_SPOOL/${AMISYS_JOBNUM}_mbar0023.rpt.
It looks like quiz has been designed to always add a .txt filke
extention -
or could this be a bug ?
regards Bri,
>From: "Pat Shugart" <ShugartP@trinity-health.org>
>To: brian_matthews_bmw@hotmail.com, powerh-l@lists.sowder.com
>Subject: RE: Quiz question (.txt extension)
>Date: Thu, 02 Jun 2005 13:51:32 -0400
>
>Brian,
>
>That's pretty much what we're doing already. Maybe the code snippets
>below will clarify things a bit...
>
>Job Script:
>export mbar0023="$AMISYS_SPOOL/${AMISYS_JOBNUM}_mbar0023.rpt"
>quiz << !EOQUIZ
>USE $CQUIZ/mbar0023.qzc
>EXIT
>!EOQUIZ
>
>Quiz Program:
>SET REP LIM 2000000 NAME $mbar0023 DEV DISC
>
>Output:
>$ ls /aa/2/dev/jcl/spool/j405_mbar0023*
>/aa/2/dev/jcl/spool/j405_mbar0023.rpt.txt
>
>/pat
>
> >>> "brian_matthewsbrian matthews" <brian_matthews_bmw@hotmail.com>
>06/02/05 1:20 PM >>>
>you could always try a setsystemval to create a variable
>'QUIZREP'containing
>the required file name and the then add the following to the quiz
>report
>'set report device disk name $QUIZREP'
>
>regards Bri,
>
> >From: "Pat Shugart" <ShugartP@trinity-health.org>
> >To: powerh-l@lists.sowder.com
> >Subject: Quiz question (.txt extension)
> >Date: Thu, 02 Jun 2005 13:01:52 -0400
> >
> >Greetings Listers,
> >
> >Environment: HP-9000, HP-UX, v8.43D
> >Amisys migration from HP3k to Amisys Advance2 on HP9k
> >
> >When we run Quiz reports, the reports have a .txt extension on
them.
> >We're trying to force another extension on the filename but are not
> >having any success. We get filenames like <reportname.rpt.txt> with
>that
> >pesky .txt sticking around no matter what we do. We've reviewed the
> >documentation, but are not finding anything that addresses this
> >situation.
> >
> >Does anyone have any ideas?
> >
> >TIA,
> >
> >--
> >Pat Shugart
> >Trinity Information Services
> >34605 Twelve Mile Road
> >Farmington Hills, MI 48331
> >248.489.6123
> >248.488.9195 (fax)
--
= = = = = = = = = = = = = = = = = = = = = = = = = = = =
Mailing list: powerh-l@lists.sowder.com
Subscribe: "subscribe" in message body to powerh-l-request@lists.sowder.com
Unsubscribe: "unsubscribe <password>" in message body to
powerh-l-request@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.
--
= = = = = = = = = = = = = = = = = = = = = = = = = = = =
Mailing list: powerh-l@lists.sowder.com
Subscribe: "subscribe" in message body to powerh-l-request@lists.sowder.com
Unsubscribe: "unsubscribe <password>" in message body to
powerh-l-request@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.