[Download-List] Date Stamping HOLD File Name?

Scott Howder HOWDERS at cedarville.edu
Wed Sep 5 13:02:26 EDT 2007


I can think of several ways to do this:

1.  Use the @ variables.  Something like this aught to work:

DOWNLOAD filename field1 field2 FORMAT format FILE directory
@DATE_filename.csv
DOWNLOAD filename field1 field2 FORMAT format FILE directory
@YEAR at MONTH@DAY_filename.csv 

The first example will create a file in "directory" called
14493_filename.csv...it would use the internal date.  The second example
will create a file called 070905_filename.csv.

2.  Create a paragraph that prompts for the date.  Something like
this:

DOWNLOAD filename field1 field2 FORMAT format FILE directory <<PROMPT
TEXT>>_filename.csv

3.  Create a program that builds the DOWNLOAD command and executes it..
 It would build the necessary file name using the current date.

There may by other options but these immediately came to mind.

Scott

Scott Howder
Associate Director of Computer Services
Cedarville University
howders at cedarville.edu


>>> "Minatra, Pat H." <pminatra at hsutx.edu> 9/5/2007 11:46 AM >>>
So far, I have not been able to determine how to do this and we have
been wanting to do this for years.

Maybe someone has learned a way to do this and will share it?

-------------------------
"Life is but a twinkle in the eye of eternity"
"The shortest distance between a problem and a solution is the distance
between your knees and the floor"
"sorrow looks back - worry looks around - faith looks up"
Regards,
Pat H. Minatra - N5GJR
(325) 670-5804 voice
(325) 670-1570 fax
Hardin-Simmons University 
www.hsutx.edu 
PO BOX 16040
Abilene, TX  79698
-------------------------
The mission of Hardin-Simmons University is to be a community dedicated
to providing excellence in education enlightened by Christian faith and
values.
-------------------------
PRIVILEGED AND CONFIDENTIAL NOTICE: The information contained in this
e-mail may be confidential and/or privileged. This e-mail is intended to
be reviewed initially by only the individual named above. If the reader
of this e-mail is not the intended recipient or a representative of the
intended recipient, you are hereby notified that any review,
dissemination or copying of this e-mail, or the information contained
herein, is prohibited. If you have received this e-mail in error, notify
the above sender, send the message back and then delete it.
-------------------------
Thank you for your assistance. Hardin-Simmons University; 2200
Hickory/HSU Box 16040; Abilene, TX  79698; 325.670.1000
------------------------- 


-----Original Message-----
From: download-list-bounces at cedarville.edu
[mailto:download-list-bounces at cedarville.edu] On Behalf Of Jeffery G.
Summers
Sent: Wednesday, September 05, 2007 10:28 AM
To: 'Cedarville DOWNLOAD Users'
Subject: [Download-List] Date Stamping HOLD File Name?

This is a question I've had for a long time and never have figured out
how
to do it.  Is date-stamping the output file name possible with
DOWNLOAD?

Essentially I want to have TODAYSDATE.MYFILENAME.EXT (or
20070905.STUDENTS.CSV).  Any suggestions?  Is this something simple
I've
missed?

Thanks!

Jeffery G. Summers
System Admin
Transylvania University
300 N. Broadway
Lexington, KY 40508
jsummers at transy.edu 




Successfully scanned by McAfee SIG 3200 Appliance.
_______________________________________________
download-list mailing list
download-list at cedarville.edu 
http://mail.cedarville.edu/mailman/listinfo/download-list 

_______________________________________________
download-list mailing list
download-list at cedarville.edu 
http://mail.cedarville.edu/mailman/listinfo/download-list



More information about the download-list mailing list