SPSS Statistics

SPSS Statistics

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

 View Only
Expand all | Collapse all

Errors during Mediation with Process

  • 1.  Errors during Mediation with Process

    Posted Mon December 14, 2020 12:05 PM

    I tried to do a mediation analysis with PROCESS and always get the following warning numbers:

    set printback=off.

    >warning number 206 in column 3. text: \

    >In a command an invalid character was found.

    >Warning number 206 in column 7. text: \

    >An invalid character was found in a command.

    >Warning number 208 in column 35. Text: +

    >A text string in the command line is not properly enclosed in >quotes.

    >quotation marks. Literals cannot be used without the

    >continuation symbol '+' across command lines.

    >Warning number 226

    >The input string is longer than the maximum allowed (32767) and is >therefore truncated.

    >therefore truncated. Was the terminating quotation mark of a

    >text string omitted?

    >Warning number 209

    >When writing to the command journal file, a truncation error has >occurred.

    >occurred. Check the contents of this file before using it as input >for SPSS Statistics.

    >for SPSS Statistics.

    >Warning number 207 in column 2. text: \n compute hasw=0.\n compute hasz=0.\n compute jnok=0.\n compute nm1vls=0.\n compute nm2vls=0.\n compute panelgrp=0. \n compute graphixs={"WITH", outnames(1,i), "BY"}.\n compute focpred4={" "}.\n compute intprint=0.\n compute modca

    >A text string was followed by a plus sign (+), which indicates a continuation

    >but the next character (not a space) was not a quotation mark

    >or apostrophe.

    >Warning number 208 in column 838. Text: /format=A8/space=0.\n end if.\n end if. \n end if.\n /* end E */.\n end loop.\n /* end R */.\n release jmed, intprint,didprint.\nend if.\n!ENDDEFINE.\n\nDEFINE PROCESS (vars=!charend('/') !default(xxxxx)/y=!charend('/') !default(xxxxx)/

    >A text string is not properly enclosed in the command line in

    >quotation marks. Literals cannot be used without the

    >continuation symbol '+' across command lines.

    Unfortunately, I'm a beginner and don't know what to do with these things. I would like to try to fix the errors shown, but I don't know where to do it. Exactly what commands does SPSS refer to and where can I change them? I am attaching a screenshot of the warning number.

    I hope someone can help me.






    #SPSSStatistics
    #Support
    #SupportMigration


  • 2.  RE: Errors during Mediation with Process

    Posted Mon December 14, 2020 05:47 PM

    This is due to a problem with the custom dialog for PROCESS that is under investigation by SPSS Development. Hayes has provided instructions on how to run his macro via syntax instead of using the dialog box. That would be the only solution currently.






    #SPSSStatistics
    #Support
    #SupportMigration