How do you do Two Stage Least Squares in Shazam?

#1
Here's my code, am I getting close?

SAMPLE 1 30
READ CPIU MWAGE TAXES IMPORT SAVING PCE INVEST GSPEND FEDFUND M1 DOLIND INCOME
GENR LGSPEND=LOG(GSPEND)
GENR IDOLIND=1/DOLIND
GENR LIMPORT=LOG(IMPORT)
GENR IFEDFUND=1/FEDFUND
OLS PCE IFEDFUND M1/PREDICT=EPCE
OLS INVEST FEDFUND SAVING/PREDICT=EINVEST
OLS IMPORT IDOLIND/PREDICT=EIMPORT
OLS SAVING IFEDFUND INVEST/PREDICT=ESAVING
OLS LGSPEND FEDFUND TAXES/PREDICT=EGSPEND
OLS TAXES INCOME/PREDICT=ETAXES
2SLS CPIU EPCE EINVEST EGSPEND ETAXES EIMPORT ESAVING (INVEST TAXES SAVING FEDFUND M1 DOLIND INCOME)

I tried to save the predicted values in the reduced form or instrumental variable equations and then run a 2SLS. But I look up other examples on 2SLS and they have 2SLS command before OLS or doing 3SLS, it's confusing. Which comes first, and do I even need the predict= command to save the y hat endogenous variable?