When I run the job, I specify..
pEmpId='1A','23','4ED'
Search found 103 matches
- Wed Jul 29, 2009 9:33 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Passing string values into SQL query via parameter
- Replies: 14
- Views: 14784
- Wed Jul 29, 2009 9:31 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Passing string values into SQL query via parameter
- Replies: 14
- Views: 14784
- Wed Jul 29, 2009 9:28 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Passing string values into SQL query via parameter
- Replies: 14
- Views: 14784
Passing string values into SQL query via parameter
Hello,
How can I pass a set of string values into a where clause in a SQL query through a parameter?
For Ex: Select * from employee
where id in ('pEmpId')
I want to pass pEmpId='1A','23','4ED'...etc
I am able to pass a single value, but am unable to pass mutiple values.
Please advise.
How can I pass a set of string values into a where clause in a SQL query through a parameter?
For Ex: Select * from employee
where id in ('pEmpId')
I want to pass pEmpId='1A','23','4ED'...etc
I am able to pass a single value, but am unable to pass mutiple values.
Please advise.
- Fri Aug 15, 2008 1:15 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Routine
- Replies: 2
- Views: 1425
Routine
Hi, I have an after-job routine that captures the row count stats in a job based on the link names (SRC, TGT & REJ). The routine works for most cases, but for some types of jobs (Jobs that have a seq file as a target) the row counts are doubled. I tried my best not to calculate row counts for li...
- Sun Aug 10, 2008 11:23 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Dsrunjob with Invocationid
- Replies: 1
- Views: 1234
Dsrunjob with Invocationid
Hello, I have a set of audit jobs that are executed from a routine using DSRunJob. The routine called be called at the same time by mutiple jobs. So the audit jobs that are kicked of by the routine need to capable of running parallely using invocation. How can I use job invocation along with dsrunjo...
- Wed Jul 02, 2008 7:03 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Before-job routine
- Replies: 3
- Views: 1361
- Tue Jul 01, 2008 3:32 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Before-job routine
- Replies: 3
- Views: 1361
Before-job routine
Hi, I have a before-job routine that has to execute another DataStage parallel job. If I define the routine as a transform function and test it works, but if I change it back to type before/after then it doesn't work. Can anyone please let me know what I am missing here.. $INCLUDE DSINCLUDE JOBCONTR...
- Wed Jun 11, 2008 3:00 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Accessing tables from a routine
- Replies: 3
- Views: 1368
That was my proposal too, but the client would like to explore the possibility of logging the audit to the table as each job completes. So, I would like to know if there is a way I can write to a table after each job run from an after job routine, rather than run a separate audit job after each job ...
- Wed Jun 11, 2008 12:53 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Accessing tables from a routine
- Replies: 3
- Views: 1368
Accessing tables from a routine
Hello, I am writing a routine which will run before/after each job to capture audit logs for that job. The before routine will have to access a staging audit table retrieve latest info from it and the after routine will insert/update the audit logs to the table after each job run. Any suggestions wo...
- Tue May 15, 2007 5:04 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Job is hanging!!
- Replies: 1
- Views: 686
Job is hanging!!
Hello, When I try to run some of my DS jobs it just hangs and does nothing. eventually I had to kill them from the server. This happens to all jobs that tries to access one particular database. Every other job runs fine. I am able to access that database through TOAD. I am also able to view data thr...
- Tue Feb 27, 2007 9:47 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Broken pipe error - SIGBUS
- Replies: 5
- Views: 2290
- Tue Feb 27, 2007 9:37 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Broken pipe error - SIGBUS
- Replies: 5
- Views: 2290
1)The error happens right away. It does not process any rows. 2) I am doing a left join on two oracle tables using the join stage and outputing to a copy stage. I changed the join stage to a lookup stage and it works. 3) I am able to view data in both the oracle tables. 4) Other PX jobs that connect...
- Tue Feb 27, 2007 9:16 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Broken pipe error - SIGBUS
- Replies: 5
- Views: 2290
Broken pipe error - SIGBUS
Hi, I am geting this error in PX. The job has two oracle stages, 1 Join stage and a copy stage. If I replace it with a lookup stage then it works. /bin/echo: write error: Broken pipe cs}}},1: Operator terminated abnormally: received signal SIGBUS There are no warnings or errors other than these two....
- Tue Feb 27, 2007 9:08 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Datastage Installation issue
- Replies: 4
- Views: 1303
- Mon Feb 26, 2007 3:07 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Datastage Installation issue
- Replies: 4
- Views: 1303
Datastage Installation issue
Hi,
I am trying to install the datastage client in my personal computer but not able to. I am getting the following error.
This product must be installed on windows nt 4.0, windows 2000 or windows 2003.
I have a windows xp 2002 home edition. Can't datastage client be installed on this??
Thanks.
I am trying to install the datastage client in my personal computer but not able to. I am getting the following error.
This product must be installed on windows nt 4.0, windows 2000 or windows 2003.
I have a windows xp 2002 home edition. Can't datastage client be installed on this??
Thanks.