To: | nv-l@lists.us.ibm.com |
---|---|
Subject: | RE: [nv-l] build_location.pl |
From: | ray.smith@clorox.com |
Date: | Fri, 21 May 2004 13:46:15 -0700 |
Delivery-date: | Fri, 21 May 2004 21:54:25 +0100 |
Envelope-to: | nv-l-archive@lists.skills-1st.co.uk |
Reply-to: | nv-l@lists.us.ibm.com |
Sender: | owner-nv-l@lists.us.ibm.com |
The problem of empty output is caused by the readline function, a seldom used Perl function that apparently behaves differently in different versions of Perl. If you replace all instances of "readline ($_[0])" with "<MAPDUMP>", the script should work fine in any version (or at least version 4 or better, which is all I've ever worked with) of Perl. Ray Smith IS Engineer The Clorox Services Company 925-425-4363
Just for the record, I had the same problem and my perl is at 5.6 on AIX 4.3.3. Scott Bursik Enterprise Systems Management PepsiCo Business Solutions Group From: Barr, Scott [mailto:Scott_Barr@csgsystems.com] Sent: Friday, May 21, 2004 2:46 PM To: nv-l@lists.us.ibm.com Subject: RE: [nv-l] build_location.pl I think 5.6 should work. I am on solaris 2.8 and had the issue with PERL 5.05. Let me research a bit and I'll post a response here. From: owner-nv-l@lists.us.ibm.com [mailto:owner-nv-l@lists.us.ibm.com] On Behalf Of Meyos Yemveng Sent: Friday, May 21, 2004 2:28 PM To: nv-l@lists.us.ibm.com Subject: RE: [nv-l] build_location.pl I am running perl v5.6.1 on Solaris 9 ... Q: what version is recommended? "Barr, Scott" <Scott_Barr@csgsystems.com> wrote: Your PERL version may be a factor. Can you check what version you are using? perl -version will tell you From: owner-nv-l@lists.us.ibm.com [mailto:owner-nv-l@lists.us.ibm.com] On Behalf Of Meyos Yemveng Sent: Friday, May 21, 2004 1:20 PM To: netview Tivoli Subject: [nv-l] build_location.pl Hi Folks, I downloaded the build_location.pl script I then ran: ovmapdump -v > /tmp/ovmapdump.out build_location.pl /tmp/ovmapdump.out > /tmp/location.conf my ovmapcount.out is about 7026770 bytes my location.conf file generated is 141 bytes with only the following lines: # location.conf file was autogenerated on Friday May 21 17:48:01 GMT 2004. # Script completed processing on Friday May 21 17:48:05 GMT 2004 Q1: Any idea on what I did wrong? Q2: Any suggestions? Thank You, Meyos "ALLEZ LES LIONS INDOMPTABLES"
Post your free ad now! Yahoo! Canada Personals Thank You, Meyos "ALLEZ LES LIONS INDOMPTABLES"
Post your free ad now! Yahoo! Canada Personals |
<Prev in Thread] | Current Thread | [Next in Thread> |
---|---|---|
|
Previous by Date: | RE: [nv-l] build_location.pl, Bursik, Scott {PBSG} |
---|---|
Next by Date: | RE: [nv-l] build_location.pl, Barr, Scott |
Previous by Thread: | RE: [nv-l] build_location.pl, Bursik, Scott {PBSG} |
Next by Thread: | RE: [nv-l] build_location.pl, Barr, Scott |
Indexes: | [Date] [Thread] [Top] [All Lists] |
Archive operated by Skills 1st Ltd
See also: The NetView Web