|
>Then I try to change the profile using this statement :
> CHGUSRPRF USRPRF(&USR) SUPGRPPRF(&SUPGRPPRF &NEWENTRY)
> but I get this error message :
> 700 - CHGUSRPRF USRPRF(xxx) SUPGRPPRF('ENTRY1 ENTRY2' NEWENTRY)
>Value 'ENTRY1 ' for parameter SUPGRPPRF not a valid name.
I did NOT test this, but I think you could
chgusrprf ... supgrpprf(&supgrpprf *bcat &newentry)
If this doesn't work, take Al's advice and construct the entire CHGUSRPRF
command in a new string and run it via QCMDEXC:
chgvar &command ('chgusrprf usrprf(xxx) supgrpprf(' *cat supgrpprf *bcat
&newentry *cat ')'
call qcmdexc (&command &cmdvarlen)
Again, not tested.
Buck
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.