Utility Jobs like Eject media, Erase Media, Label Media appear under Jobs in the "Job Setup" tab, when run through a BEMCMD command.

Article:TECH34265  |  Created: 2006-01-10  |  Updated: 2006-01-10  |  Article URL http://www.symantec.com/docs/TECH34265
Article Type
Technical Solution

Product(s)

Environment

Problem



Utility Jobs like Eject media, Erase Media, Label Media appear under Jobs in the "Job Setup" tab, when run through a BEMCMD command.

Solution



When utility jobs like Eject Media, Erase Media, Label Media are run through the following BEMCMD commands, then these jobs appear under Jobs in the Job Setup tab of Backup Exec (tm). However, when the same jobs are executed through the Backup Exec GUI (from the Devices tab) then they do not appear in the Job Setup but will appear only in the Job Monitor tab. This is normal behavior with Backup Exec.


 


The BEMCMD commands used for these utility jobs are as follows:


1. For Erase Media job:

C:\Program Files\VERITAS\Backup Exec\NT\ bemcmd  -o111  -d "ARCHIVE 1"  -e:1  -pr:Medium  -w


-o111                   = Switch for erasing the Tape media
-d "ARCHIVE 1"    = Drive Name
-e:                       = Specifies the Type of Erase
                              1-Quick Erase
                              3-Long Erase

-pr:                       = Priority of the Job
-w                        = Instructs the Command Line Applet to wait
                             for the operation to complete before returning


 



The BEMCMD command returns a value of  '1' for successful job and value of ' -1' for a failed job.


2. For Label Media job:

C:\Program Files\VERITAS\Backup Exec\NT\ bemcmd -o113 -d "ARCHIVE 1" -m "Fullbkp" -pr:Medium -w


-o113                   = Switch for Labeling the Tape media
-m                       = Specifies the Media name.


 



3. For Eject Media job:

C:\Program Files\VERITAS\Backup Exec\NT\ bemcmd -o115 -d "ARCHIVE 1" -pr:Medium -w


-o115                   = Switch for Ejecting the Tape media


 




Legacy ID



271314


Article URL http://www.symantec.com/docs/TECH34265


Terms of use for this information are found in Legal Notices