LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (November 2005)Back to main SPSSX-L pageJoin or leave SPSSX-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 16 Nov 2005 09:43:15 +0100
Reply-To:     Georg.Maubach@dpwnbc.net
Sender:       "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From:         Georg Maubach <Georg.Maubach@dpwnbc.net>
Subject:      Solution to print date 'n' time of syntax run
Content-Type: text/plain; charset="us-ascii"

Hi all,

we need an identification in our outputs to know when the syntax was last run.

We created the following:

STRING SyntaxRunAt (A20). COMPUTE SyntaxRunAt = STRING ($time, DATETIME20). LIST SyntaxRunAt /CASE=1. MATCH FILES FILE=* /DROP SyntaxRunAt. EXECUTE.

This solution has a couple of disadvantages, e. g. a data file has been defined before the 3 lines can be used, a new variable has to be created which has to be removed after the routine, the 3 lines takes a lot of time if the data set is very large.

Is there a better solution?

Any help is appreciated.

Best regards

Georg Maubach Market Analyst mailto:Georg.Maubach@dpwnbc.net


Back to: Top of message | Previous page | Main SPSSX-L page