Re: Specifying blank custom attribute values in SPSSINC SELECT Variables

Posted by Jon Peck on
URL: http://spssx-discussion.165.s1.nabble.com/Specifying-blank-custom-attribute-values-in-SPSSINC-SELECT-Variables-tp5740494p5740570.html

I am not sure what the question is, but a blank can be specified as an attribute value.  Note that a blank value is different from an empty attribute.  However the number of blanks specified does not matter.

SPSSINC SELECT VARIABLES MACRONAME="!isblank"
/ATTRHASALL blank 
/ATTRVALUES NAME=blank VALUE=" ".

On Wed, May 26, 2021 at 5:58 AM statswork <[hidden email]> wrote:
When trying to identify subsets of variables based on whether they're
ordinary "single" variables that don't have MR. Set custom attributes.
SPSSINC SELECT VARIABLES MACRONAME = '!InputSingle'
    /PROPERTIES
    TYPE=NUMERIC
    /ATTRHASALL 'Var.Grouping' 'Source' 'MR.Set'
    /ATTRVALUES
    NAME =Var.Grouping VALUE="Water"
    NAME1=Source VALUE1="input"
    NAME2=MR.Set VALUE2=" "
    /OPTIONS
    ORDER=FILE
    PRINT=YES.

SUBTITLE: 'Multiple Response variables'
SPSSINC SELECT VARIABLES MACRONAME = '!InputMR'
    /PROPERTIES
    TYPE=NUMERIC
    /ATTRHASALL 'Var.Grouping' 'Source' 'MR.Set'
    /ATTRVALUES
    NAME =Var.Grouping VALUE="Water"
    NAME1=Source VALUE1="input"
    NAME2=MR.Set VALUE2="$Store.Water"
    /OPTIONS
    ORDER=FILE
    PRINT=YES.




--
Sent from: http://spssx-discussion.1045642.n5.nabble.com/

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


--
Jon K Peck
[hidden email]

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