|
I have a program that tried to use system(). Now I am using QCAPCMD and having the same results. The command I am passing is: cmd='CRTUSRPRF USRPRF('+userprefix+id400seq+') ' + 'PASSWORD(*NONE) ' + 'INLMNU(*SIGNOFF) ' + 'LMTCPB(*YES) ' + 'TEXT(FTP) ' + 'SPCAUT(*NONE) ' + 'LMTDEVSSN(*YES) ' + 'GRPPRF(' + USERPREFIX + ') ' + 'OWNER(*GRPPRF) ' + 'ACGCDE(FTP)'; where the USRPRF is GDI0000001 and GRPPRF is 'GDI' The error I am getting is CPF9802 not authorized to the group profile. DSPLY ExceptionId DSPLY CPF9802 DSPLY ExceptData DSPLY GDI QSYS USRPRF Dang, if it can run the CRTUSRPRF why can't it access the group? DSPPGM... Program . . . . . . . : FTPLOGONN Owner . . . . . . . . : QSECOFR User profile . . . . . . . . . . . . . . . . . : *OWNER Use adopted authority . . . . . . . . . . . . : *YES Rob Berendt -- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." Benjamin Franklin
As an Amazon Associate we earn from qualifying purchases.
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.