I have highlighted the changes I have made to your script. First thing changed was that you did not have a line to open the text file $DATA, the second change i made was to close out this file. This might be why you are only getting the column headers and no data along with them. Test it out...
Okay so I know this post is pretty old, but I got a quick question..maybe someone can help. What I want to be able to do with this script is to grab the two latest lists or the two most recent lists. This is the code that was given to me (Thank you!) that grabs the latest file:
use strict...
Ok So I tried modifying the script so that I could you text input files to pull the data from. I know I missing something small in my code. Could someone just take a quick look and hint me in the right direction as to what I may be missing? Sorry for asking for so much
# Simple Perl File
#...
Ok so I am a complete idiot..but thats already been proven before soo i will not go any further. Okay what I would like to be able to get out of this script is just the numbers that match up on both lists. I tried tweeking around with the script but i couldnt get it to do what i want. I am...
Ok so I made some changes to the script, but I am getting both outputs "Success" and "ahh crap"
use strict;
my (@lista, @listb, %comparison, @orderb,$text);
# Chew through the headers
open(DATA, "< C:\\vmcheckxxx.txt") || die "ERROR\n"; #opens filelist created by vertices
$_ = <DATA>; $_ =...
You will probably have to go through the Configure Storage Devices Wizard in Veritas. If you have already done that I would try the manufactures drivers.
Rharsh:
Just to be correct the output you are getting from the script is:
002194:002202:002214:002226:002234:002
246:002253:002294:002344:002713:002743:002744:002745:002746:002748:002753:002760
:002762:002765:002771:002775:002782:002792
None of those numbers match up to the DATA, therefore...
Hey, I need some help once again...Here is what I am looking to do I want to be able to compare two different lists. What I want to compare in these lists is a set of numbers that will change on a daily basis. The lists are structered differently. I have attached A copy of both lists and...
So I believe I have worked through the issues I have. I still dont understand why after I reinventory the robot (religously) and try to eject a set of tapes and maybe only one tape is missing from the set of tapes i want to eject from the robot it errors out the entire eject. I think this is...
Thanks for all the suggestions, I will give that last one a shot GreyWanderer. I figured the problem was with the tapes not going back to thier slots, but i tried reinventorying the robot through the GUI and that did not change the problem. Basicly I hate Veritas...lol..such head aches sometimes.
Ok so I am really stumped. Here is what I did. When I arrived at work this morning I ran my script (see below) that ejects my daily tapes that are taken off site. I only did this as a test so when the tapes were ready to be removed from the robot cap I hit return to the prompt that script...
Awhile back I posted a question about the vmchagne command. I wanted to get a script for ejecting multiple tapes which i have succeeded in doing. The problem I run into is that when a tape isnt in the robot the vmchange command errors out. Is there a way to get around this? Has anyone ran...
Rieekan,
The above code works great. I am running into an issue when it comes to adding it to the script i already have. What my script did originally is take the file list (File List F-xxxxxx x-xx-xxxx) and parse a column listing serial numbers (see sample below 1). It then spit the data out...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.