<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Gadugi;
        panose-1:2 11 5 2 4 2 4 2 2 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.m-1907172754216223891gmail-im
        {mso-style-name:m_-1907172754216223891gmail-im;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>I think the documentation comment “</span><span style='background:yellow'>cannot write variable-length blocks and do not allow skipping forward over records between read operations</span><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>” was written when talking about the common cartridge tapes that were available on 80s and 90s Unix workstations.  I don’t recall the name.   These things only supported fixed block size operations and not variable record lengths (i.e. 80 byte tape labels, then different sized data records, etc.).  Given that the remote tape drive was a drive which could do variable length record activities, I think MultiNet’s rmt support actually worked well.  I don’t remember testing it though.  Whether someone should try to do that now to backup simulated VMS systems is another subject I may write about a little later.<o:p></o:p></span></p><p class=MsoNormal><a name="_MailEndCompose"><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'><o:p> </o:p></span></a></p><div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>From:</span></b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'> Simh [mailto:simh-bounces@trailing-edge.com] <b>On Behalf Of </b>Clem Cole<br><b>Sent:</b> Thursday, January 25, 2018 1:31 PM<br><b>To:</b> Larry Baker <baker@usgs.gov>; SIMH <simh@trailing-edge.com><br><b>Subject:</b> Re: [Simh] VAX Tape Emulation?<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal><span style='font-family:"Arial",sans-serif'><o:p> </o:p></span></p></div><div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>On Thu, Jan 25, 2018 at 4:14 PM, Larry Baker <<a href="mailto:baker@usgs.gov" target="_blank">baker@usgs.gov</a>> wrote:<o:p></o:p></p><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in'><p class=MsoNormal>Because UNIX tapes and tape drivers<span style='background:yellow'> cannot write variable-length blocks and do not allow skipping forward over records between read operations</span><o:p></o:p></p></blockquote><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><span style='font-family:"Arial",sans-serif'>​That's not a correct statement.   UNIX does it great - I've used it (and rmt) for years.  UNIX's tape driver is the most flexible of any OS I have ever used (and I have done tapes on probably greater than 25 different OS's over the last 40 years).  That's why I suggest it.  I wonder what the issue for VMS is?<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Arial",sans-serif'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Arial",sans-serif'>Hmm.. thinking about it, TCP sockets will remove the record orientation (TCP creates an stream of octets without any records), so if you are doing the funky RMS like stuff, its TCP that dropping those boundaries not the UNIX tape driver.   If you want same then it need to be set as meta-data.  But the UNIX tape drive works as expected.   The 'block' size is the size of the write, although I think the TM11 requires a minimum of 512 bytes.   Records passed with the MTIO ioctl' which mt/rmt all support..     <o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Arial",sans-serif'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Arial",sans-serif'>That said,  I agree if he can get DECnet to work, that is likely to better integrated into the utilities.<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Arial",sans-serif'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Arial",sans-serif'>Clem<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Arial",sans-serif'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Arial",sans-serif'>​<o:p></o:p></span></p></div></div></div><div><p class=MsoNormal><span style='border:solid windowtext 1.0pt;padding:0in'><img border=0 width=100 height=100 id="_x0000_i1025" src="cid:~WRD161.jpg" alt="Image removed by sender."></span><span style='font-size:7.5pt;font-family:"Gadugi",sans-serif;color:white'>ᐧ</span><o:p></o:p></p></div></div><div><p class=MsoNormal><span style='border:solid windowtext 1.0pt;padding:0in'><img border=0 width=100 height=100 id="_x0000_i1026" src="cid:~WRD161.jpg" alt="Image removed by sender."></span><span style='font-size:7.5pt;font-family:"Gadugi",sans-serif;color:white'>ᐧ</span><o:p></o:p></p></div></div></div></body></html>