Search found 56 matches

by karrisuresh
Fri Oct 05, 2007 10:05 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: datastage
Replies: 13
Views: 26678

Re: datastage

HI I am yet to check with that code as I dont have source data
thanks for the help
meet_raghu wrote:you may use
First_Name=Field(fullname,' ', 1)
Last_Name=Field(fullname,' ', 2)

in transformer.
by karrisuresh
Fri Oct 05, 2007 10:05 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: datastage
Replies: 13
Views: 26678

HI I am yet to check with that code as I dont have source data thanks for the help Lets say input column is A use the following in your derivation or stage variable Set first Name To The following derivation: A[1,Index(A,' ',1)] Set Last Name to the following Derivation: A[Index(A,' ',1)+1,Len(A)-In...
by karrisuresh
Mon Oct 01, 2007 2:27 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: datastage
Replies: 13
Views: 26678

datastage

There is a column called fullname in the source having the name like "kenneth browne" where the string before the space is first name and after space is last name Now my question is, In the transformer I have two columns called first name and last name ie kenneth should be populated to fir...
by karrisuresh
Wed Jul 11, 2007 1:01 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Failed a KeyLookup for Record
Replies: 5
Views: 3057

Re: Failed a KeyLookup for Record

Hi In the look-up u have to mention what if the condition fails and look-up fails by default it fails the job which in ur case aborting the job please have a check in that area thanks Suresh I have a simple job that uses a lookup stage to lookup a column from Database A into a similar column in Data...
by karrisuresh
Wed Jul 11, 2007 1:01 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Failed a KeyLookup for Record
Replies: 5
Views: 3057

Re: Failed a KeyLookup for Record

Hi In the look-up u have to mention what if the condition fails and look-up fails by default it fails the job which in ur case aborting the job please have a check in that area thanks Suresh I have a simple job that uses a lookup stage to lookup a column from Database A into a similar column in Data...
by karrisuresh
Thu Jun 28, 2007 12:51 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Writing into a sequential file in a specific format....
Replies: 17
Views: 5288

Re: Writing into a sequential file in a specific format....

hello all, faced with a new prob :( my requirement: SELECT A,B,C from aaa. For each row selected, three records are written to the output file. Each one is identical except for the first field in the record. the first field has to be XXX,YYY, ZZZ. my output file is going to look something like this...
by karrisuresh
Thu Jun 28, 2007 12:48 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Writing into a sequential file in a specific format....
Replies: 17
Views: 5288

Re: Writing into a sequential file in a specific format....

Hi the source stage is oracle the target stage is file all the file have similar records which just vary in first column Now, U can use a copy stage to create as many copies as u want followed by a transformer in which u can hard core or use stage variable for the first column in each individual lin...
by karrisuresh
Thu Jun 28, 2007 12:41 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: The orcle write method :LOAD
Replies: 5
Views: 1274

the stages used

The stages I am using is seq file(source) transformer and oracle(target stage







ray.wurlod wrote:Also please advise what stage type you are using. The answer may be different depending on which it is. I assume, from your subject line, that it's the Orcle Enterprise stage. But please verify. ...
by karrisuresh
Thu Jun 28, 2007 12:39 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: The orcle write method :LOAD
Replies: 5
Views: 1274

load

My source is file and target is oracle when I am usng the upsert method the records are getting populated in the target but when I am using the load method the job is getting aborted giving the following error Oracle_Enterprise_2,2: sh: line 1: sqlldr: command not found The call to sqlldr failed; th...
by karrisuresh
Thu Jun 28, 2007 12:38 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: The orcle write method :LOAD
Replies: 5
Views: 1274

load method failure

Hi Suresh Garu, My source is file and target is oracle when I am usng the upsert method the records are getting populated in the target but when I am using the load method the job is getting aborted giving the following error Oracle_Enterprise_2,2: sh: line 1: sqlldr: command not found The call to s...
by karrisuresh
Thu Jun 28, 2007 12:32 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Spaces inbetween data getting trimmed off
Replies: 9
Views: 3318

My Load option is giving me a problem

Can we use a load option when loading data from file to table where the transformer in between is used to change the datatype I have a problem, like, Hi Suresh Garu, My source is file and target is oracle when I am usng the upsert method the records are getting populated in the target but when I am ...
by karrisuresh
Thu Jun 28, 2007 12:26 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: write metho LOAD is aborting UPSERT running fine
Replies: 2
Views: 820

write metho LOAD is aborting UPSERT running fine

Hi My source is file and target is oracle when I am usng the upsert method the records are getting populated in the target but when I am using the load method the job is getting aborted giving the following error Oracle_Enterprise_2,2: sh: line 1: sqlldr: command not found The call to sqlldr failed;...
by karrisuresh
Thu Jun 28, 2007 10:34 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Conversion from numeric to string in a job
Replies: 11
Views: 4117

Re: Conversion from numeric to string in a job

Hi I guess In the transformer, left pane bottom put the datatype of the source and in the right pane bottom put the datatype of the target Now in the drag and drop canvas right click on the derivation part, u can see the type conversion functions and which ever conversion u want u can go ahead this ...
by karrisuresh
Thu Jun 28, 2007 10:33 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Conversion from numeric to string in a job
Replies: 11
Views: 4117

u can do this in the following way

Hi I guess In the transformer, left pane bottom put the datatype of the source and in the right pane bottom put the datatype of the target Now in the drag and drop canvas right click on the derivation part, u can see the type conversion functions and which ever conversion u want u can go ahead this ...
by karrisuresh
Thu Jun 28, 2007 10:33 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Conversion from numeric to string in a job
Replies: 11
Views: 4117

u can do this in the following way

Hi I guess In the transformer, left pane bottom put the datatype of the source and in the right pane bottom put the datatype of the target Now in the drag and drop canvas right click on the derivation part, u can see the type conversion functions and which ever conversion u want u can go ahead this ...