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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: jmdc
  • Order by date
  1. jmdc

    Writing to a file

    Thanks. -Justin
  2. jmdc

    Writing to a file

    How can I get the print statements to write to a file? Using windows with Interix. if( $this = $that) { print "AAA\n"; print "BBB\n"; print "CCC\n"; } -Justin
  3. jmdc

    Array Question

    Is there a quick way to find out the last element of an array? for example if I opened up a directory for reading and put the contents into an array. How can I find out how many elements there are in that array? Once I get that information I want to put that value into a variable. If I'm not...
  4. jmdc

    Help with Regular Expressions

    This worked thanks, Now for the next problem I put this into an array like I did above. How do I get rid of the space before the numbers? -Justin
  5. jmdc

    Help with Regular Expressions

    $line = aaa_A43.bbb11_07172002_00.ab.err @line = split(/[a-zA-Z_.]+/, $line); This is what I get - 43 11 07172002 00 How can I make @line = "07172002" Please Help.
  6. jmdc

    I'm not to good at writing regular

    Another script someone else wrote tries to send some file to another server via a home grown protocal every hour. If for some reason the other server was unable to receive this information it will create an error file like the ones below. What my script is doing now is opening a dir and reading...
  7. jmdc

    I'm not to good at writing regular

    @files= grep/.err/,readdir(DIR) or die "Unable to read directory $srcdir: $!\n"; This is a line in my script that I use to put everything with a .err extension into an array.
  8. jmdc

    I'm not to good at writing regular

    I'm not to good at writing regular expressions so if someone could help me I would really appreciate it. Basically I have bunch a files in a directory that look like the this "clog_b43.jus11_07172002_00.ab.err". I want to get rid of everthing but "07172002_00.ab.err". How can...
  9. jmdc

    Directory Reading in win2k

    That worked! Thanks. -Justin
  10. jmdc

    Directory Reading in win2k

    This code looks ok to me, but I keep getting a "Sorry can't open c:\Logs directory: Permission denied when trying to read this file. I made sure the correct permissions were set. Can anyone please help. #!perl -w use strict; my $srcdir="c:\\Logs"; my @files=(); open(DIR...
  11. jmdc

    script

    Well looks like your missing $ before the total total += $a[ $i ];
  12. jmdc

    SSH Module

    There are certain things I need to remotely copy over to my machine on a daily basis using scp. I want to write a script to do this. I've never used the ssh module and I can't find any documentation on it. Can anyone help -Justin
  13. jmdc

    Connection Timed out

    I'm using Win2k with legato 6.0.1 I'm getting a Connection Timed out error. I've tried to change the inactivity timout to 0 but this does not work. I can force a backup to the server from the client just fine. But the server can not fetch the data from the client. Any sugestions?
  14. jmdc

    What does this error REALLY mean?

    What works for me is edit your pool. Under clients make sure this is empty. If all the clients you need to backup are already in the group you have choosen then you don't need to specifiy anything in the client section. This worked for me. Hope this helps -Justin
  15. jmdc

    aborted due to inactivity

    For those of you who can't find inactivity timout its a hidden attribute. Go to options and customize and check display hidden attributes. Then try again. http://web1.legato.com/infodev/publications/NetWorker/WINDOWS/6.0.1/winrs.pdf look on page 33 this will tell you about the inactive...
  16. jmdc

    Tape getting full at 3.9m

    Try to change your target sessions. In networker 5.7 you can change it from 1-512. I found this helps. I'm not to sure if this is the right solution but it works. Let me know if it works for you. -Justin
  17. jmdc

    Tape getting full at 3.9m

    I'm using legato 5.7 under win2k. I've just started using legato not to long ago. Before I hook up a JB I've been using a dat drive with a 120m tape. The tape keep filling up at 3.9m. Now I know the tape hold more data then that. What am I doing wrong. Please help -Justin
  18. jmdc

    :can not start session with server ripley:bad database version

    Has anyone everseen this error?. I'm using legato 5.7 under win2k. I ger this error when I'm on the client trying to restore a backup. I can't get the server to back up the client. I get this error from the server. WISS error,bad database version. -Justin
  19. jmdc

    Erasing the Tape

    I'm kind of new to Legato. I'm using Legato 5.7 under Win2k. I was wondering how to erase or format the tape?.

Part and Inventory Search

Back
Top