MODIFY OUTPUT help Please

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

MODIFY OUTPUT help Please

Heidi Green

Hello List Members-

 

I have recently downloaded and installed the SPSSINC MODIFY OUTPUT extension, but I am having some trouble getting it to do what I want.

 

I ran SPSSINC MODIFY OUTPUT /HELP. At the end of the help text, there are a few examples. One provides this code:

 

SPSSINC MODIFY OUTPUT TEXTS

/IF OUTLINETEXT='Active Dataset'

/VISIBILITY VISIBLE=FALSE.

 

It is meant to hide the output text items that show what the active dataset is. When I run this, I receive the following error message:

 

Subcommand IF: OUTLINETEXT is not a valid keyword. This command is not executed.

 

Does anyone know if this example is incorrect, or if there might be something wrong with it?

 

The following code DOES work to hide the ‘Active dataset’ message, but also hides other text items. I would prefer to have more control over what is hidden and what is not.

SPSSINC MODIFY OUTPUT TEXTS

/IF PROCESS=ALL

/REPLACE ITEMS

/VISIBILITY VISIBLE=FALSE.

 

Question #2: Is there a command that will remove an output item completely, rather than just hiding it? In earlier versions of SPSS, I used the “Clean Viewer” autoscripts to do this, but I would like to know if there is a Python equivalent or better method for SPSS 17. To make sure everything ran correctly and to help me figure out where I am in my syntax, I generally like to view my commands in the LOG output items, but once I am satisfied with my results, I like to remove them. It would be fantastic if I could do this via syntax periodically in my processing. Perhaps it is a hold-out from the early SPSS Viewer days when navigating the output window took an extreme amount of memory and moving items around was slow & unreliable; but I like to keep my output as clean as possible.

 

Thanks for reading my questions, and I look forward to hearing your responses,

-Heidi

 

P.S. I checked the Dev Central forums but found no entries when I searched for MODIFY OUTPUT.

Reply | Threaded
Open this post in threaded view
|

Re: MODIFY OUTPUT help Please

Peck, Jon

1.       It is OUTLINETITLE, not OUTLINETEXT.

2.      There is currently no deletion option, although the underlying functionality certainly exists.  I thought it was a bit dangerous.  I can add it to the syntax, but I will probably not add it to the dialog box.

 

Regards,

Jon Peck

 


From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Heidi Green
Sent: Tuesday, February 17, 2009 10:50 AM
To: [hidden email]
Subject: [SPSSX-L] MODIFY OUTPUT help Please

 

Hello List Members-

 

I have recently downloaded and installed the SPSSINC MODIFY OUTPUT extension, but I am having some trouble getting it to do what I want.

 

I ran SPSSINC MODIFY OUTPUT /HELP. At the end of the help text, there are a few examples. One provides this code:

 

SPSSINC MODIFY OUTPUT TEXTS

/IF OUTLINETEXT='Active Dataset'

/VISIBILITY VISIBLE=FALSE.

 

It is meant to hide the output text items that show what the active dataset is. When I run this, I receive the following error message:

 

Subcommand IF: OUTLINETEXT is not a valid keyword. This command is not executed.

 

Does anyone know if this example is incorrect, or if there might be something wrong with it?

 

The following code DOES work to hide the ‘Active dataset’ message, but also hides other text items. I would prefer to have more control over what is hidden and what is not.

SPSSINC MODIFY OUTPUT TEXTS

/IF PROCESS=ALL

/REPLACE ITEMS

/VISIBILITY VISIBLE=FALSE.

 

Question #2: Is there a command that will remove an output item completely, rather than just hiding it? In earlier versions of SPSS, I used the “Clean Viewer” autoscripts to do this, but I would like to know if there is a Python equivalent or better method for SPSS 17. To make sure everything ran correctly and to help me figure out where I am in my syntax, I generally like to view my commands in the LOG output items, but once I am satisfied with my results, I like to remove them. It would be fantastic if I could do this via syntax periodically in my processing. Perhaps it is a hold-out from the early SPSS Viewer days when navigating the output window took an extreme amount of memory and moving items around was slow & unreliable; but I like to keep my output as clean as possible.

 

Thanks for reading my questions, and I look forward to hearing your responses,

-Heidi

 

P.S. I checked the Dev Central forums but found no entries when I searched for MODIFY OUTPUT.