From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: 1164f8,80b2723ef1c7ad6f X-Google-Thread: 10cebf,80b2723ef1c7ad6f X-Google-Thread: f7344,80b2723ef1c7ad6f X-Google-Thread: fdd80,80b2723ef1c7ad6f X-Google-Attributes: gid1164f8,gid10cebf,gidf7344,gidfdd80,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local1.nntp.dca.giganews.com!nntp.speakeasy.net!news.speakeasy.net.POSTED!not-for-mail NNTP-Posting-Date: Wed, 12 Jan 2005 08:52:04 -0600 From: "Craig A. Berry" Newsgroups: comp.sys.dec,comp.sys.dec.micro,comp.os.vms,alt.sys.pdp11 Subject: Re: List of DEC boards to be auctioned on Ebay References: <34ispsF4b93gvU1@individual.net> <1105478247.b0f6641c507f66a08b948bae8df3c5d7@teranews> User-Agent: MT-NewsWatcher/3.4 (PPC Mac OS X) Date: Wed, 12 Jan 2005 08:52:04 -0600 Message-ID: NNTP-Posting-Host: 64.81.145.238 X-Trace: sv3-xVrkQUBTgbHLQlv9Ap5AL3/RLGSfsJ9q3/b3jn7PYhePMGk5oi8ATGzao72vAB+2eeTm45pcS/tXaSs!jO4o0qVQekhpxLLdeaFITym+QEOOFhNe1J1Z+LDH8P3NxHyWaIYRyBVRk44pSgURquM6w+6nrBtU!Tjo2wyxkOOv5WI6bbCxXZ/mZLq9zl3LzeimIdY9fy+9W7gw= X-Complaints-To: abuse@speakeasy.net X-DMCA-Complaints-To: abuse@speakeasy.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.22 Xref: g2news1.google.com comp.sys.dec:1147 comp.sys.dec.micro:163 comp.os.vms:17230 alt.sys.pdp11:518 In article <1105478247.b0f6641c507f66a08b948bae8df3c5d7@teranews>, JF Mezei 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.