×
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.
I could not find this documented anywhere, but in STRSQL, this seems to do what you want:
set current_schema = DEFAULT
Don't ask how I stumbled upon that ... just experimenting in STRSQL ... ;-)
Hope that helps,
Mark S. Waterbury
On Monday, June 24, 2019, 9:05:45 AM EDT, Joe Pluta <joepluta@xxxxxxxxxxxxxxxxx> wrote:
In STRSQL, VALUES CURRENT_SCHEMA returns *LIBL. I can change that to
something specific using SET CURRENT_SCHEMA, but is there a way to get
it back to *LIBL? It's actually not as important in STRSQL as it is in
things like RUNSQLSTM or in an embedded SQL program. I'd like to be
able to temporarily override my schema for something specific, and then
return it to *LIBL when I'm done.
This is one of those edge places where IBM i and DB2 don't quite mesh
intuitively for me.
As an Amazon Associate we earn from qualifying purchases.
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.