Quiz question (.txt extension)

Pat Shugart ShugartP@trinity-health.org
Thu, 02 Jun 2005 14:57:27 -0400


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)