How can I use delete and update statments in Query Manager (QMQ) in OS/400. I can able to create QM Queries for Select Statment but not able to update tables using Delete and Update statment.
Please help, a production project in pending for this.
Software/Hardware used:
OS/400 on IBM iSeries Servers
ASKED:
November 21, 2009 2:00 PM
UPDATED:
November 24, 2009 10:28 PM
if you’re going to use a big hammer like SQL to delete things,
you might want to make a copy of anything you delete …
and keep your resume current …
Before executing SQL DELETE, I run the same statement with SELECT * as the verb. This provides a clear list of what will happen when I replace the verb. Far easier than attempting to do the same by coding a program and far safer.
Not that it’s particularly dangerous either way since I’ll have journaling enabled. And it’ll all be done with a test subset in the beginning anyway.
Tom