Hi Folks, I read Rob’s great article
http://www.itjungle.com/fhg/fhg053012-story01.html and was able to use RUNSQL like this;
RUNSQL SQL('DELETE FROM QTEMP/FILEA WHERE JOJOB = ''TJOBC''') COMMIT(*NONE)
Now, I’m using this select statement select * from t18pf where joentt = 'CA' and jojob = 'QZLSFILET' and jopgm = 'QLESPI'
What’s the syntax of the RUNSQL that would delete based on that select, if possible?
Thanks, Frank