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



Took me long enough, because it was too obvious.
http://publib.boulder.ibm.com/iseries/v5r2/ic2928/index.htm?info/apis/QSYCHG
ID.htm

Look at the USRI0300 format, positions 592-599.

Dennis Lovelady
http://www.linkedin.com/in/dennislovelady
--
"I took a course in speed reading and was able to read 'War and Peace' in
twenty minutes. It's about Russia."
-- Woody Allen


I didn't find an equivalent System i page like
http://publib.boulder.ibm.com/infocenter/aix/v6r1/index.jsp?topic=/com.
ibm.a
ix.basetechref/doc/basetrf1/getpwent.htm, but I believe this will get
you
where you want to be.

Also (most) everything you see here should be available way back.

Dennis Lovelady
http://www.linkedin.com/in/dennislovelady
--
"It is difficult to produce a television documentary that is both
incisive
and probing when every twelve minutes one is interrupted by twelve
dancing
rabbits singing about toilet paper."
-- R. Serling


Dennis Lovelady wrote:
See chown.


http://publib.boulder.ibm.com/infocenter/iseries/v5r3/index.jsp?topic=%
2Fapi
s%2Fchown.htm

HMMMMmmmmmmm....... And available all the way back to V4R2. Maybe
further than that.

And it looks like "fchown()" might be an even better fit. Thanks.

Does anybody have any experience with chown() and fchown()?

It looks like it wants numbers for the user and group IDs. How do I
get
these numbers? (May I assume that "QUSER" is guaranteed to map to
some
fixed number across all systems?)

Speaking of which, what's this about IFS objects having a primary
group?
I thought only users could have group IDs.

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


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

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.