|
So be it.... Thanks, tim -----Original Message----- From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of rob@xxxxxxxxx Sent: Thursday, August 04, 2005 11:51 AM To: Midrange Systems Technical Discussion Subject: Re: DDS JOIN... No it's not possible. And I've given up on a DCR ever getting IBM to change. I put requests in there for this capability since V1R2. You're not going to be create an index over the view. Your best bet is to give up trying to do this via 'traditional I/O' in languages such as RPG or COBOL. And use imbedded SQL. The first time you run it, do a STRDBG PGM(*NONE) UPDPROD(*YES). SQL will suggest any indexes that will make it run faster. Rob Berendt -- Group Dekko Services, LLC Dept 01.073 PO Box 2000 Dock 108 6928N 400E Kendallville, IN 46755 http://www.dekko.com "Hatzenbeler, Tim" <thatzenbeler@xxxxxxxxxxxxx> Sent by: midrange-l-bounces@xxxxxxxxxxxx 08/04/2005 01:29 PM Please respond to Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx> To "'Midrange Systems Technical Discussion'" <midrange-l@xxxxxxxxxxxx> cc Subject DDS JOIN... Is it possible using the join in the dds, to create key fields from the 'joined to file?' A JDFTVAL A R PMRREQF JFILE(PMPREQND PMPREQNF) A J JOIN(1 2) A JFLD(RQDID RFDID) A RQDID 10 TEXT('DEPT ABR') A RQNAME 40 TEXT('DEPT NAME') A RQLINE1 55 TEXT('EXTRA LINE') If I use this... I can create key fields from the pmpreqnd table, but I can create any key fields from the pmpreqnf.. Is this correct? Or Should I use SQl to create a view of my join, then create an index... Thanks, tim This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential or privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy the message.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.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 on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.