|
How do you add, remove or change OV/400 users from the command line?
Henrik
ADDDIRE USRID(&OFCUSER SAIRL01) USRD(&USERTEXT) +
USER(&USERNAME)
MONMSG MSGID(CPF0000 CPD0000)
ADDOFCENR USRPRF(&USERNAME) DFTFLR(OFCDFT) +
INLCAL(*NONE) SCHEDCAL(*NONE)
MONMSG MSGID(CPF0000 CPD0000)
CHGVAR &ENROLLED ' '
CALL OVCHK PARM(&NAMEWILLBE &ENROLLED)
IF (&ENROLLED *EQ 'Y') +
THEN(DO)
SNDPGMMSG MSG(&NAMEWILLBE *BCAT 'is enrolled in +
Office.') TOPGMQ(*PRV)
ENDDO
Fiona
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.