SPSS matrix command will not run within macro

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:

Get error messages are like this:

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...)