I sent the date part as a separate parameter and it worked.
I think datastage does not like
PARAMVALUE=A.date < '2003-10-10'
but it is okay with
PARAM1= A.date<
PARAM2= #datevalue#
Thanks
Search found 30 matches
- Thu Feb 05, 2004 4:42 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: User defined sql(Stripping off quote char)
- Replies: 15
- Views: 6482
- Thu Feb 05, 2004 2:27 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: User defined sql(Stripping off quote char)
- Replies: 15
- Views: 6482
Just a guess, but have you tried using two single quotes per quote? date < ''2003-10-20'' Note these aren't double-quotes, but two single quotes at each end of the date. Or something else to 'escape' the quotes so they are retained? If you are sure that is the problem, that is... Do you know what e...
- Thu Feb 05, 2004 2:23 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: User defined sql(Stripping off quote char)
- Replies: 15
- Views: 6482
- Thu Feb 05, 2004 12:09 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: User defined sql(Stripping off quote char)
- Replies: 15
- Views: 6482
User defined sql(Stripping off quote char)
Hi I am using the user defined sql option and i am passing the where clause a parameter to the job. db is DB2 Select * from db2.datastage where #WHERECLAUSE# In the above sql the parameter WHERECLAUSE is date <'2003-10-20' But when i am passing this to the sql it is coming out as Select * from db2.d...
- Sat Jan 31, 2004 11:28 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Delete Jobs in a Proj Automatically(from command line)
- Replies: 7
- Views: 2134
- Fri Jan 30, 2004 10:38 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Delete Jobs in a Proj Automatically(from command line)
- Replies: 7
- Views: 2134
You got it right. We gave a script to our configuration management team which checks out,compiles and then imports to a perticular project. Each of our jobs have some dependedent jobs and they are all(Main job + dependent jobs) checked in under one dsx file.Sometimes some of these dependent files ar...
- Fri Jan 30, 2004 7:22 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Delete Jobs in a Proj Automatically(from command line)
- Replies: 7
- Views: 2134
Delete Jobs in a Proj Automatically(from command line)
Hi
Is there a way to delete jobs from a Project from the command line.
Thanks!
Is there a way to delete jobs from a Project from the command line.
Thanks!
- Fri Jan 30, 2004 7:18 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: datstage import problems
- Replies: 10
- Views: 2530
- Thu Jan 29, 2004 7:19 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: datstage import problems
- Replies: 10
- Views: 2530
- Thu Jan 29, 2004 6:30 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: datstage import problems
- Replies: 10
- Views: 2530
Re: datstage import problems
How do i clean up.
The way i know is to use DS TOOLS.Do you have any other suggestions.
Thanks!
The way i know is to use DS TOOLS.Do you have any other suggestions.
Thanks!
- Thu Jan 29, 2004 4:27 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: datstage import problems
- Replies: 10
- Views: 2530
datstage import problems
When i am trying to import a dsx file into a project by the name MDS_SYSTEST0_R44 using the datastage manager i get this error message.Did anyone get this kind of problem before. Error calling subroutine: DSR_WHEREUSED (Action=3); check DataStage is set up correctly in project MDS_SYSTEST0_R44 (The ...
- Fri Jan 16, 2004 9:01 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Wrapped Stage
- Replies: 10
- Views: 4531
- Thu Jan 15, 2004 3:51 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Wrapped Stage
- Replies: 10
- Views: 4531
Re: Wrapped Stage
Most part of it was right.I had to change the way i paese the params in the shell scripts.Due to some reason it cant recognize positional params.
Teej wrote:What was your solution?deep wrote:I have the solution now..,Thanks!
-T.J.
- Thu Jan 15, 2004 3:30 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Wrapped Stage
- Replies: 10
- Views: 4531
Re: Wrapped Stage
I have the solution now..,Thanks! Hi I have a shell script which needs to be called from a wrapped stage. (I have to use the warpped stage b'coz we stream the datasatge data to a c++ program and we call this c++ prog from the shell script) The shell script takes 3 parameters. I created a wrapped sta...
- Thu Jan 15, 2004 1:41 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Wrapped Stage
- Replies: 10
- Views: 4531
Wrapped Stage
Hi I have a shell script which needs to be called from a wrapped stage. (I have to use the warpped stage b'coz we stream the datasatge data to a c++ program and we call this c++ prog from the shell script) The shell script takes 3 parameters. I created a wrapped stage and i am calling the shell scri...