|
you could do:
CHKOBJ OBJ(<USER PROFILE>)
OBJTYPE(*USRPRF)
checking for the CPF that makes sense to your app:
*ESCAPE Messages
CPF9801 Object &2 in library &3 not found.
CPF9802 Not authorized to object &2 in &3.
CPF9810 Library &1 not found.
CPF9815 Member &5 file &2 in library &3 not found.
CPF9820 Not authorized to use library &1.
CPF9830 Cannot assign library &1.
CPF9899 Error occurred during processing of command.
(copied from help text for CHKOBJ)
bill
WMoore@xxxxxxxxxxxxxxx <mailto:WMoore@xxxxxxxxxxxxxxx> wrote:
>I need to scan to check if a user name has already been assigned. I
would like to know what the file name is that holds that name.
>
>Thanks in advance,
>William Moore
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.