Procedure to cancel output

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

Procedure to cancel output

Luca Meyer-3
In SPSS 15 I use to have a simple & practical script that would cancel the
ouput leaving SPSS Viewer open for other output to be diplayed.

I think I got it from this list or from Raynald's site and goes like:

Sub Main
  Set objOutputDoc=objSpssApp.GetDesignatedOutputDoc
 objOutputDoc.SelectAll
 objOutputDoc.Delete
End Sub

Now in SPSS 16 I get a warning "JCAdapter not yet initialized", am I missing
something? How can I cancel the viewer output?

Thanks,
Luca

Mr. Luca MEYER
Market research, data analysis & more
www.lucameyer.com <http://www.lucameyer.com/>  - Tel: +39.339.495.00.21


No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.19.14/1247 - Release Date: 28/01/2008
10.59

=====================
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
Reply | Threaded
Open this post in threaded view
|

Re: Procedure to cancel output

Peck, Jon
This seems to run without a problem for me.  Are you using 16.0.1?  Are you running this from the Utilities menu or a toolbar button?  Any other interesting details?

Regards,
Jon Peck

-----Original Message-----
From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Luca Meyer
Sent: Wednesday, January 30, 2008 11:07 PM
To: [hidden email]
Subject: [SPSSX-L] Procedure to cancel output

In SPSS 15 I use to have a simple & practical script that would cancel the
ouput leaving SPSS Viewer open for other output to be diplayed.

I think I got it from this list or from Raynald's site and goes like:

Sub Main
  Set objOutputDoc=objSpssApp.GetDesignatedOutputDoc
 objOutputDoc.SelectAll
 objOutputDoc.Delete
End Sub

Now in SPSS 16 I get a warning "JCAdapter not yet initialized", am I missing
something? How can I cancel the viewer output?

Thanks,
Luca

Mr. Luca MEYER
Market research, data analysis & more
www.lucameyer.com <http://www.lucameyer.com/>  - Tel: +39.339.495.00.21


No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.19.14/1247 - Release Date: 28/01/2008
10.59

=====================
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
Reply | Threaded
Open this post in threaded view
|

R: [SPSSX-L] Procedure to cancel output

Luca Meyer-3
Hi Jon,

I am running that from syntax using a SCRIPT command.

Luca

-----Messaggio originale-----
Da: Peck, Jon [mailto:[hidden email]]
Inviato: giovedì 31 gennaio 2008 15.49
A: Luca Meyer; [hidden email]
Oggetto: RE: [SPSSX-L] Procedure to cancel output

This seems to run without a problem for me.  Are you using 16.0.1?  Are you
running this from the Utilities menu or a toolbar button?  Any other
interesting details?

Regards,
Jon Peck

-----Original Message-----
From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of
Luca Meyer
Sent: Wednesday, January 30, 2008 11:07 PM
To: [hidden email]
Subject: [SPSSX-L] Procedure to cancel output

In SPSS 15 I use to have a simple & practical script that would cancel the
ouput leaving SPSS Viewer open for other output to be diplayed.

I think I got it from this list or from Raynald's site and goes like:

Sub Main
  Set objOutputDoc=objSpssApp.GetDesignatedOutputDoc
 objOutputDoc.SelectAll
 objOutputDoc.Delete
End Sub

Now in SPSS 16 I get a warning "JCAdapter not yet initialized", am I missing
something? How can I cancel the viewer output?

Thanks,
Luca

Mr. Luca MEYER
Market research, data analysis & more
www.lucameyer.com <http://www.lucameyer.com/>  - Tel: +39.339.495.00.21


No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.19.14/1247 - Release Date: 28/01/2008
10.59

=====================
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

No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.19.17/1252 - Release Date: 30/01/2008
20.51


No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.19.17/1252 - Release Date: 30/01/2008
20.51

=====================
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