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

Re: [sqr-users] Save As for Text Files



Or, you can even create a new subfolder that is dated to put the new file
with the same filename.  You can do this by using command line commands
while the SQR is running.  Something like:

    let $FileDT = $AsOfToday
    let $Make_Dir = 'command.com /c mkdir T:\Groups\Custom\' || $FileDT
    call system using $Make_Dir #Dir_Return_Value

It's an option if the filename must be consistant and you cannot concatenate
process_instance, counter or time to the filename.

Hope this helps.


Stephen

----- Original Message -----
From: "James Lanter" <jelanter@gw.fis.NCSU.EDU>
To: <sqr-users@sqrug.org>
Sent: Tuesday, January 07, 2003 9:02 AM
Subject: [sqr-users] Save As for Text Files


> This one seems easy, but I'm at a lost.
>
> Basically, I need to create a new text file each time the SQR is run.
> The output has to be a fixed length text file and I use the date in the
> file name.  The problem is I can't open a text file that is not there
> and I don't want to overwrite a previous run's output.  Am I missing
> something simple here?
>
> Thanks!
>
> Jamie
>
> _______________________________________________
> sqr-users mailing list
> sqr-users@sqrug.org
> http://www.sqrug.org/mailman/listinfo/sqr-users
>

_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users