Error deleting datasets

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
kumar11
Participant
Posts: 15
Joined: Wed Sep 14, 2016 5:47 am

Error deleting datasets

Post by kumar11 »

Hi,
when trying to delete the datasets on the box getting the below error:

/opt/IBM/InformationServer/Server/PXEngine> in/orchadmin delete /mi/dev1/datastage/stage/xxxxx.ds <
Could not load program /opt/IBM/InformationServer/Server/PXEngine/bin/orchadmin:
Symbol resolution failed for /opt/IBM/InformationServer/Server/PXEngine/lib/liborchcoreaix64.so because:
Symbol __dl__Q2_6icu_507UMemoryFPv (number 160) is not exported from dependent
module /opt/IBM/TWA/TWS/bin/libicuuc.a[libicuuc.so].
Symbol u_errorName_50 (number 161) is not exported from dependent
module /opt/IBM/TWA/TWS/bin/libicuuc.a[libicuuc.so].
Symbol u_setDataDirectory_50 (number 162) is not exported from dependent
module /opt/IBM/TWA/TWS/bin/libicuuc.a[libicuuc.so].
Symbol u_strlen_50 (number 163) is not exported from dependent
module /opt/IBM/TWA/TWS/bin/libicuuc.a[libicuuc.so].
Last edited by kumar11 on Tue Sep 20, 2016 2:41 pm, edited 2 times in total.
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

It looks like you have not sourced the "dsenv" file, or that the path to the orchadmin command is not part of your $PATH.
kumar11
Participant
Posts: 15
Joined: Wed Sep 14, 2016 5:47 am

Thanks ArndW

Post by kumar11 »

Tried sourcing dsenv and updating the $PATH. but still the below error persists.

/opt/IBM/InformationServer/Server/PXEngine/bin/orchadmin delete /mi/dev1/datastage/xxxxxx.ds
Could not load program /opt/IBM/InformationServer/Server/PXEngine/bin/orchadmin:
Dependent module liborchgeneralaix64.so could not be loaded.
Could not load module liborchgeneralaix64.so.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Just for grins, can you confirm for us what your understanding of "sourcing dsenv" means?
-craig

"You can never have too many knives" -- Logan Nine Fingers
kumar11
Participant
Posts: 15
Joined: Wed Sep 14, 2016 5:47 am

Post by kumar11 »

./dsenv
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Actually:

Code: Select all

. ./dsenv
-craig

"You can never have too many knives" -- Logan Nine Fingers
kumar11
Participant
Posts: 15
Joined: Wed Sep 14, 2016 5:47 am

Post by kumar11 »

Thanks Chulett!!
now it gives a different error.

$ . ./dsenv
$ /opt/IBM/InformationServer/Server/PXEngine/bin/orchadmin delete /mi/dev1/datastage/stage/xxxxx.ds
##E IIS-DSEE-TFPA-00021 $APT_CONFIG_FILE was not set, and config.apt was not found in the working directory or in $APT_ORCHHOME/etc.
##F IIS-DSEE-TFCF-00009 Fatal Error: Cannot continue without a configuration file.
rkashyap
Premium Member
Premium Member
Posts: 532
Joined: Fri Dec 02, 2011 12:02 pm
Location: Richmond VA

Post by rkashyap »

This technote will help you.

You can also delete datasets by invoking Data Set Management utility in either DataStage Designer or Director client.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

:?: I changed your initial post's subject to something more problem specific, not sure why you felt the need to edit it and change it back to something so... generic. :?
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Both APT_CONFIG_FILE and APT_ORCHHOME need to be set. Verify that they are set in your dsenv script and that you are correctly sourcing that script.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
kumar11
Participant
Posts: 15
Joined: Wed Sep 14, 2016 5:47 am

Post by kumar11 »

Thanks All !!!

Able to resolve the issue after adding the APT_CONFIG_FILE and APT_ORCHHOME in dsenv file.
PaulVL
Premium Member
Premium Member
Posts: 1315
Joined: Fri Dec 17, 2010 4:36 pm

Post by PaulVL »

If your environment is hosting multiple projects, you should not set APT_CONFIG_FILE in dsenv. maybe make a wrapper script for that project so as to target a specific config file.

On a delete, it really doesn't matter that a config file be of that project, any VALID config file will do since the delete process will use the imbedded apt file in the descriptor.

But... I would still avoid putting a default APT in the dsenv.

*drops two cents*
Post Reply