|
A lot of that depends on whether or not you are using system naming or sql naming. With system naming the initial default is *LIBL. With SQL naming the initial default is the default library of the user. Why this is important is trying to change it back from whatever you changed it to (which is what you are asking).
If you are using system naming you could execute the following to change it back to *LIBL.
SET CURRENT SCHEMA = DEFAULT
I changed my STRSQL from *SQL to *SYS naming. Then I verified the above with:
values current schema
set schema = 'ROB'
values current schema
set schema = default
values current schema
https://www.ibm.com/support/knowledgecenter/ssw_ibm_i_74/db2/rbafzsetschema.htm
See also:
RUNSQLSTM ... NAMING(*SYS)
Embedded
https://www.ibm.com/support/knowledgecenter/ssw_ibm_i_74/db2/rbafzsoption.htm
See SET OPTION NAMING above
Rob Berendt
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.