Re: saving .spv with only visible sections retained
Posted by
Art Kendall on
Feb 09, 2011; 4:15pm
URL: http://spssx-discussion.165.s1.nabble.com/saving-spv-with-only-visible-sections-retained-tp3374699p3377849.html
With Jon Peck's help I have gotten MODIFY OUTPUT
working.
The first thing in the fix was that I
uninstalled the SPSS statistics Python Essentials and
reinstalled it. The syntax then worked. It was very fast.
I learned that MODIFY OUTPUT works on .spv files that have been
read back in (unlike MODIFY TABLES which I mentioned in an earlier
post this morning).
I learned that if you want to delete whole groups of
itemtypes you can set them as hidden BEFORE the run by
<edit> <options> <viewer>
OR
you can hide or make visible very specific index entries by
clicking on the little icon in the index until it says
"hidden" or "visible" in the bar at the bottom left of the output
screen. The last segment in the example syntax will
delete only hidden index entries.
There is syntax below that demonstrates some output clean up syntax.
I suggest that you highlight segments and run them one at a time to
see what they do.
Art Kendall
Social Research Consultants
GET
FILE='C:\Program
Files\IBM\SPSS\Statistics\19\Samples\English\carpet.sav'.
DATASET NAME DataSet1 WINDOW=FRONT.
FREQUENCIES VARIABLES= package brand
/ORDER=ANALYSIS.
FREQUENCIES VARIABLES=brand price
/ORDER=ANALYSIS.
FREQUENCIES VARIABLES= seal price
/ORDER=ANALYSIS.
* these work with SPV files that are read back into SPSS.
SPSSINC MODIFY OUTPUT ALL
/IF OUTLINETITLE= "Active Dataset"
PROCESS=ALL
/VISIBILITY VISIBLE=DELETE.
SPSSINC MODIFY OUTPUT ALL
/IF OUTLINETITLE= "notes"
PROCESS= ALL
/VISIBILITY VISIBLE=DELETE.
SPSSINC MODIFY OUTPUT ALL
/IF OUTLINETITLE= "WARNINGS"
PROCESS= ALL
/VISIBILITY VISIBLE=DELETE.
**** CAREFUL **** .
* This cleaned out the "statistics" from FREQUENCIES but not
"descriptive statistics" from DESCRIPTIVES.
* I would double check how this works from other procedures before
using it..
SPSSINC MODIFY OUTPUT ALL
/IF OUTLINETITLE= "STATISTICS"
PROCESS= ALL
/VISIBILITY VISIBLE=DELETE.
*if you want to delete whole groups of itemtypes you can set them
as hidden BEFORE the run by
<edit> <options> <viewer>
OR
you can hide very specific things by clicking on the little icon
in the index until it says
"hidden" in bar at the bottom left of the screen.
***** This can be very dangerous *****.
SPSSINC MODIFY OUTPUT ALL
/IF VISIBILITY=FALSE PROCESS=ALL
/VISIBILITY VISIBLE=DELETE.
On 2/9/2011 4:53 AM, lucameyer wrote:
I confirm the SPSS MODIFY OUTPUT is reasonably fast. I have just tested it on
a 3,7 MB spv output file - btw generated when I still had v18 installed -
using a MacBook Pro (Intel 2.4 Ghz, 4 GB RAM) and V19.0.0.1 and I have got
it modified in 30 seconds.
So something must be wrong with your settings, can you easily run other
extension commands?
Cheers,
Luca
-----
Mr. Luca Meyer
www.lucameyer.com
--
View this message in context: http://spssx-discussion.1045642.n5.nabble.com/saving-spv-with-only-visible-sections-retained-tp3374699p3377315.html
Sent from the SPSSX Discussion mailing list archive at Nabble.com.
=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD
=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD
Art Kendall
Social Research Consultants