select * from TSP02 WHERE PJIDENT = 23435
The syntax error looks like with PJIDENT = 23435 which I believe should be PJIDENT = '23435'
I doubt whether that will work, long back I tried to export few entries and it never worked.
You can try and let us know.
Good Luck
RB