|
We have a simliar situation where two machines share a tape drive. The backup CL executes: CHGVAR VAR(&CMD) VALUE('VRYCFG CFGOBJ(' *CAT + &TAPDEV *CAT ') CFGTYPE(*DEV) STATUS(*OFF)') SBMRMTCMD CMD(&CMD) DDMFILE(&DDMF) /* See if an error in the vary command on the remote system. */ RCVMSG MSGTYPE(*LAST) RMV(*NO) MSGID(&MSGID) /* + CPF2640 = Vary Command Not Processed */ Where &DDMF is a DDM file with the other system as the RMTLOCNAME. Scott Lindstrom Pactiv Corp "D'Asto, Kevin" <KDAsto@fiskars.com To: <midrange-l@midrange.com> > cc: (bcc: Scott Lindstrom/PDC/Pactiv) Sent by: Subject: Shared tape drive for 2 LPARS midrange-l-admin@mi drange.com 08/07/02 01:40 PM Please respond to midrange-l This is a multi-part message in MIME format. -- [ Picked text/plain from multipart/alternative ] have a System with two LPARS and one tape drive. The problem I have is that let's say LPAR- A is scheduled to do its backup first but the problem is that LPAR - B has the tape drive at a varied ON status how can I write a CL that will go and vary OFF the tape drive, As long as the tape is not active. Then send a message back to LPAR - A to let it know that it can use the tape drive
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.