[Info-vax] openvms licensing
hb
end.of at inter.net
Thu Feb 18 05:04:39 EST 2016
On 02/18/2016 02:30 AM, BillPedersen wrote:
> On Wednesday, February 17, 2016 at 8:08:31 PM UTC-5, Bill Cunningham wrote:
>> "Jan-Erik Soderholm" <jan-erik.soderholm at telia.com> wrote in message
>> news:na303t$eb3$2 at news.albasani.net...
>>> Den 2016-02-17 kl. 23:45, skrev Bill Cunningham:
>>>> [snip]
>>>>
>>>
>>> [snip snip]
>>>
>>>>
>>>> It is a hobbyist PAK. 112 PAKs. The other email said to run it as above.
>>>> I can get the file onto VMS...
>>>
>>> And exactly HOW did you do that ???
>>>
>>> What do you see when TYPE'ing your file?
>>>
>>> Does it look OK with clean consecutive lines
>>> each starting with an $?
>>>
>>
>> Looks like it.
>>
>> Ok Now some exaplaining. I use the card reader to load the text file
>> into simh and then into VMS. Take note, Now this is off the top of my head.
>> I am at a laptop now without VMS access.
>>
>> set cr enable
>> at -a cr list // PAK file.
>> set cr translation=029
>> b cpu
>>
>> Ok and then in VMS I set the card reader. This is really a worthwhile
>> endeavor.
>>
>> alloc cra0:
>> set card_reader cra0:/029
>> copy cra0: license.com
>>
>> The cra0: finishes and I have to interrupt. But the file is there. I type
>> @license.com and get a lines full of errors. I've logged it but I don't have
>> access right now. I've tried so many things I'm waiting for someone to
>> pinpoint something so I can explain in detail. You hit the nail on the head.
>>
>> I typed the file and some lines that began with
>>
>> $ or
>> $!
>>
>> Were changed to
>> [
>> a left bracket. It is very possible that there have been attributes altered.
>> I already have a .com file and creating a new one and copying would not
>> help.
>>
>> Bill
>
> I have used SimH without needing to resort to this. Just opened the editor or CREATE in the SimH window and then did as I previously suggested.
>
> Just use the cut/paste operation.
>
> Bill.
>
As an alternative, to get "small" files into your freshly installed VMS
on a simh VAX ...
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.
More information about the Info-vax
mailing list