index maintenance, how to get it to work?

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
ivannavi
Premium Member
Premium Member
Posts: 120
Joined: Mon Mar 07, 2005 9:49 am
Location: Croatia

index maintenance, how to get it to work?

Post by ivannavi »

Oracle Enterprise stage:
Load, Append
Index Mode = Maintenance

All indexes in the target table are local range partitioned indexes. Therefore index option maintenance can be used.

Fatal error:
main_program: Internal Error: (count <= numPartKeys): oraTable.C: 197
Traceback: Could not obtain stack trace; check that 'gdb' and 'sed' are installed and on your PATH
I have checked. gdb and sed are installed and the directories where they reside are in the PATH.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Have you checked for the user ID that runs DataStage jobs? Look in the second event in the job log ("environment variables").
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
ivannavi
Premium Member
Premium Member
Posts: 120
Joined: Mon Mar 07, 2005 9:49 am
Location: Croatia

Post by ivannavi »

USER=dsadm

Another user-like entry is DS_USERNO=-9657.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Re: index maintenance, how to get it to work?

Post by chulett »

ivannavi wrote:I have checked. gdb and sed are installed and the directories where they reside are in the PATH.
Just to be anal - they are in who's PATH? They would need to be in the path of the running job's environment, not you logging in as that same user checking from the command line. You can check the second log entry of any job for a dump of the job's environment variables - is the PATH correct there?
-craig

"You can never have too many knives" -- Logan Nine Fingers
ivannavi
Premium Member
Premium Member
Posts: 120
Joined: Mon Mar 07, 2005 9:49 am
Location: Croatia

Post by ivannavi »

PATH= ... /usr/bin ... /opt/langtools/bin ...


I found these directories in log (Director, Environment variable settings)
gdb and sed are inside. So, yes the path is correct there.
Post Reply