[Info-vax] Transferring file to VMS emulated in SIMH

zibree at gmail.com zibree at gmail.com
Tue Jan 1 06:30:55 EST 2019


On Monday, December 31, 2018 at 5:04:56 PM UTC+2, hb wrote:
> On 12/31/2018 02:40 AM, Stephen Hoffman wrote:
> > Prolly easier to get the network configured and going, and transfer the
> > files that way.   Or send files via ISO-9660:1988, if you really need
> > the local transfers in the absence of add-on FAT tools on OpenVMS, or ilk.
> 
> Without any network, ISO-9660 is probably the easiest way to transfer
> files. Unfortunately the plain V5.5-2 doesn't support ISO-9660.
> 
> On the other hand, the OP did't try to convert the file he already
> copied from the tape. It would have worked.

Well for example:

from linux:
for b in {0..255};do for a in {0..255};do printf "\x$(printf %x
$a)";done;done >64k.bin

This creates a file like this:

~$ hexdump -C 64k.bin |more
00000000  00 01 02 03 04 05 06 07  08 09 0a 0b 0c 0d 0e
0f  |................|
00000010  10 11 12 13 14 15 16 17  18 19 1a 1b 1c 1d 1e
1f  |................|
00000020  20 21 22 23 24 25 26 27  28 29 2a 2b 2c 2d 2e 2f  |
!"#$%&'()*+,-./|
00000030  30 31 32 33 34 35 36 37  38 39 3a 3b 3c 3d 3e
3f  |0123456789:;<=>?|
00000040  40 41 42 43 44 45 46 47  48 49 4a 4b 4c 4d 4e 4f  |@ABCDEFGHI
JKLMNO|
00000050  50 51 52 53 54 55 56 57  58 59 5a 5b 5c 5d 5e
5f  |PQRSTUVWXYZ[\]^_|
00000060  60 61 62 63 64 65 66 67  68 69 6a 6b 6c 6d 6e
6f  |`abcdefghijklmno|
00000070  70 71 72 73 74 75 76 77  78 79 7a 7b 7c 7d 7e
7f  |pqrstuvwxyz{|}~.|
00000080  80 81 82 83 84 85 86 87  88 89 8a 8b 8c 8d 8e
8f  |................|
00000090  90 91 92 93 94 95 96 97  98 99 9a 9b 9c 9d 9e
9f  |................|
000000a0  a0 a1 a2 a3 a4 a5 a6 a7  a8 a9 aa ab ac ad ae
af  |................|
000000b0  b0 b1 b2 b3 b4 b5 b6 b7  b8 b9 ba bb bc bd be
bf  |................|
000000c0  c0 c1 c2 c3 c4 c5 c6 c7  c8 c9 ca cb cc cd ce
cf  |................|
000000d0  d0 d1 d2 d3 d4 d5 d6 d7  d8 d9 da db dc dd de
df  |................|
000000e0  e0 e1 e2 e3 e4 e5 e6 e7  e8 e9 ea eb ec ed ee
ef  |................|
000000f0  f0 f1 f2 f3 f4 f5 f6 f7  f8 f9 fa fb fc fd fe
ff  |................|

Then from simh:

$ 
Simulation stopped, PC: 984A02DF (BBC #3,26C(R3),984A031C)
sim> set rq3 cdrom
sim> attach rq3 -f raw ../64k.bin
sim> cont

$ mount/foreign dua3:
$ copy dua3: 64k.bin
$ dump 64k.bin

Dump of file SYS$SYSROOT:[SYSMGR]64K.BIN;1 on  1-JAN-2019 13:03:12.55
File ID (585,4,0)   End of file block 128 / Allocated 129

Virtual block number 1 (00000001), 512 (0200) bytes

 0F0E0D0C 0B0A0908 07060504 03020100 ................ 000000
 1F1E1D1C 1B1A1918 17161514 13121110 ................ 000010
 2F2E2D2C 2B2A2928 27262524 23222120  !"#$%&'()*+,-./ 000020
 3F3E3D3C 3B3A3938 37363534 33323130 0123456789:;<=>? 000030
 4F4E4D4C 4B4A4948 47464544 43424140 @ABCDEFGHIJKLMNO 000040
 5F5E5D5C 5B5A5958 57565554 53525150 PQRSTUVWXYZ[\]^_ 000050
 6F6E6D6C 6B6A6968 67666564 63626160 `abcdefghijklmno 000060
 7F7E7D7C 7B7A7978 77767574 73727170 pqrstuvwxyz{|}~. 000070
 8F8E8D8C 8B8A8988 87868584 83828180 ................ 000080
 9F9E9D9C 9B9A9998 97969594 93929190 ................ 000090
 AFAEADAC ABAAA9A8 A7A6A5A4 A3A2A1A0 .��������������� 0000A0
 BFBEBDBC BBBAB9B8 B7B6B5B4 B3B2B1B0 ���������������� 0000B0
 CFCECDCC CBCAC9C8 C7C6C5C4 C3C2C1C0 ���������������� 0000C0
 DFDEDDDC DBDAD9D8 D7D6D5D4 D3D2D1D0 ���������������� 0000D0
 EFEEEDEC EBEAE9E8 E7E6E5E4 E3E2E1E0 ���������������� 0000E0
 FFFEFDFC FBFAF9F8 F7F6F5F4 F3F2F1F0 ���������������. 0000F0

$ anal/rms 64k.bin

Check RMS File Integrity                      1-JAN-2019
13:08:28.58   Page 1
SYS$SYSROOT:[SYSMGR]64K.BIN;1


FILE HEADER

        File Spec: SYS$SYSROOT:[SYSMGR]64K.BIN;1
        File ID: (585,4,0)
        Owner UIC: [SYSTEM]
        Protection:  System: RWED, Owner: RWED, Group: RE, World: 
        Creation Date:    1-JAN-2019 13:02:44.51
        Revision Date:    1-JAN-2019 13:02:44.53, Number: 1
        Expiration Date: none specified
        Backup Date:     none posted
        Contiguity Options:  none
        Performance Options: none
        Reliability Options: none
        Journaling Enabled:  none


RMS FILE ATTRIBUTES

        File Organization: sequential
        Record Format: fixed
        Record Attributes:   
        Maximum Record Size: 512
        Longest Record: 512
        Blocks Allocated: 129, Default Extend Size: 0
        End-of-File VBN: 129, Offset: %X'0000'
        File Monitoring: disabled
        Global Buffer Count: 0


The analysis uncovered NO errors.

So it is indeed possible to transfer files in an easy way.
Without using kermit or other things you must use only if on a real
vax.




More information about the Info-vax mailing list