You cannot do the cointegration with stata because the regression is not stationary, which is advanced concept from time series analysis.

I published a cointergration paper, and used stata. All I had to do was redefine some of my variables. It was easy.