SPSS matrix command will not run within macro

#1
Hi,
Have a matrix command section embedded in a macro.
The matrix commands run OK when not within the macro.
But they are not executed when placed within a macro.

Normally matrix programs should be alright within macros:
http://pic.dhe.ibm.com/infocenter/s...rix_get_statement_reading_spss_data_files.htm

Get error messages are like this:
Matrix

Run MATRIX procedure:

>Error # 12302 in column 256. Text: (End of Command)
>Syntax error.
>This command not executed.

Error in RIGHT HAND SIDE of COMPUTE command.



My purpose is to compare two matrices one of which is variable, i.e., read from different datafiles.

Any suggestions?

Have attached the syntax and the datafiles.

Many thanks in advance. (Am getting desperate...)

Zoltan