Hi,
You can go through the in-built routines first and understand what is the purpose of the routines and what is the Syntax.
Then you can start creating simple routines does some date or string manipulations.
Search found 111 matches
- Wed Apr 29, 2009 12:35 am
- Forum: General
- Topic: How to write subroutines?
- Replies: 3
- Views: 1675
- Tue Apr 28, 2009 3:38 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Lookup on oracle table having dates,sparse lookup not workin
- Replies: 4
- Views: 2125
Re: Lookup on oracle table having dates,sparse lookup not wo
So, You can Resolve the issue.
- Tue Apr 28, 2009 3:27 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Issue with ODBC
- Replies: 3
- Views: 3117
- Tue Apr 28, 2009 12:31 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Procedure calling.
- Replies: 3
- Views: 1718
Re: Procedure calling.
Hi Karthik,
One more Option to what is mentioned above:-
You can write a server routine and call it in after job Subroutine.
Here you can also specify to execute it only of the job finishes successfully.
One more Option to what is mentioned above:-
You can write a server routine and call it in after job Subroutine.
Here you can also specify to execute it only of the job finishes successfully.
- Tue Apr 28, 2009 12:28 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Help with a new table design
- Replies: 6
- Views: 2914
Re: Help with a new table design
A-->ord1 B-->ord1, ord2 C-->ord1, ord2, ord3, ord4, ord5 Yamini Hi Yamini, You can post such Questions in General forum. Anyways, since the number of orders for each vendor is not 'fixed', you can have a generic table like VENDOR_NAME | ORDER_NAME | ORDER_DETAIL A | Ord1 | Order1 B | Ord1 | Order1 ...
- Mon Apr 27, 2009 2:27 am
- Forum: General
- Topic: finding max date from a file grouping by another column
- Replies: 3
- Views: 2601
Re: finding max date from a file grouping by another column
status varchar completed_date timestamp the column status will have value as 'S' and 'C'. i want to pick the maximum date from the completed_date column with status as 'C' and load it in the target file. the time is displayed as 'yyyy-mm-dd hh:mm:ss.000' Hi, You can try this:- Before passing to agg...
- Mon Apr 27, 2009 2:13 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: If Multiple records retuns from lookup source record
- Replies: 2
- Views: 1216
Re: If Multiple records retuns from lookup source record
If lookup retuns multiple records i need to reject the source record. Hi, If your lookup is a table, you can write the lookup query in this way:- 1) Group by the columns that you are going to use as lookup keys 2) obtain the count also along with the other required values 3) add a 'Having' clause w...
- Sun Apr 26, 2009 11:40 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: not inerting reords into target
- Replies: 3
- Views: 2149
Re: not inerting reords into target
Warning1:APT_CombinedOperatorController(1),3: Conversion error calling conversion routine timestamp_from_string data may have been lost. Warning2:Lookup: Input dataset 1 has a partitioning method other than entire specified; disabling memory sharing. Lookup,2: Ignoring duplicate entry at table reco...
- Fri Apr 24, 2009 7:06 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: How to get a runable job after a export?
- Replies: 6
- Views: 3324
Re: How to get a runable job after a export?
I am using dsexportcmd.exe to export. Hi, Iam not sure about the syntax and options to specify for dsexportcmd.exe. But check if you can export 'job executables' and 'program sources' along with the job design. Also, if any transforms, routines are used in that job, you need to include them too. DS...
- Fri Apr 24, 2009 7:01 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Oracle Upserts and Primary Keys/Unique Indexes
- Replies: 6
- Views: 2650
Re: Oracle Upserts and Primary Keys/Unique Indexes
Hi, As far as I can say, It is always better to match the primary key in the database and the keys defined in Oracle stage. The keys that we mention in the Oracle Enterprise stage will form the basis for an insert / update action done by datastage. If the keys dosent match, you might end up having d...
- Fri Apr 24, 2009 5:35 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: connecting to oracle
- Replies: 8
- Views: 1656
- Fri Apr 24, 2009 5:22 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: connecting to oracle
- Replies: 8
- Views: 1656
Re: connecting to oracle
No specific syntax I believe.
As the manual suggests, you can type in the delete command sql you want to run in the Open command option.
You should enclose the sql in single quotes.
Try and let us know.
As the manual suggests, you can type in the delete command sql you want to run in the Open command option.
You should enclose the sql in single quotes.
Try and let us know.
- Fri Apr 24, 2009 4:51 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: connecting to oracle
- Replies: 8
- Views: 1656
Re: connecting to oracle
From Manual:- " Open Command: This is an optional property and only appears for the Load Write Method. Use it to specify a command, in single quotes, to be parsed and executed by the Oracle database on all processing nodes before the Oracle table is opened. You can specify a job parameter if re...
- Fri Apr 24, 2009 4:41 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: How to resolve this problemm and insert records into target
- Replies: 1
- Views: 991
Re: How to resolve this problemm and insert records into tar
Hi Sunitha,
Post the question in correct forum as Ray suggested.
We can defnitely help you resolve the issue.
*Note: Topic Relocated - Content Editor*
Post the question in correct forum as Ray suggested.
We can defnitely help you resolve the issue.
*Note: Topic Relocated - Content Editor*
- Fri Apr 24, 2009 4:00 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: connecting to oracle
- Replies: 8
- Views: 1656
Re: connecting to oracle
Hi,
One advice.
Instead of 2 jobs and a sequence, you can use the Open command Option in the Oracle Entreprise stage to delete the rows before inserting them.
There are lot of posts in this forum about Open Command Option.
One advice.
Instead of 2 jobs and a sequence, you can use the Open command Option in the Oracle Entreprise stage to delete the rows before inserting them.
There are lot of posts in this forum about Open Command Option.