Well, after MANY trials and asking different people, I was able to get the correct code. Here it is for anyone's reference:
table x3_iii {j in TF, k in C, p in P, t in T: x3[j,k,p,t]>0} OUT 'ODBC'
'FileDSN=.\d2.dsn'
'UPDATE ((Channels a INNER JOIN ChannelPeriodProducts b'
'ON a.ChannelID...