dspackinst - Package installation

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

dspackinst - Package installation

Post by kumar_s »

Hi,

Iam trying to install Oracle stage using dspackinst utility. I never used this before. It asking me for 'Package Directory'. May I know, if there is any default location available? Or always I need to point to CD?
Or this is confugurable during Installaion.
I treid $DSHOME, $DSHOME/bin and some other directories too.
Any inputs highly appreciated.
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
ray.wurlod
Participant
Posts: 54595
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

It must be the directory that contains the file whose name ends in ".dsp". This might be on the CD, or it might be that you have copied the CD to disk.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

You know you could rerun the Server installation and have it installed in all projects at once, rather than one by one using dspackinst... yes?

This would also update the 'template' project, such that any new project created after this would also have the plug-in.
-craig

"You can never have too many knives" -- Logan Nine Fingers
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

chulett wrote:You know you could rerun the Server installation and have it installed in all projects at once, rather than one by one using dspackinst... yes?

This would also update the 'template' project, such that any new project created after this would also have the plug-in.

Craigs suggestion seems more effective. Especially if it updates the project template.
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

I haven't had a use for the 'package installer' since I stopped releasing jobs years ago. Rerunning the installation puts you in 'maintenance' mode and one option there is to just install plug-ins.
-craig

"You can never have too many knives" -- Logan Nine Fingers
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

Thanks Ray,

I could see some files like

...DS_PLUGIN_STAGES/Samples/Passive/Passive.dsp
...DS_PLUGIN_STAGES/Samples/Passive/PassiveRes.dsp

But these files doesn't seems to be the one for this purpose, neither the directory in which it resides.
I guess, I should ask for CD to run the Maintenance mode installation.
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
ray.wurlod
Participant
Posts: 54595
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

The ones in Samples are for would-be plug-in writers. Find the dsp files under the appropriate folder (e.g. Oracle).
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

I found all these all under a directory where Installation CD is unpacked. I couldn't find any other files available with this extension. So I guess, the content of Plug-ins were not copied.
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Kumar - on my HPUX cdrom there is a packages directory and then the various plug-in folders under that. So for OCI:

Code: Select all

\packages\oci9\hp
\packages\oci9\hp\oci9.dsp
\packages\oci9\hp\dstage
\packages\oci9\hp\dstage\oraoci9.enu
\packages\oci9\hp\dstage\oraoci9.jpn
\packages\oci9\hp\dstage\oraoci9.sl

So you should have something equivalent for your O/S. I don't recall if you point to th 'oci9' directory or the 'hp' directory under that, but one of the two should work for the package path it is prompting you for.
-craig

"You can never have too many knives" -- Logan Nine Fingers
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

Oh yeah... everything in the same place!!! Thanks Craig.
Permission was the only issue which hided me in finding it. It is owned by root. So couldn't get access. I ll try once again after I get permission granted by Admin.
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

:? Doesn't the package installer need to be run by root? I seem to recall that as an issue with its continued use in the past... or has that changed lately?
-craig

"You can never have too many knives" -- Logan Nine Fingers
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

Iam working in Version 7.0.
Same path. Worked with dsadm.
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
Post Reply