This portal is to open public enhancement requests against IBM Power Systems products, including IBM i. To view all of your ideas submitted to IBM, create and manage groups of Ideas, or create an idea explicitly set to be either visible by all (public) or visible only to you and IBM (private), use the IBM Unified Ideas Portal (https://ideas.ibm.com).
We invite you to shape the future of IBM, including product roadmaps, by submitting ideas that matter to you the most. Here's how it works:
Start by searching and reviewing ideas and requests to enhance a product or service. Take a look at ideas others have posted, and add a comment, vote, or subscribe to updates on them if they matter to you. If you can't find what you are looking for,
Post an idea.
Get feedback from the IBM team and other customers to refine your idea.
Follow the idea through the IBM Ideas process.
Welcome to the IBM Ideas Portal (https://www.ibm.com/ideas) - Use this site to find out additional information and details about the IBM Ideas process and statuses.
IBM Unified Ideas Portal (https://ideas.ibm.com) - Use this site to view all of your ideas, create new ideas for any IBM product, or search for ideas across all of IBM.
ideasibm@us.ibm.com - Use this email to suggest enhancements to the Ideas process or request help from IBM for submitting your Ideas.
Db2 for i has no plans to extend WRKQRY/RUNQRY in the manner described in this RFE.
As was noted already, you can order by RRN via any SQL interface.
Setting SQE_NATIVE_ACCESS to NO is an extreme measure and should only be used when recommended by IBM Service.
This QAQQINI has been deprecated in IBM i 7.4, so I strongly encourage that clients avoid using this control unless recommended by IBM Service as a temporary measure.
http://ibm.biz/IBMi_74_MTU
Closing as declined.
I found the following URL helpful. If you're using an ACS file transfer (.dtfx) for the query results, you can put RRN(filename) in the Order By section of the Data Options.
https://www-01.ibm.com/support/docview.wss?uid=nas8N1016738
Sorry Steve, I did not read your comment. I seems we have given both the same work around.
Hello John,
We had a similar issue a while ago where a query failed when moving from CQE to SQE. As it took IBM time to get a PTF ready, we preferred to run this query with CQE using the following workaround:
1. create a empty QAQQINI in a user library,
2. add a record with the following values for QQPARM the value "SQE_NATIVE_ ACCESS" and for QQVAL the value "NO"
3. before running the query use the command: CHGQRYA QRYOPRLIB()
4. Run your query as before
5. Reset the job to the previous QAQQINI file, with the command CHGQRYA QRYOPTLIB(QUSRSYS)
The above worked for us, I hope it also does for you.
Greetings Rudi
The rule of thumb is however that without an explicit order clause there's no order.
What you consider as your arrival sequence is something that is not something that you can take for granted.
Hi
I think IBM has given you the option to change the behaviour back to it's Pre-72 CQE ways.
You simply need to make a change to QAQQINI control called SQE_NATIVE_ACCESS with a default value of *YES
More Details below:
https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_72/rzaq9/rzaq9osDBSQEvsCQE.htm
Hope this helps.
Steve