|
SBMRMTCMD CMD('dspopt *mounted opt01') DDMFILE(VERN/MYDDMF)
HTH Vern
Here is how we are doing it in a CL Program
/* DISPLAY THE OPTICAL DEVICE TO MAKE SURE IT IS READY. IF IT DOES * /* NOT COME READY WITHIN THE MAXIMUM NUMBER OF ATTEMPTS, THEN EXIT. * DSPOPT VOL(*MOUNTED) DEV(OPT01) OUTPUT(*PRINT) MONMSG MSGID(CPF0000) EXEC(DO) IF COND(&TRIES = &LIMIT) THEN(DO) GOTO CMDLBL(FAIL) ENDDO ELSE CMD(DO) CHGVAR VAR(&TRIES) VALUE(&TRIES + 1) DLYJOB DLY(30) GOTO CMDLBL(VERIFY) ENDDO ENDDO
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.