[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

Re[2]: Renaming the output files



     That's exactly how to do it.  It works perfectly.


______________________________ Reply Separator _________________________________
Subject: Re: Renaming the output files
Author:  SQR-USERS@USA.NET at uucp
Date:    11/17/97 05:04 PM


Let me preface this by saying that I have never tried this before.  We know
that when using DECLARE-REPORT, by default it names additional reports with the
extension of L01, L02, etc.  On the other hand, the command NEW-REPORT allows
you to define your own filename.  Now what I am thinking is if we use these
together, we might be able to name the multiple reports whatever we want.
According to the SQR manual, NEW-REPORT affects only the "current" report, so
if right at the beginning of your SQR, you go through each of your multiple
reports  (USE-REPORT) and issue a NEW-REPORT (using the filename that YOU
want), no .Lxx files should be created since the page would be blank.

If you try this, let me know if it works.

David L Price
Foundation Software, Inc.
david@foundsoft.com




---Prasanna <athawale@OMSDEV.IMS.BELLCORE.COM> wrote:
>
> To All,
>
>         I'm generating two reports from within my SQR program.  When the
reports
> are created, the output files are (according to SQR convention) named
<file_name>.LIS
> <file_name>.L01, ...L02.... and so on.  I want to rename these files to
something else.
> currently I'm renaming them through my COM file.  Is there a way to rename
them from within
> the SQR program and/or the command line??.
>
>         I have tried the -F<file_name> option at command line but that works
for the first
> report generated only and not the subsequent ones.
>
>         I'm running SQR 3.0 on VMS with ORACLE 7.  Any help is appreciated.
>
> PA
>

__________________________________________________________________
Sent by Yahoo! Mail. Get your free e-mail at http://mail.yahoo.com