Re: Problem with Temporary command

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: Problem with Temporary command

Allan Reese (Cefas)
I think the code as shown should work, but the SAVE command has a subcommand UNSELECTED with default value
of RETAIN.  The documentation refers to FILTERed cases but not to SELECTed cases - maybe they are synonymous.

Two suggestions:
1) Look at syntax and change to explictly UNSELECTED=DELETE,
2) Forget TEMPORARY, and make the syntax a sequence of
GET
SELECT
SAVE
GET
SELECT
SAVE
etc.

-----
Date:    Tue, 13 Jun 2006 16:36:51 -0400
From:    nqueen <[hidden email]>
Subject: Problem with Temporary command

Hi,
I would like to create many files (16) from one file depending on a
variable. ...

GET FILE = 'c:\source.sav'.

TEMPORARY.
SELECT IF(CODE=1000).
SAVE TRANSLATE OUTFILE = 'c:\Code1000.XLS'
 /TYPE = XLS
 /FIELDNAMES
 /REPLACE.


***********************************************************************************
This email and any attachments are intended for the named recipient only.  Its unauthorised use, distribution, disclosure, storage or copying is not permitted.  If you have received it in error, please destroy all copies and notify the sender.  In messages of a non-business nature, the views and opinions expressed are the author's own and do not necessarily reflect those of the organisation from which it is sent.  All emails may be subject to monitoring.
***********************************************************************************