|
Are you trying to write your own program or are you using a CL
wrapped around the CHKPWD command?
This is a portion of what I used for something very similar. I only needed one user to confirm the check processing. You would
have to change the process for your needs:
PGM PARM(&PASSED)
...
CHKPWD ??PASSWORD(*N) MONMSG MSGID(CPF2364) EXEC(DO) CHGVAR VAR(&ERRCNT) VALUE(&ERRCNT + 1) GOTO CMDLBL(GETOUT) ENDDO MONMSG MSGID(CPA0701) EXEC(DO) CHGVAR VAR(&PASSED) VALUE('*NO ') GOTO CMDLBL(ENDCLP) ENDDO <<SNIP>>
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.