I am using Datastage 7.5.1 on AIX server. I need to delete .ds file using unix command.
When I give the command
orachmin delete $Path/xxx.ds
it gives me an error as "ksh: orchadmin: not found".
Can you help me out in enabling the Orchadmin?
Regards,
Tushar
Enable orachadmin
Moderators: chulett, rschirm, roy
There's nothing to 'enable', you just need to ensure it is in your $PATH. Try setting your environment to the DataStage environment by 'sourcing' dsenv first:
Then run your command again.
Code: Select all
cd $DSHOME
. ./dsenv
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
Your dsenv file should have the path of shared library set to $APT_ORCHHOME/lib.
Then you need to run the orchadmin command by running the following
Then you need to run the orchadmin command by running the following
Code: Select all
cd $APT_ORCHHOME/bin
orchadmin delete $Path/xxx.ds
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
Ok. Or just this then:
I'd still make sure this bin directory is in your PATH somewhere.
Code: Select all
$APT_ORCHHOME/bin/orchadmin delete $Path/xxx.ds
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
As well as havingAPT_ORCHHOME set and PATH including $APT_ORCHHOME/bin you must have APT_CONFIG_FILE set (pointing to the same configuration file that was used to create the Data Set), and your shared library search path must include $APT_ORCHHOME/lib.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.