HP3000-L Archives

May 1997, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Sam Calvert <[log in to unmask]>
Reply To:
Date:
Thu, 8 May 1997 09:09:09 +1000
Content-Type:
text/plain
Parts/Attachments:
text/plain (64 lines)
Yesterday I updated to release 0.7 and found Lars' sample configuration
files most useful.  SETUPJ and the strategy for GETPRIVMODE also look
very good.

While the enhanced name mangling for POSIX certainly offers a great many
more opportunities; I was hoping to start out a bit less ambitiously and:
. enable clients to create and edit adhoc QUIZ source routines
  on the 3000 with DOS/Windows 3.x editors
. run the queries on the 3000, and
. directly import the resulting output into MS Office utilities
  like Excel (sort of a poor man's ODBC)

Alas...
Samba seems to have trouble in reading standard MPE fixed length ASCII
records on a Series 928RX running under 5.5 with PowerPatch 1.
For example, an unnumbered EDITOR/3000 text file like:
FILENAME  CODE  ------------LOGICAL RECORD-----------  ----SPACE----
                  SIZE  TYP        EOF      LIMIT R/B  SECTORS #X MX
E72UNN             72B  FA           3          3   3       16  1  1
which contains
line 1
line 2
line 3
hangs when the TYPE E72UNN command is executed from a DOS window under
WfW 3.11 with MSTCP32B.  Numbered files (or files with any character in
the final byte of the record) can be accessed without problems.

An extract (debug level = 3) from log.smb shows:
unix_clean_name [./E72UNN]
05/07/97 16:09:26 CALVSA.SAMBA opened file ./E72UNN read=Yes write=No (numopen=
1 fnum=1)
chdir to /SYS/CITMGR
Created share file /usr/local/samba/var/locks/share.4.3816 with mode 0x0 pid=93
71932
05/07/97 16:09:26 Transaction 11 of length 55
switch message SMBreadbraw (pid 9371932)
chdir to /SAMBA/CALVSA
05/07/97 16:09:26 readbraw fnum=1 cnum=56 start=0 max=4096 min=0 nread=216
05/07/97 16:09:26 Transaction 12 of length 55
switch message SMBreadbraw (pid 9371932)
05/07/97 16:09:26 readbraw fnum=1 cnum=56 start=21 max=4075 min=0 nread=195
Failed to seek to 21
05/07/97 16:09:26 Transaction 13 of length 49
switch message SMBread (pid 9371932)
Failed to seek to 21
05/07/97 16:09:26 read fnum=1 cnum=56 num=2820 nread=0
05/07/97 16:09:26 Transaction 14 of length 55
switch message SMBreadbraw (pid 9371932)
05/07/97 16:09:26 readbraw fnum=1 cnum=56 start=21 max=4075 min=0 nread=195
Failed to seek to 21
.. so and the loop continues ...

It may be instructive to note that the start/seek value of 21 would be the
length of the data transferred if trailing spaces were trimmed and linefeeds
added.  Changing 'Line 1' to 'Line 1x' increases this value to 22.

Should Samba/iX be expected to handle MPE fixed length ASCII records?

Sam "hoping I don't have to read all that source code" Calvert

Head, Application Support, Canberra Institute of Technology
(just across town from the Australian National University
 where Tridge started all this)

ATOM RSS1 RSS2