+ Reply to Thread
Results 1 to 6 of 6

Thread: QRYDFN conversion tool to 'proper' SQL?

  1. #1
    Guest.Visitor Guest

    Default QRYDFN conversion tool to 'proper' SQL?

    I thought RTVQRYSRC would do this; it's been a while, but check on it. bobh

  2. #2
    Guest.Visitor Guest

    Default QRYDFN conversion tool to 'proper' SQL?

    Bob, I think you mean RTVQMQRY. RTVQMQRY QMQRY(MyLib/MyQuery) SRCFILE(MyLib/QQRYSRC) ALWQRYDFN(*YES) If there are many queries to process, create an OUTFILE of *QRYDFN objects and process those in a CL program. Chris Ringer

  3. #3

    Default QRYDFN conversion tool to 'proper' SQL?

    Does this create pure SQL? I know that it creates a source member, and SQL-like statements, but I did not know if the statements alone could be executed as SQL. Dave

  4. #4
    Guest.Visitor Guest

    Default QRYDFN conversion tool to 'proper' SQL?

    David, No, it creates some "information" at the top of the source file like this:
    H QM4 05 Q 01 E V W E R 01 03 01/12/18 09:52 V 1001 050 PACPU warehouse before V 5001 004 *HEX SELECT ALL CPUCMP, CPUWHS, (CPUWHS) FROM EDUDS01DBO/PACPU T01 WHERE CPUCMP = 1 AND CPUWHS IN (322, 002, 007) ORDER BY 001 ASC, 002 ASC 
    The top three lines would need to be wrapped in a comment /* xxx */ to be pure-SQL. Chris

  5. Default QRYDFN conversion tool to 'proper' SQL?

    Does anyone know of a product that will reliably convert QRYDFN in to SQL including Left Outer Join for Type 2 QRYDFN's? This is now a major headache for our company with the package that we have bought in to replace Office Vision - any help appreciated.

  6. #6

    Default QRYDFN conversion tool to 'proper' SQL?

    Hello! An Tool of our "manufacture" called "QueryOptimizer" does what you are searching for. In fact it's very similar to that what you get with RTVQMQRY manually. If you are interested, have a look at www.goering.de Make a evaluation for free! Regards Andi Goering

+ Reply to Thread

Similar Threads

  1. Tool Box JavaDoc
    By rdean400@yahoo.com in forum Java
    Replies: 2
    Last Post: 01-08-2002, 05:36 AM
  2. sndmail tool
    By Guest.Visitor in forum Application Software
    Replies: 4
    Last Post: 10-16-2000, 12:35 PM
  3. How can I open a QRYDFN in a program?
    By Guest.Visitor in forum Application Software
    Replies: 10
    Last Post: 06-27-2000, 04:00 PM
  4. Scan tool?
    By Guest.Visitor in forum Analysis
    Replies: 3
    Last Post: 10-02-1998, 02:20 PM
  5. Proper Way to SndPgmMsg
    By Guest.Visitor in forum Programming
    Replies: 0
    Last Post: 01-01-1995, 02:00 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts