Hi Maria.
It looks like you have taken the appropriate steps to pre-whiten the x for transfer function identification. If you send details of how the x variable enters the model, the pre-whitened CCF will work, I'll be happy to help with that.
As far as your ARIMA specification, the syntax below should specify the model. Note, I'm assuming that the paretheses indicate a factored specification, and that the second set of parentheses indicate seasonal factors.
proc arima data=in;
identify var=x;
estimate p=1 q=1;
identify var=y crosscorr=(x);
estimate input=(<transfer fnt
for x goes here>)
p=(1)(6) q=(6) ml;
run;
Also, you should check out the University Edition of SAS Studio. We have created some forecasting tasks that allow you to create ARIMA specifications in a point and click environment, and then see the corresponding model syntax. See, https://www.sas.com/en_us/software/university-edition/download-software.html
Hope this helps, and feel free to follow up. Best, Chip