SPSS Statistics

SPSS Statistics

Your hub for statistical analysis, data management, and data documentation. Connect, learn, and share with your peers! 

 View Only
  • 1.  "IBM SPSS Web Report" to title of choice

    Posted Tue December 22, 2020 04:49 PM

    Hi,

     

    Been trying, unsuccessfully, to figure out how to modify the "IBM SPSS Web Report" in the output shown below.

    The OMS command below is the one used to generate this. Any ideas if it is possible? And how?

    Thanks!

    E.

     

     

    OMS

      /SELECT Headings Tables Charts

      /IF COMMANDS=['CTables' 'Graph'] SUBTYPES=['Custom Table' 'Graph']

      /DESTINATION VIEWER=YES format = reportmht outfile = !quote(!concat(!outdir,"\",!outfile,"_CTables.htm"))

       reporttitle = !quote(!concat("Item Analysis for ",!scale))

      /tag = 'ctables2'.

     

     



    This e-mail and any files transmitted with it may contain privileged or confidential information. It is solely for use by the individual for whom it is intended, even if addressed incorrectly. If you received this e-mail in error, please notify the sender; do not disclose, copy, distribute, or take any action in reliance on the contents of this information; and delete it from your system. Any other use of this e-mail is prohibited.


    Thank you for your compliance.



    #SPSSStatistics


  • 2.  RE: "IBM SPSS Web Report" to title of choice

    Posted Tue December 22, 2020 05:00 PM
    I have to warn you that the web report has been discontinued in Statistics version 27, so you can only get this format in older versions.  You can, however, save the output as html for viewing in a browser or other html-capable software.

    As for the syntax fragment you posted, it appears to presume that all those items that start with ! have previously been defined as macros.  You haven't said that you did that or what error messages you are getting, so I can't tell what the situation is.  You can run set MPRINT ON. first to see what syntax is actually being generated, which should help identify the problem.
    --





  • 3.  RE: "IBM SPSS Web Report" to title of choice

    Posted Tue December 22, 2020 06:32 PM

    apologies. i see my message was not clear. I want to modify the text that reads "IBM SPSS Web Report".

    yes, all the !text are macro variables defined previously, and there is no error. i get the output specified. just want to be able to change the text.

    thanks for the heads up about version 27.



    ------------------------------
    Eugenio Gonzalez
    ------------------------------



  • 4.  RE: "IBM SPSS Web Report" to title of choice

    Posted Tue December 22, 2020 09:43 PM
    So this output is from CTABLES; there must be a CTABLES command following the OMS command.  You can use the TITLES subcommand to specify the title you want.

    --





  • 5.  RE: "IBM SPSS Web Report" to title of choice

    Posted Wed December 23, 2020 09:29 AM

    That is correct. There is an OMS command followed by a loop that includes a sequence of GET FILE + SPLIT FILE + CTABLES + 2x(GET FILE + SPLIT FILE + GRAPH). The output then contains a sequence of N (Table + Graph1 + Graph2) . I tried the TITLES within the CTABLES, but these go with the CTABLES. The text "IBM SPSS Web Report" seems to go with the OMS command, and remains static on the top left corner of the MHT output.

     

    E.

     






  • 6.  RE: "IBM SPSS Web Report" to title of choice

    Posted Wed December 23, 2020 03:16 PM

    To  wrap this up, there is a title being specified in the OMS command, but the Web Report inserts a prefix to that that the user can't control.  Note that the Web Report format has been discontinued as of SPSS Statistics V27.



    ------------------------------
    Jon Peck
    ------------------------------



  • 7.  RE: "IBM SPSS Web Report" to title of choice

    Posted Thu February 11, 2021 01:57 PM

    Hello,

     

    A follow up question to the note:

     

    Note that the Web Report format has been discontinued as of SPSS Statistics V27

     

    As things happen, I am being upgraded to V27. Is there a comparable Web Report format in V27?

    The FORMAT = REPORTMHT offered a nice navigation panel on the left of the screen, but I do not see this in the FORMAT = HTML. Is there some option available to create this, or is this not possible? I would appreciate any leads.

     

    Thanks!

     

    E.

     

     

     






  • 8.  RE: "IBM SPSS Web Report" to title of choice

    Posted Thu February 11, 2021 03:04 PM
    Not possible with html, but in a pdf export, you can display bookmarks and get an effect similar to the outline structure

    --