[Info-vax] openvms licensing

Bill Cunningham nospam at nspam.invalid
Thu Feb 18 13:10:33 EST 2016


"hb" <end.of at inter.net> wrote in message news:na450r$p7i$1 at gioia.aioe.org...

> Presumed you are running simh on a Linux system and that the size of the
> file is less than 400KB.
>
> In simh emulating a MicroVAX 3900 you have an RX50 at RQ3, that is DUA3.
> In your .ini file or at the simh prompt attach your command file to this
> device:
>        ATTACH RQ3 ./paks.com
> Print the file size of the command procedure:
>        # ls -l ./paks.com
> Take the value, for example 2742, and calculate ebk and ffb:
> # size=2742
>        # printf "ebk=%d,ffb=%d\n" $((($size/512)+1)) $(($size%512))
>        ebk=6,ffb=182
>        #
> Boot into VMS and mount the RX50 as a foreign device:
>        $ mount/for dua3:
>        %MOUNT-I-MOUNTED,  mounted on _EMUVAX$DUA3:
>        $
> Copy all the blocks from the foreign device:
>        $ copy DUA3: paks.com
>        %COPY-W-INCOMPAT, DUA3:[].; (input) and
> SYS$SYSDEVICE:[USER]PAKS.COM;1 (output) have incompatible attributes
>        %COPY-E-READERR, error reading DUA3:[].;
>        -RMS-F-RER, file read error
>        -SYSTEM-F-ILLBLKNUM, illegal logical block number
>        %COPY-W-NOTCMPLT, DUA3:[].; not completely copied
>        $
>        $ dir/size=all paks.com
>
>        Directory SYS$SYSDEVICE:[USER]
>
>        PAKS.COM;1               800/801
>
>        Total of 1 file, 800/801 blocks.
>        $
>
> Set eof and the file attribute to a Linux/Unix compatible file format:
>        $ set file/attr=(rfm=stmlf,ebk=6,ffb=182) paks.com
> Type, edit or run the command procedure.
>        $ @paks
>
> On Windows you may need to set rfm to stm, but I don't use Windows and
> so I don't know whether this works.

    Cool. Just what I'm looking for!  can resort to that "cut and paste". 
And load so much into my linux (and will if needed). But this is a good 
alternative method perhaps. I will check. What if ebk and ffb? I'm not great 
with Bash though :( I will look into this. 





More information about the Info-vax mailing list