Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: "Craig A. Berry" <craigberry@mac.com.spamfooler>
Subject: Re: List of DEC boards to be auctioned on Ebay
Date: Wed, 12 Jan 2005 08:52:04 -0600	[thread overview]
Message-ID: <craigberry-99002C.08520412012005@news.isp.giganews.com> (raw)
In-Reply-To: 1105478247.b0f6641c507f66a08b948bae8df3c5d7@teranews

In article <1105478247.b0f6641c507f66a08b948bae8df3c5d7@teranews>,
 JF Mezei <jfmezei.spamnot@teksavvy.com> wrote:

> "K. Marden" wrote:
> > Please follow this link to an Excel spreadsheet.
> 
> 
> How can I view an excell spreadsheet on a VMS system ?

$ perl  dumpspread.pl sys$login:dec-parts-list1.xls
FILE  :sys$login:dec-parts-list1.xls
COUNT :3
AUTHOR:Kurt M. Marden
Digital equipment corporation parts to be auctioned.
Highlighted items have gone up for auction as of 1-6-05
Ebay seller:  KURTM2
Please email me at kurtm22ATnetscape.net with your choice of items you
would like to see put up for auction sooner rather than later.
List as of 1-11-2005
        Dec number:     Qty available:  Dec Number/descr:       Dec 
Number/descr:       Dec Number/descr:       Barcode or SN:
        W984A   1       Extender Board                          (1) on 
1-6-05
        W987A   1       Quad Extender Board
        W9040   1       Extender Board
        W9512   1       Wire wrap module        5012352C        503B
        M8063   1       KXT11-A 5014484D-P2     509B    3569349
        M8063BA 1       KXT11-A 5014484D-P2     226A    AB44006178
        M8044BB 1       32K 18bit mos memory    5013128DP1      943C
        M8044DB 1       32K 18bit mos memory    5013128DP1      129D    
09884DB
        M8044DF 1       32K 18bit mos memory    5013128DP1      832B    
1156
        M8044DE 1       32K 18bit mos memory    5013128DP1      049D    
M00510306
        VT10    1       Expansion Backplane     5013383B        5413384
        BE3-0           2/4 MB mem option       5016801-01-D2 L6                
NI70301131 A1 BH
        M7651   1       DRV11-WA       REV B    2J-5056A-00     422A    
TQ01829
        M7941   1       Parallel Line Unit      5011573DP1      638J    
AG63703442
        M3104   1       DHV11   5015588701 B1   720 D1  AG719C0284
        M8029   1       RXV21 RX02 CONTROLLER   5013080D-P3     217H    
AB2160VI69
        M7676   1               5016277-01-A1   446B1   SG17214427
        M7555   1       RQDX3   5016674 01C1    635 D1  SG631B6811
        M7504   1               5016028-01 C1   531D  2 AS14122
        M0843   1       SLU (Serial line unit?) 5013216F1 P2    936 L1  
AG933FLN72
        M8192   1       KDJ11-A Processor       5015394-01 B1   *00  
48418      2525623
        A8000   1       Data Acquisition Module EP074 Rev. E            
132794-A082
                1       VT125 Paddle Board      5014274E                
AB44506A25
        ADV11-SA / A1008-PA     1       Data Acquisition Module 
30-25269-01/03  MLD0032 233753
        ADV11-SA / A026-PA      1       Data Acquisition Module 
30-18689-02     M_90400083      286619
        M8639   1       Rdrx disk controller    5015649-02 A1   M8639-YB        
SG526A4116/126FS152-9
        BUA T1010AA     1       Cpu?    5016150-01 B1   BX09    
NI54300078
        M8189   1       KDF11-B 5014313A
        M8190   1       KDJ11-B CPU     5016017-01-C1   51 37143 BC     
SG7299631
                1       LR01 54-20826 JO5       5020825-01-A2   5420826 
GA13503570
                1       KA810-AA        5016138-01 C1 L10       0AB1    
NI54600216
        M7546   1       TK50 CONTROLLER 5016268-01-D1   632 F1  EN49808  
05A
        M7270   1       LSI-11 CPU      5013004E        938H  K 
AB92550334
        M7551 AP        1       Q22 MOS MEM     5017547-01-D1-P2                
HK63114780
        M8186   1       KDF11 CPU       5013326D-P4     319 D0  
AB31706R35
        M7554-PA        1       KDJ11-D CPU     5016760-01-C1   A3X3    
AG63602664



And here's the program:

$ type dumpspread.pl
use strict;
use Spreadsheet::ParseExcel;

my $oExcel = new Spreadsheet::ParseExcel;

my $oBook = $oExcel->Parse($ARGV[0]);
print "FILE  :", $oBook->{File} , "\n";
print "COUNT :", $oBook->{SheetCount} , "\n";
print "AUTHOR:", $oBook->{Author} , "\n";
my $oWkS = $oBook->{Worksheet}[0];
my($iR, $iC);
for(my $iR = $oWkS->{MinRow} ;
                defined $oWkS->{MaxRow} && $iR <= $oWkS->{MaxRow} ; 
$iR++) {
  for(my $iC = $oWkS->{MinCol} ;
                            defined $oWkS->{MaxCol} && $iC <= 
$oWkS->{MaxCol} ; $iC++) {
    my $oWkC = $oWkS->{Cells}[$iR][$iC];
    print $oWkC->Value . "\t" if($oWkC);
  }
  print "\n";
}
__END;


This assumes a simple case of one worksheet -- you might need another 
loop if you have multiple worksheets.


  reply	other threads:[~2005-01-12 14:52 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-11 20:55 List of DEC boards to be auctioned on Ebay K. Marden
2005-01-11 21:26 ` JF Mezei
2005-01-12 14:52   ` Craig A. Berry [this message]
2005-01-12 18:44   ` Peter 'EPLAN' LANGSTOEGER
2005-01-11 21:32 ` VAXman-
2005-01-11 21:55   ` Thierry Dussuet
2005-01-11 22:19     ` VAXman-
2005-01-11 22:28       ` Thierry Dussuet
2005-01-12 14:38       ` Keith Parris
2005-01-11 22:21   ` Jan van Mastbergen
2005-01-12  2:32 ` Dave Froble
2005-01-13 16:13   ` K. Marden
2005-01-13 16:50     ` Rob Brown
2005-01-14  7:00     ` JF Mezei
2005-01-20 21:43       ` K. Marden
2005-03-31 16:41         ` FA: M8044BB memory card K. Marden
2005-02-01  2:11 ` List of DEC boards to be auctioned on Ebay leeroth
2005-02-01  2:45   ` Chuck Harris
2005-02-01  3:51     ` Randy McLaughlin
2005-02-01  4:19   ` Larry Kilgallen
2005-02-01 22:00   ` Aidan Karley
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox