MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » September 2012

Re: From QRYDFN to SQL



fixed

Rob, are you sure about the limitation to a hard-coded library? I believe you can specify each or any of the files on the RUNQRY command, and those will be used in the respective positions of even JOIN types.

At least I hope this works - I've run queries that were part of iDoctor, and they were hard-coded to some library at IBM Rochester - but they ran on any system, over your own resources, as I recall.

Vern

On 9/14/2012 12:54 PM, rob@xxxxxxxxx wrote:
If you're burying Query/400 into CL programs you can run into issues like
the original query was against production data. Now you've copied the
library to test. However the Query will hardcode the library. Converting
it to a QMQRY will allow you to fix that.

Or, maybe you like the results of a query and want to know how to do that
in SQL so you can imbed that into rpg or something.


Rob Berendt






Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot COM and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available here. If you have questions about this, please contact