× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



See Below.  Thanks all.

David Smith
IT Consultant

>>from: "Hauser, Birgitta" <Birgitta.Hauser@xxxxxxxxxxx>
>>have you tried:
>>DECLARE GLOBAL TEMPORARY TABLE
>>
>>This is the SQL-Way to create a temporary table, in other words creats
a
>>file in the QTEMP.
>>

No and I probably should use this method when creating a temp table but
I it still has the same problem with using host variables in the WHERE
clause. 


>>from: rob@xxxxxxxxx
>>I suggest you submit a DCR to......

I'm going to do this....first time ever...

>>from: "Carel Teijgeler" <coteijgeler@xxxxxxxxx>
>>
>>Dave,
>>
>>Why not have a template file created once and when used make a DUPOBJ
in
>>the required library (QTEMP in your example); similar to the *OUTFILE
>>technique used with IBM supplied commands.
>>

That's how we traditionally do this type of thing but it would be nice
not to have to change a template when there is a request to add or
remove columns from the table being sent. 

>>And if you want to create a CSV file, why not run embedded SQL and
write
>>to the IFS directly, putting the field seperators in the proces?
>>

Our email package will grab the PF for us and put in the separators.




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 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.