HP3000-L Archives

June 2012, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
John Pitman <[log in to unmask]>
Reply To:
John Pitman <[log in to unmask]>
Date:
Wed, 6 Jun 2012 10:24:30 +1000
Content-Type:
text/plain
Parts/Attachments:
text/plain (74 lines)
MV is working....had to add -f to it.

Is there an easy way to (Programmatically) get rid of the "END OF PROGRAM" message every time I execute the sh or a command please ?

thanks

Regards,

John Pitman

.
-----Original Message-----
From: HP-3000 Systems Discussion [mailto:[log in to unmask]] On Behalf Of Roy Brown
Sent: Wednesday, 6 June 2012 7:48 AM
To: [log in to unmask]
Subject: Re: [HP3000-L] posix mv problem

In message
<[log in to unmask]
 >, "[log in to unmask]"
<[log in to unmask]> writing at 12:55:50 in his/her local time opines:-
>I've been using:
>
>RUN MV.HPBIN.SYS;INFO="/from_filename /to_filename"
>
>for years now.   (note use of posix filenaming convention.  Not sure if
>it's required - but it works just fine)
>
>This is a handy way of doing a 'hot install' of a program or library
>that's in production - w/o taking the application down.
>
>Users that have loaded the program/library BEFORE the 'mv' command
>continue using the old program/library, until they exit.  (you can see
>who's still using the old program/library by doing a 'listf filename,9')
>
>Users loading the program/library AFTER the 'mv' command will start
>using the 'new' program/library.
>
>MUCH easier on your users than forcing everyone to quit/restart.  Only
>the users that NEED the fix need exit/re-enter the app.
>
>Of course, YMMV - but it's worked well for me.
>
>-Brian Edminster
>Applied Technologies, Inc.
>"Robust Solutions and Integration For Today and Tomorrow"
>
>See www.MPE-OpenSource.org for this, and more tips on keeping your 3000
>alive and thriving.

You can do something very similar in straight MPE with:-
PURGELINK targetfile
COPY sourcefile, targetfile

I used to do this a lot, generally with both commands within a user
command, to minimise the window for failed access to targetfile during
the process.

I guess the 'mv' approach might be completely atomic, and so close this
window completely, though?

Roy
--
Roy Brown        'Have nothing in your houses that you do not know to be
Kelmscott Ltd     useful, or believe to be beautiful'  William Morris

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

CAUTION: This message may contain privileged and confidential information intended only for the use of the addressee named above. If you are not the intended recipient of this message you are hereby notified that any use, dissemination, distribution or reproduction of this message is prohibited. If you have received this message in error please notify RYCO Hydraulics Pty. Ltd. immediately. Any views expressed in this message are those of the individual sender and may not necessarily reflect the views of RYCO Hydraulics Pty. Ltd.

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2