* llcense problems
@ 2004-01-27 20:47 Michael Grunditz
2004-01-28 21:35 ` Hobbyist License problems (was: Re: llcense problems) Hoff Hoffman
0 siblings, 1 reply; 3+ messages in thread
From: Michael Grunditz @ 2004-01-27 20:47 UTC (permalink / raw)
Hi all
Last time when I was forced to relicsense my OpenVMS hobbyist system
I ended up in reinstalling the machine. I hope that there is another
way, but I cant find out how.
btw. is there a easy way to change the format of the license files
emailed from montagar.com ? I allways ends up in haveing unuseble
files whith no linefeed.
/Michael Grunditz
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Hobbyist License problems (was: Re: llcense problems)
2004-01-27 20:47 llcense problems Michael Grunditz
@ 2004-01-28 21:35 ` Hoff Hoffman
2004-01-29 15:40 ` hammond
0 siblings, 1 reply; 3+ messages in thread
From: Hoff Hoffman @ 2004-01-28 21:35 UTC (permalink / raw)
In article <5d8887774c.michael@privat.utfors.se>, Michael Grunditz <michael.grunditz@telia.com> writes:
:Last time when I was forced to relicsense my OpenVMS hobbyist system
:I ended up in reinstalling the machine. I hope that there is another
:way, but I cant find out how.
When your licenses expire, boot conversationally on the console per
the information included in recent editions of the OpenVMS Frequently
Asked Questions (FAQ). Load your licenses. Reboot.
If you want to clean up the old licenses, you could delete them, disable
them, or re-create the entire license database and load the new licenses.
I generally save the text files containing the old licenses, as it is an
easy edit to the file to change the load commands into a collection of
disable commands.
I also tend to set a DECwindows calendar alarm or such, so I can go get
new licenses before the current ones expire -- and thus avoid having to
use the conversational bootstrap sequence.
:btw. is there a easy way to change the format of the license files
:emailed from montagar.com ? I allways ends up in haveing unuseble
:files whith no linefeed.
Unusable files with no line feed sounds like a file with a bogus record
format seting.
I haven't seen the file and particularly the record organization setting
involved with these (assumed) text files, but I'd be surprised if it
could not be cured with the approrpriate SET FILE/ATTRIBUTES command.
(I did just request some licenses and received some mail messages,
which would imply that however these files were exported to text and
hauled over to OpenVMS -- assuming the target system for the license
mail is not OpenVMS -- is the source of the record attributes mismatch.)
Are these (assumed) text files containing the licenses being transfered
through a Microsoft Windows system or another operating system, for
instance?
You might want to ask the montagar folks for help here, both in terms
of the license file format information (and commands needed to repair
the files) and for obvious enhancements like updates that zip the text
of the licenses.
Depending on the intermediate system, create a copy of the file on
OpenVMS, and try setting the copy of the file to use Stream Linefeed or
Stream CR with SET FILE /ATTR=RFM=STMLF or SET FILE /ATTR=RFM=STMCR.
OpenVMS questions are probably best asked in comp.os.vms, too.
---------------------------- #include <rtfaq.h> -----------------------------
For additional, please see the OpenVMS FAQ -- www.hp.com/go/openvms/faq
--------------------------- pure personal opinion ---------------------------
Hoff (Stephen) Hoffman OpenVMS Engineering hoff[at]hp.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Hobbyist License problems (was: Re: llcense problems)
2004-01-28 21:35 ` Hobbyist License problems (was: Re: llcense problems) Hoff Hoffman
@ 2004-01-29 15:40 ` hammond
0 siblings, 0 replies; 3+ messages in thread
From: hammond @ 2004-01-29 15:40 UTC (permalink / raw)
No support. No guarantee. But, if you're inerested, here is how
I warn myself about soon-to-expire licenses:
$ SET VERIFY
$!
$! LIC_CHECK.COM
$!
$! Check for soon-to-terminate licenses
$!
$! Resubmit job
$!
$! We will not run this on Sat or Sun.
$!
$! If this is FRIDAY , re-submit it for next MONDAY
$!
$ if f$cvtime("TODAY",,"WEEKDAY") .eqs. "Friday"
$ then ! On Friday, "TOMORROW+2-" is next Monday
$ after_time = f$cvtime("TOMORROW+2-","ABSOLUTE")
$ else
$ after_time = f$cvtime("TOMORROW","ABSOLUTE")
$ endif
$!
$ set noon
$ submit lic_check.com /name=lic_check /after="''after_time'"
$ stat = $status
$ set on
$ if .not. $status
$ then
$ mail blank.txt _hammond -
/subj="LIC_CHECK failed to re-submit itself -- continuing"
$ endif
$!
$! On Monday check for anything w/i 30 days.
$ if f$cvtime("TODAY",,"WEEKDAY") .eqs. "Monday"
$ then
$ pipe sho lic | sear sys$input terminate
$ if $status .eq. %X10000001 ! normal -- found terminate
$ then
$ mail blank.txt _hammond -
/subj="1 or more licenses will terminate within 30 days"
$ exit
$ else
$ if $status .ne. %X18D78053 ! No strings matched
$ then
$! Anything other than normal and no strigs matched is unexpected.
$ mail blank.txt _hammond -
/subj="Unexpected status in LIC-CHECK.COM(30)"
$ exit
$ endif
$ endif
$!
$! Other days, check only for w/i 10 days
$ else
$ x$d = f$cvtime("today+10-","absolute")
$ x$d = f$element(0," ",x$d)
$ pipe sho lic /before /termination='x$d' | sear sys$input criteria
$ if $status .eq. %X18D78053 ! No strings matched -- terminate
$ then
$ mail blank.txt _hammond -
/subj="1 or more licenses will terminate within 10 days"
$ exit
$ else
$ if $status .ne. %X10000001 ! normal -- found
$ then
$! Anything other than normal and no strigs matched is unexpected.
$ mail blank.txt _hammond -
/subj="Unexpected status in LIC-CHECK.COM(10)"
$ exit
$ endif
$ endif
$ endif
--
Charlie Hammond -- Hewlett-Packard Company -- Ft Lauderdale FL USA
(hammond@not@peek.ssr.hp.com -- remove "@not" when replying)
All opinions expressed are my own and not necessarily my employer's.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-01-29 15:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-27 20:47 llcense problems Michael Grunditz
2004-01-28 21:35 ` Hobbyist License problems (was: Re: llcense problems) Hoff Hoffman
2004-01-29 15:40 ` hammond
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox