Use this forum to post questions about syntax problems or general programming issues. Questions on implementing a particular aspect of econometrics should go in "Econometrics Issues" below.
I assume you mean the MVQSTAT procedure, which computes the MV Ljung-Box Q statistic? If so, you can use the CORRELATE instruction with the QSTATS option (and possibly SPAN and DFC) to compute the univariate statistic.
The CROSS instruction also offers the same options.