× 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.



If all tables, views and indexes are within the same library, you can remove
the qualified specification from your SQL Script (and keep only the
tables/views). Then specify the schema/library within the RUNSQLSTM option
DFTRDBCOL (=Default Schema/Library) --> F10 / Second Page

Mit freundlichen Grüßen / Best regards

Birgitta Hauser

"Shoot for the moon, even if you miss, you'll land among the stars." (Les
Brown)
"If you think education is expensive, try ignorance." (Derek Bok)
"What is worse than training your staff and losing them? Not training them
and keeping them!"

-----Ursprüngliche Nachricht-----
Von: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] Im Auftrag von James H. H. Lampert
Gesendet: Tuesday, 05.2 2013 18:25
An: Midrange Systems Technical Discussion
Betreff: A different SQL question, on a different SQL project

Suppose I'm creating an SQL view, FOO, joining PFs BAR and BAZ, and applying
UDFs to some of the fields, and putting it in the same library as the PFs.
And suppose we have a whole bunch of libraries, each of which contains a BAR
and a BAZ, with all BAR PFs sharing the same format, all BAZ PFs sharing the
same format, and all FOO views to share the same format.

And suppose I'm creating FOO using a RUNSQLSTM on a source member.

If I were creating FOO as a native join-logical, from DDS, using CRTLF, it
would be easy enough to either use the same source member for all instances
of FOO, or to just CRTLF one instance, and then copy it into the other
libraries that need it, just by leaving the based-on PFs unqualified in the
source.

But is there a way to do the same with RUNSQLSTM, either creating a view
that will always be based on the PFs in the same library, or failing that,
at least use the same source member for all libraries?

--
JHHL
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe,
or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/midrange-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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.