Hi Jerry,

On Unix systems, group profile information is stored in the /etc/group file.  Assuming the chgrp command you are using was brought over from a Linux/Unix system, then it may simply have a misleading message.  It may be doing the right thing -- just the human-readable message was written for Unix.  (This is a guess...)

On IBM i, group profiles are stored in *USRPRF objects.

Please check that testapps was created properly.  In order to be a group profile (for IFS, anyway) it must have a Group ID Number (GID) assigned to the user profile.  (The WRKUSRPRF/CHGUSRPRF commands can be used to check/change this.)

I don't understand why you refer to a 'db2 command'?  Do you mean a CL command?  What does CHGPGP have to do with Db2?

As far as I can tell, CHGPGP is the CL version of chgrp.  I can't say that I've ever used CHGPGP.


On 10/23/23 12:32 PM, Jerry Draper wrote:
Now we can't run chgrp on the *IX side and get this message:

0481-002 chgrp: testapps is not a recognized group.  Check the /etc/group file for all known groups.

There is NO file /etc/group.

We see there is a db2 cmd Change Primary Group (CHGPGP).


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.