Login  Register

Re: Declared dataset as input for MATRIX

Posted by David Marso on Sep 26, 2014; 3:47pm
URL: http://spssx-discussion.165.s1.nabble.com/Declared-dataset-as-input-for-MATRIX-tp5727423p5727435.html

ALAS!
We had a bit of a RANT awhile back about that!
Note in short, using datasets as output requires admin access.

Can't recall the link about datasets as input, but here is a link to issues involving using datasets as output.
http://spssx-discussion.1045642.n5.nabble.com/SERIOUS-problem-with-Multiple-datasets-in-MATRIX-procedure-td5722765.html#a5725747

Kirill Orlov wrote
MATRIX can *save *to a dataset by specifying its name, but not *read
*from a dataset by specifying its name. It *is* written in CSR.


26.09.2014 14:49, Jignesh Sutar пишет:
> Is it not possible to specificy a dataset anme as an input file for
> MATRIX? No limitations suggested in the CSR.
>
> DATA LIST FREE / v1.
> BEGIN DATA
> 1
> END DATA.
> DATASET NAME ds.
>
> matrix.
> get ds / file="ds" /variables v1.
> print ds.
> end matrix.
>
>
>
>
> FILE Specification
> FILEdesignates the IBM SPSS Statistics data file to be read. Use an
> asterisk, or simply omit theFILE
> specification, to designate the current active dataset.
> v The file reference can be either a filename enclosed in quotes, a
> previously declared dataset in the
> current session, or a file handle defined on aFILE HANDLEcommand that
> precedes the matrix program.
> v If you omit theFILEspecification, the active dataset is used.
> v In a matrix program executed with the INCLUDEcommand, if aSPLIT
> FILEcommand is in effect, aGET
> statement that references the active dataset will read a single
> split-file group of cases. (A matrix
> program cannot be executed from a syntax window if aSPLIT FILEcommand
> is in effect.)
> ===================== To manage your subscription to SPSSX-L, send a
> message to [hidden email] 
> <mailto:[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
Please reply to the list and not to my personal email.
Those desiring my consulting or training services please feel free to email me.
---
"Nolite dare sanctum canibus neque mittatis margaritas vestras ante porcos ne forte conculcent eas pedibus suis."
Cum es damnatorum possederunt porcos iens ut salire off sanguinum cliff in abyssum?"