×
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.
On 23-Jul-2016 11:25 -0500, Darryl Freinkel wrote:
I have a need to manage user profiles from a central LPAR.
I have the code written using remote command.
I need to use the RTVUSRPRF command across the LPARS and I do not see
a way to do so directly using a remote command.
The Retrieve User Profile (RTVUSRPRF) command is valid only in a
compiled CL or in REXX. The command would not be directly usable in a
RmtCmd environment any more than in any other CL interpreter such as the
Command Entry, CALL QCMDEXC, or a system() call.
I have a not so good work around and
Presumably having compiled the command in a CLP, but then ???
was wondering if anyone has a simple method to retrieve the status of
a user profile on another LPAR.
A way to do so: Using the DB2 for i services to retrieve\obtain
information about users on the other LPAR directly into the
requested-from LPAR, the following SQL request using three-part naming
[or could instead, CONNECT TO the RDB]:
select u.STATUS, u.*
from lparRDB.qsys2.user_info as u
IBM i Technology Updates -> IBM i Technology Updates -> DB2 for i -
Technology Updates -> DB2 for i - Services -> QSYS2.USER_INFO catalog
[
https://www.ibm.com/developerworks/community/wikis/home?lang=en#!/wiki/IBM%20i%20Technology%20Updates/page/QSYS2.USER_INFO%20catalog]
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.