470,573 Members | 1,619 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,573 developers. It's quick & easy.

iSeries Query - Code behind

We have clients who have not been exposed to SQL and have built a few
thousand queries using the iSeries Query tool via their 5250 sessions.

Is there any way to gather the code behind these queries that they have
saved? Rather than opening each of them to reverse engineer how they
work and rebuild them in SQL?

Thank You!
Jason

Jan 19 '07 #1
1 2061
On 19 Jan 2007 14:15:23 -0800, "ke******@gmail.com"
<ke******@gmail.comwrote:
>We have clients who have not been exposed to SQL and have built a few
thousand queries using the iSeries Query tool via their 5250 sessions.

Is there any way to gather the code behind these queries that they have
saved? Rather than opening each of them to reverse engineer how they
work and rebuild them in SQL?

Thank You!
Jason
If not too late:

RTVQMQRY - Retrieve Query Mgmt Query

The Retrieve Query Management Query (RTVQMQRY) command allows you to
retrieve Structured Query Language (SQL) source from a query
management query (QMQRY) object. The source records are placed into
an editable source file member.
this includes iSeries (As/400, i5, System i....whatever) Query. Also
make sure you use ALWQRYDFN(*YES)
Jan 27 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Thad Rizzi | last post: by
1 post views Thread by Yanik Reid | last post: by
1 post views Thread by Endif | last post: by
3 posts views Thread by ah077 | last post: by
2 posts views Thread by --CELKO-- | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.