Re: Upgrade question - part 2 (315 Views)
Reply
Occasional Advisor
Paolo_R
Posts: 12
Registered: ‎08-17-2013
Message 1 of 7 (425 Views)

Upgrade question - part 2

I've created a CD with the patches on it plus a couple of compilers and the CD is mounted on dka0 with a DIR listing showing up nicely.

 

Now, how do I get the files from the CD to OpenVMS? I was looking for something similar to the Unix 'mv' command. Looking at DCL documentation it seems RENAME might be what I am looking for but I don't want to do a RENAME and make a mess of things.

 

I'm logged in as SYSTEM in default directory SYS$SYSROOT:[SYSMGR]. What would be the correct RENAME command?

 

Bob Blunt said "Once they are moved to the OpenVMS instance/disk you should expand the ZIPfiles by "running" them like an executable image (for example $ run VMS84A_PCSI_V0200.ZIPEXE) which will extract the installation kits to a VMS directory."   So can I just run them from the CD-ROM? Do I have to create a directory on my system disk and then run them?

 

He then said: "$ SET DEFAULT to that directory and then:

 

$ PROD INSTALL *

 

You SHOULD get a list of the installation kits in that directory."

 

I'm struggling with the creation of the directory into which the kits will be placed.

 

Thanks.

 

 

Please use plain text.
Honored Contributor
Volker Halle
Posts: 5,204
Registered: ‎04-26-2004
Message 2 of 7 (422 Views)

Re: Upgrade question - part 2

Paolo,

 

do you know, that OpenVMS has excellent inline help ? Just try $ HELP

 

And OpenVMS commands are - most of the time - understandable, because they match english words. So if you want to 'copy' files, use the COPY DCL command.

 

And if you want to run an image, use the RUN command (in this case for the .zipexe self-extractable patches). The patch file should extract to the current default directory. Then you can install the patches (see $ HELP PRODUCT INSTALL).

 

Volker.

Please use plain text.
Acclaimed Contributor
Dennis Handly
Posts: 25,001
Registered: ‎03-06-2006
Message 3 of 7 (397 Views)

Re: Upgrade question - part 2

>I was looking for something similar to the Unix 'mv'

 

mv doesn't work too well on a CD.  :-)  cp(1) would be better.

Please use plain text.
Occasional Advisor
Paolo_R
Posts: 12
Registered: ‎08-17-2013
Message 4 of 7 (360 Views)

Re: Upgrade question - part 2

Volker:  yes, I accept that DCL commands are English-like. There is also a huge amount of documentation (probably too much for a newbie.)

What to you seems second nature, because of years of VMS experience, to me - with all of 5 days experience with VMS - is a huge learning curve. Every DCL command, for me,  needs a lot of research.

I've spent all day investigating COPY which, in turn, led to investigation into the directory structure. I've managed to create a TEMP directory but I can't get the syntax right to copy a file from the CD to the temp directory. I'll keep on trying - I'm just trying to point out OpenVMS is a pretty alien environment for newcomers.

Please use plain text.
Honored Contributor
Volker Halle
Posts: 5,204
Registered: ‎04-26-2004
Message 5 of 7 (358 Views)

Re: Upgrade question - part 2

Paolo,

 

assuming you've mounted the CDrom (MOUNT/OVER=ID DKA0:)

 

DIR DKA0:[directory-name] shows your patch files

 

You've created a DKA100:[TEMP] directory

 

Just use : $ COPY/LOG DKA0:[directory-name]file-name  DKA100:[TEMP]

 

Volker.

Please use plain text.
Honored Contributor
Steven Schweda
Posts: 9,084
Registered: ‎02-23-2005
Message 6 of 7 (345 Views)

Re: Upgrade question - part 2

Please use plain text.
Occasional Advisor
Paolo_R
Posts: 12
Registered: ‎08-17-2013
Message 7 of 7 (315 Views)

Re: Upgrade question - part 2

Volker: thank you. I have successfully installed the patches.

Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation