I've gotten really tired of having customers retrieve patches from the ESC
and then calling me with all sorts of problems in transferring them and
unpacking. For those of you who might like to use this, here is a command
file that will get a patch directly from the ESC and place it in
INSTALL.SYS on an HP3000 with Internet access. All you need to specify is
the patch ID.
N.B. There is no copy of UNPACKP or MOVER available on the FTP server.
For those, you are on your own to get them up to your 3K!
If you want to try this, the MPE 5.5 patch SIMEDG4A is very small.
Copy the remaining text to your 3k and give it a try!
GETPATCH Starts HERE
parm patchid,host='us-ffs.external.hp.com',version='!HPRELVERSION' &
user='anonymous',[log in to unmask]
echo
echo *** GETPATCH Internet MPE Patch Retrieval (1.0) ***
comment This command file retrieves a patch for MPE
comment from the HP MPE Patch Server by Anonymous FTP
comment Under normal Circumstances, one needs to only specify
comment the 8 Character Patch ID. If one needs a patch for
comment a version of MPE that is not currently installed
comment the VERSION parameter must also be specified as shown:
comment GETPATCH SIMEDG4A;version='C.55.00'
comment Copyright Gary L. Biggs, November 30, 1998
comment All Rights Reserved -- Internet Distribution of this
comment document is permitted. It is not to be included as a
comment portion of any commercial product without the express
comment written permission of the author.
comment The latest version of GETPATCH may be obtained from the
comment author [log in to unmask] or by Anonymous FTP from
comment ftp.biggs.dallas.tx.us
comment This builds a temporary BLDPARMS file that makes sure
comment that the MPE FTP client can retrieve a patch up to
comment 2 gigs in size
purge patchprm;temp >$null
build patchprm;rec=-72,,f,ascii;temp
file patchprm,oldtemp
echo ;REC=-80,,F,ASCII;DISC=204800 >>*patchprm
echo ;REC=128,,F,BINARY;DISC=8000000 >>*patchprm
echo ;REC=,,B;DISC=2048000000 >>*patchprm
file BLDPARMS.ARPA.SYS = patchprm,oldtemp
comment This creates an FTP script that will retrieve the
comment patch by Anonymous FTP.
purge ftpin;temp >$null
purge ftpout;temp >$null
file ftpin,oldtemp
file ftpout,new;temp
build ftpin;rec=-72,,f,ascii;temp
echo exitonerror >>*ftpin
purge !patchid.INSTALL.SYS >$null
echo Retrieving !PATCHID from !host -- !hptimef
echo OPEN !host >>*ftpin
echo >>*ftpin
echo USER !user !password>>*ftpin
setvar directory 'mpe-ix_patches/' + dwns('!version')
echo cd !directory >>*ftpin
echo binary >>*FTPIN
echo GET !patchid !patchid.INSTALL.SYS >>*ftpin
echo EXIT >>*ftpin
comment GET the PATCH
errclear
run ftp.arpa.sys;stdin=*ftpin;stdlist=*ftpout
comment Check for errors and clean up
if !ftplasterr <> 0 then
echo FTP Transfer of !patchid Failed -- Error Follows
echo !FTPLASTMSG
file ftpout,oldtemp
print *ftpout
else
echo !patchid.INSTALL.SYS is ready for UNPACKING -- !HPTIMEF
purge ftpout,temp >$null
endif
echo **************************************************
reset ftpin
reset ftpout
purge ftpin,temp >$null
purge ftpout,temp >$null
deletevar directory
comment END of GETPATCH
Gary L. Biggs, N5TTO
[log in to unmask]
Interex SIG Allbase Chair
"Abandon all hope, Ye who Inter(net) here" --
Dante, over the portal(router) to Hell
|