Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Tapes not loading after relabel script

Status
Not open for further replies.

RoyG

MIS
Oct 25, 2001
11
0
0
NL
Hello

We are using networker 7.13 on Windows 2000 server and also have a storage node. I'm trying to relabel tapes with a script. The script looks like:

@echo on

for /f %%i in (c:\batch\tapesleusden_label.txt) do call :label %%i
goto :eof

:label
REM unload tape unit
D:\nsr\bin\nsrjb -u -f rd=stbck02.europe.stater.corp:\\.\Tape0
REM Load tape
D:\nsr\bin\nsrjb -l -f rd=stbck02.europe.stater.corp:\\.\Tape0 %1
REM Label tape
D:\nsr\bin\nsrmm -l -y -f rd=stbck02.europe.stater.corp:\\.\Tape0 -R

When I have run this script I'm not able to load the tapes I have just relabeld (command line or GUI). Networker does not give any message but is also not loading this tape. When I do a relabel with the GUI, Networker Administrator, it works fine. What am I doing wrong?

Greetings Roy
 
Why don't you use nsrjb to label tapes as well?
 
maybe there is something wrong with the label definitions?
make sure that under "customize" "label templates" in the NW gui, that with the right tapepool you have specified a layout which you can use as a label.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top