Error in using Custom Stages

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
s_rkhan
Participant
Posts: 20
Joined: Thu Mar 03, 2005 6:26 am

Error in using Custom Stages

Post by s_rkhan »

Hi,

We are having some custom stages that are required to be imported and then needs to be used in the jobs. After importing the Custom stages following error is coming in the job at runtime:-

main_program: Could not locate operator definition, wrapper, or Unix command for "Check"; please check that all needed libraries are preloaded, and check the PATH for the wrappers

This Check is a operator that is being used in the Custom Stages.

regards
srk
benny.lbs
Participant
Posts: 125
Joined: Wed Feb 23, 2005 3:46 am

Re: Error in using Custom Stages

Post by benny.lbs »

srk, you are using BuildOp, right ?

You 'd better have a look at this file $Proj Dir/buildop/operator.apt, after imported the custom stage, you need to update this file too.

Have a try and let me know your result.
s_rkhan wrote:Hi,

We are having some custom stages that are required to be imported and then needs to be used in the jobs. After importing the Custom stages following error is coming in the job at runtime:-

main_program: Could not locate operator definition, wrapper, or Unix command for "Check"; please check that all needed libraries are preloaded, and check the PATH for the wrappers

This Check is a operator that is being used in the Custom Stages.

regards
srk
s_rkhan
Participant
Posts: 20
Joined: Thu Mar 03, 2005 6:26 am

Re: Error in using Custom Stages

Post by s_rkhan »

benny.lbs wrote:srk, you are using BuildOp, right ?

You 'd better have a look at this file $Proj Dir/buildop/operator.apt, after imported the custom stage, you need to update this file too.

Have a try and let me know your result.
Hi,

We are not using the buildop, instead of buildop we are using the custom stages and in those custom stages we are calling some operators.

Problem here is that those operators and Stages are made at a different server so now we are not having those operators installed on the server.

But we are having certain libcheck.so files which can contain the information about the operator Check that is being used. Information is required for the directory where these so files needs to be put.

Thanks
srk
Eric
Participant
Posts: 254
Joined: Mon Sep 29, 2003 4:35 am

Post by Eric »

You must exprt the custom stage from the machine it was created and import it to the new machine before the jobs that rely on this stage will work.
s_rkhan
Participant
Posts: 20
Joined: Thu Mar 03, 2005 6:26 am

Post by s_rkhan »

Eric wrote:You must exprt the custom stage from the machine it was created and import it to the new machine before the jobs that rely on this stage will work.
Hi,

I have imported these custom stages and then I am trying to use it but the problem here is that these Custom stages are not using the Orchestrate in-built operators e.g. head or import.

Instead of the in-built operators it is using some operators which are some custom made. Please let us know how to use the library files that have been provided for these custom operators.

Regards
srk
Post Reply