Any way to license openvms other than typing it in one character at a time

Having difficulties when installing the system? Your system runs slowly and requires some tweaking? You can get help here.
Post Reply

Topic author
soutbarr
Active Contributor
Posts: 30
Joined: Wed Mar 13, 2024 4:45 pm
Reputation: 0
Status: Offline

Any way to license openvms other than typing it in one character at a time

Post by soutbarr » Wed Mar 13, 2024 4:56 pm

I finally got openvms successfully installed in vmware workstation. Now I'm trying to figure out is there any way to get the pak in without typing it into a .com file one character at a time?


sms
Master
Posts: 349
Joined: Fri Aug 21, 2020 5:18 pm
Reputation: 0
Status: Offline

Re: Any way to license openvms other than typing it in one character at a time

Post by sms » Wed Mar 13, 2024 6:53 pm

Code: Select all

> [...] any way to get the pak in without typing it into a .com file one
> character at a time?

   What, exactly, does "the pak" mean to you?  And where (and in what
form) is it now?

   If you downloaded the X86COMMUNITYPAK package from the Service
Platform, then you should have the file "x86community-20240401.zip",
and/or its contents, "X86Community-20240401.txt", which is a 32KB DCL
script containing 45 different PAKs.

   Getting that PAK file onto storage which VMS can read can be a
challenge.  Multiple ways exist, but the simplest one might be to
install the OPENVMS-X86-BOE PAK manually.  The BOE PAK bundle includes
VMS, DECnet, TCPIP, and more, so once that's installed (registered and
loaded), you should be able configure TCPIP, and then use something like
FTP to transfer the whole PAK file.  Then do:
     @ X86Community-20240401.txt

   To register one PAK, you could type or use copy+paste to put in the
relevant "LICENSE REGISTER" and "LICENSE LOAD" commands from the PAK
file.  Alternatively:
      @ sys$update:vmslicense.com
and type (or copy+paste) the info from the PAK file into that more
user-friendly procedure (which is left over from the days of paper PAK
certificates).  Usually the answers to its questions are easy enough to
extract/interpret from the commands.

   A Web/Forum search should find many similar discussions/suggestions.


reinhardtjh
Active Contributor
Posts: 42
Joined: Sun Feb 23, 2020 7:49 am
Reputation: 0
Location: Fort Worth, TX USA
Status: Offline

Re: Any way to license openvms other than typing it in one character at a time

Post by reinhardtjh » Wed Mar 13, 2024 8:45 pm

sms wrote:
Wed Mar 13, 2024 6:53 pm

Code: Select all

> [...] any way to get the pak in without typing it into a .com file one
> character at a time?

   What, exactly, does "the pak" mean to you?  And where (and in what
form) is it now?

   If you downloaded the X86COMMUNITYPAK package from the Service
Platform, then you should have the file "x86community-20240401.zip",
and/or its contents, "X86Community-20240401.txt", which is a 32KB DCL
script containing 45 different PAKs.

   Getting that PAK file onto storage which VMS can read can be a
challenge.  Multiple ways exist, but the simplest one might be to
install the OPENVMS-X86-BOE PAK manually.  The BOE PAK bundle includes
VMS, DECnet, TCPIP, and more, so once that's installed (registered and
loaded), you should be able configure TCPIP, and then use something like
FTP to transfer the whole PAK file.  Then do:
     @ X86Community-20240401.txt

   To register one PAK, you could type or use copy+paste to put in the
relevant "LICENSE REGISTER" and "LICENSE LOAD" commands from the PAK
file.  Alternatively:
      @ sys$update:vmslicense.com
and type (or copy+paste) the info from the PAK file into that more
user-friendly procedure (which is left over from the days of paper PAK
certificates).  Usually the answers to its questions are easy enough to
extract/interpret from the commands.

   A Web/Forum search should find many similar discussions/suggestions.
^^^^^^

That's what I do. IA64 and x86 are easy as they all have one PAK that enables the system and networking. Alpha is a litle harder as it required both PAKS (twice the work!). Take a minute to enter that one (or two) and you're set until you can FTP or copy the whole file over. If you're connected via a terminal window on a PC/Mac/Linux system then you can cut and paste the PAK info from the file VSI sends to the terminal window too so you don't have to type those fiddly checksum characters.
John H. Reinhardt
  • VMS user since 1981


hb
Valued Contributor
Posts: 79
Joined: Mon May 01, 2023 12:11 pm
Reputation: 0
Status: Offline

Re: Any way to license openvms other than typing it in one character at a time

Post by hb » Thu Mar 14, 2024 6:56 am

You can also
- create a zip archive with the PAKs, that is, with the .TXT file - if you do not yet have one.
- create an ISO image with the zip archive
- attach the ISO image to the VM as CD/DVD
- on VMS, after logging in from the console for the first time, mount the CD/DVD and extract the .TXT file and run it as a command procedure.

Actually, you do not need the zip archive, but using one avoids fixing VMS file attributes. And you can also do this at installation time but then you have to ensure that the PAKs are registered in the license database on the target system.

If you use cut & paste, do it line by line. Otherwise you may see errors like

Code: Select all

%RMS-F-RER, file read error
-SYSTEM-W-DATAOVERUN, data overrun
They can be avoided and probably will by default in future versions of VMS.
Last edited by hb on Thu Mar 14, 2024 6:58 am, edited 1 time in total.


dgordon
VSI Expert
Active Contributor
Posts: 37
Joined: Tue May 09, 2023 7:57 am
Reputation: 1
Status: Offline

Re: Any way to license openvms other than typing it in one character at a time

Post by dgordon » Thu Mar 14, 2024 8:57 am

Copy & paste of PAKs -- There are two methods to make this work more easily:

If you're logged in at the console, and don't mind a reboot:

Code: Select all

$MC SYSGEN
SYSGEN> USE CURRENT
SYSGEN> SHOW TTY_TYPAHDSZ
SYSGEN> SET . 6330
SYSGEN> SHOW .
SYSGEN> WRITE CURRENT
SYSGEN> EXIT
$ REBOOT
which would allow you to
When the system reboots, you should be able to paste a lot more in a single go (6330 is just shy of 132*48)

If you're at the Boot Manager, then you can use conversational boot (set Bit 1 in the boot flags) and increase the value of TT_TYPAHDSZ in SYSBOOT. Similar to the above but omit USE/WRITE CURRENT and use CONTINUE instead of EXIT. Left as an exercise for the reader.

The default value of TTY_TYPAHDSZ will be increased in a future release.
Executive Vice President of InfoServer Engineering at VSI.

Post Reply