Failure During Execution of Operator Logic

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

pravin1581
Premium Member
Premium Member
Posts: 497
Joined: Sun Dec 17, 2006 11:52 pm
Location: Kolkata
Contact:

Post by pravin1581 »

ray.wurlod wrote:Do you add them to the stage using the parameter helper tool (Insert Job Parameter)? What do they look like when loaded into properties? Is the generated connection string consistent with what you've put into the individual properties?

Are all the required "#" characters in place? You did not answer this following my earlier post.
Yes they are inserted with the Insert Job parameter helper, everything has been double checked, the job was developed again from the scratch but still the error persists.
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Can you replace the 3 parameters 1 by 1 to see which one is causing the error? My guess would be something to do with the password...
pravin1581
Premium Member
Premium Member
Posts: 497
Joined: Sun Dec 17, 2006 11:52 pm
Location: Kolkata
Contact:

Post by pravin1581 »

ArndW wrote:Can you replace the 3 parameters 1 by 1 to see which one is causing the error? My guess would be something to do with the password...
I have done the same even if you replace any hardcoded values with the parameters the job fails.
dspxlearn
Premium Member
Premium Member
Posts: 291
Joined: Sat Sep 10, 2005 1:26 am

Post by dspxlearn »

pravin1581,

Check the connectivity to DB2 from DS for your user. I guess it is not the problem with the pasword. If it was the problem with the password, the error would be different and moreover, your password would have been locked up by now!! :idea:
Thanks and Regards!!
dspxlearn
pravin1581
Premium Member
Premium Member
Posts: 497
Joined: Sun Dec 17, 2006 11:52 pm
Location: Kolkata
Contact:

Post by pravin1581 »

dspxlearn wrote:pravin1581,

Check the connectivity to DB2 from DS for your user. I guess it is not the problem with the pasword. If it was the problem with the password, the error would be different and moreover, your password would have been locked up by now!! :idea:
If it had been the problem with the user then it should persist when we replace the parameters with the hardcoded values. If we use the hardcoded vales then the job runs fine.
dspxlearn
Premium Member
Premium Member
Posts: 291
Joined: Sat Sep 10, 2005 1:26 am

Post by dspxlearn »

:idea: you are right.
Can you check if you are enclosing all the parameters with '#'.
Even your password parameter should be enclosed with '#'.
Thanks and Regards!!
dspxlearn
pravin1581
Premium Member
Premium Member
Posts: 497
Joined: Sun Dec 17, 2006 11:52 pm
Location: Kolkata
Contact:

Post by pravin1581 »

dspxlearn wrote::idea: you are right.
Can you check if you are enclosing all the parameters with '#'.
Even your password parameter should be enclosed with '#'.
All these issues have been double checked !!!
pravin1581
Premium Member
Premium Member
Posts: 497
Joined: Sun Dec 17, 2006 11:52 pm
Location: Kolkata
Contact:

Post by pravin1581 »

pravin1581 wrote:
dspxlearn wrote::idea: you are right.
Can you check if you are enclosing all the parameters with '#'.
Even your password parameter should be enclosed with '#'.
All these issues have been double checked !!!
The problem still persists , can any one help me with this.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Yes. Your support provider. That's one of the reasons you pay maintenance.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
reddy.cba
Premium Member
Premium Member
Posts: 27
Joined: Wed Jan 31, 2007 3:32 am
Location: sydney

Post by reddy.cba »

remove semicolon from the sql statement..it worked fine for me..
ag_ram
Premium Member
Premium Member
Posts: 524
Joined: Wed Feb 28, 2007 3:51 am

Post by ag_ram »

I faced a similar problem. The round- about way is to define user-defined parameters at the job level and map the same to environment variables in the sequencer. This should work, atleast it did for me.
Aruna Gutti
Premium Member
Premium Member
Posts: 145
Joined: Fri Sep 21, 2007 9:35 am
Location: Boston

Post by Aruna Gutti »

I got the exact same error in version 8.0.1 which was fixed with the install of patch_118170v3.

But your version is not 8.x right ?

This was the error I used to receive when db2 parameters are not hardcoded in the job:

Fatal Error: Fatal: [IBM][CLI Driver] CLI0124E
Invalid argument value. SQLSTATE=HY009
DSTAGE-DB2CLI-0005`:`Unable to connect to DB2 server
vivekgadwal
Premium Member
Premium Member
Posts: 457
Joined: Tue Sep 25, 2007 4:05 pm

Post by vivekgadwal »

pravin1581 wrote:
ArndW wrote:Are any of the DB2 connection fields (server,user,password) parameters?
Yes they were all env parameters and when we replace them with the actual values in all the individual stages , then the job runs fine, but we need to declare all the connection details through env parameters as per requirement and standard practice followed.
Pravin,

You say you are using the environment variables isn't it! Are you checking for '$' sign in front of the variable? If that is fine...then I do not see why this is going awry! :?
Vivek Gadwal

Experience is what you get when you didn't get what you wanted
shin0066
Premium Member
Premium Member
Posts: 69
Joined: Tue Jun 12, 2007 8:42 am

Post by shin0066 »

I am not sure the Database is cataloged on the ETL server.. Please check it.
shin0066
Premium Member
Premium Member
Posts: 69
Joined: Tue Jun 12, 2007 8:42 am

Post by shin0066 »

I am not sure the Database is cataloged on the ETL server.. Please check it.
Post Reply