One of my variables is ordinal so I think I'd better to calculate poliserial correlation matrix. But I don't know how to calculate poliserial correlation matrix on SPSS.I need to know poliserial matrix syntax writing on SPSS.
There may not be a ready-made facility for the computation of poliserial correlation in SPSS but with sufficient knowledge of the subject matter and computer programming a user can use SPSS or any other software to do the computation.
If you desire to correctly assess the relationship between ordinal and continuous variable, I would suggest you to conduct Spearman's correlation, too. Luckily, SPSS has an option to conduct this analysis.