× 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 tried this today.

ADDRDBDIRE RDB(REALSYSNAME ALIASSYSNAME) RMTLOCNAME('127.0.0.1' *IP)

then in ACS runsql scripts

<sql>
select * from table(qsys2.get_job_info('*') );
values current_user, current_server;
-- should see original logged in user
stop;
-- now lets connect to the current_server with "elevated" access
connect to ALIASSYSNAME user ELEVATEDUSER using 'ELEV_PWD' ;
stop;
select * from table(qsys2.get_job_info('*') );
values current_user, current_server;
-- should see *new logged in user
stop;
connect reset; -- back to original user
values current_user, current_server;
</sql>

should now be able to sql tables with this elevated access

Bryan



Marco Facchinetti wrote on 12/14/2023 5:26 AM:
I agree if the connection is not linked to a specific user. But in that way
any time you start an action (Emulation, File transfer, Sql scripts, Ifs)
you'll be prompted for user and password. For daily use it's not practical.

My doubt was whether there was a way to create a new connection to the same
system without using hosts or DNS.

TIA
--
Marco Facchinetti


As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.