|
Running 17.0.2 under Windows XP.
I have a program with the statement * Export report output in .RTF form: ... . OUTPUT EXPORT NAME=[hidden email] /CONTENTS EXPORT=ALL LAYERS=ALL MODELVIEWS=PRINTSETTING /DOC DOCUMENTFILE='C:\Documents and Settings\Richard\My Documents' + '\Professional\MetLife\' + 'Report V - Q&A report.doc' NOTESCAPTIONS=YES WIDETABLES=SHRINK PAGESIZE =INCHES(11.0,8.5) TOPMARGIN =INCHES(1.0) BOTTOMMARGIN =INCHES(1.0) LEFTMARGIN =INCHES(0.75) RIGHTMARGIN =INCHES(0.75). In the program where I have it, it routinely terminates very quickly; in the export summary, gives only a black-outlined box saying "Viewer"; and produces no output file. I can, reliably, export it from the menus (File > Export). Of course, that doesn't let me specify the page-size parameters; and this output really needs to be in landscape orientation. Besides, when I export using the menus, the EXPORT code is not recorded in the SPSS journal, so there's no knowing what the code from the menu is doing differently. Does anybody know anything that could bear on this problem? And, by the way, why should there ever be SPSS code that is executed, but not included in the journal? -Frustrated, Richard ===================== 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 |
|
Hi Richard,
There appears to be a bug
involving handling of the ampersand (&) in the file name here. Please try
this after changing the name so that it doesn't include that character and see
if it works for you.
There also seems to be a bug in
that the OUTPUT EXPORT command is not sent to the log or to the journal file
when you run this from the menus.
We'll try to get both of these
fixed as soon as we can. Our apologies for the frustration. I am able to specify
the PAGESIZE and MARGIN values through the menus. In the Export Output dialog,
click on the Change Options button and in the dialog that pops up, click on the
Page Setup for Export button. You should be able to change to Landscape
orientation, and to specify the margins.
David
Nichols
From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Richard Ristow Sent: Monday, August 17, 2009 1:13 AM To: [hidden email] Subject: [SPSSX-L] EXPORT - mystified I have a program with the statement * Export report output in .RTF form: ... . OUTPUT EXPORT NAME=[hidden email] /CONTENTS EXPORT=ALL LAYERS=ALL MODELVIEWS=PRINTSETTING /DOC DOCUMENTFILE='C:\Documents and Settings\Richard\My Documents' + '\Professional\MetLife\' + 'Report V - Q&A report.doc' NOTESCAPTIONS=YES WIDETABLES=SHRINK PAGESIZE =INCHES(11.0,8.5) TOPMARGIN =INCHES(1.0) BOTTOMMARGIN =INCHES(1.0) LEFTMARGIN =INCHES(0.75) RIGHTMARGIN =INCHES(0.75). In the program where I have it, it routinely terminates very quickly; in the export summary, gives only a black-outlined box saying "Viewer"; and produces no output file. I can, reliably, export it from the menus (File > Export). Of course, that doesn't let me specify the page-size parameters; and this output really needs to be in landscape orientation. Besides, when I export using the menus, the EXPORT code is not recorded in the SPSS journal, so there's no knowing what the code from the menu is doing differently. Does anybody know anything that could bear on this problem? And, by the way, why should there ever be SPSS code that is executed, but not included in the journal? -Frustrated, Richard ===================== 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 |
| Free forum by Nabble | Edit this page |
