|Date: ||Fri, 14 May 2004 15:22:30 -0500|
|Reply-To: ||"Peck, Jon" <email@example.com>|
|Sender: ||"SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>|
|From: ||"Peck, Jon" <firstname.lastname@example.org>|
|Subject: ||Re: Filename with datevalue|
|Content-Type: ||text/plain; charset="US-ASCII"|
There is an example script to do this very task in the scripting chapter of the Data Management book.
From: SPSSX(r) Discussion [mailto:SPSSX-L@LISTSERV.UGA.EDU] On Behalf Of Richard Ristow
Sent: Friday, May 14, 2004 3:05 PM
Subject: Re: [SPSSX-L] Filename with datevalue
At 02:27 PM 5/14/2004, Kraan, Egon wrote:
>I need to be able to save a file where part of the file name is julian date
>value. Does anyone have a script, macro, syntax, or anything else that can
>where 0413501 is updated based on the actual datevalue.
See my posting "Re: file with actual date and time", Thu, 1 Apr 2004
14:22:26 -0500. Here's the core part of that posting. You'll have to
modify it to get date in Julian form, rather than the form "01-APR-2004
14-15" (where "14-15" is hour and minute, because file names cannot
>This is a 'scripting' problem: you want the SPSS syntax to be
>modified, depending on something that happens when the program *runs*.
>There are two solutions, I imagine. One would use real scripting, with
>the Sax Basic language. The other takes advantage of a quirk of