Search found 39 matches

by bensonian
Wed Aug 06, 2008 9:31 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Filtering special characters
Replies: 8
Views: 5211

Filtering special characters

The source data pull has special charecters, i was wondering if there is a way we could filter that out in the DataStage job. There could be a lot of different special charecters coming in.

Thanks alot gurus
by bensonian
Tue Aug 05, 2008 2:57 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Table definitions import issue
Replies: 3
Views: 2427

For PX you should be using the PX-specific tool, sorry but I don't recall the exact name or syntax off the top of my head. :( Thanks Chulett. It's called "Orchestrate schema definitions". I got it resolved. Thank you. It looks like a much cleaner version with out the datastage internal co...
by bensonian
Tue Aug 05, 2008 1:45 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Table definitions import issue
Replies: 3
Views: 2427

chulett wrote:What tool are you using for importing? ...

I was trying to import using DataStage's
Import > Table Defnitions > Plug-in meta data definitions. I
even tried using ODBC table definitions too, its still the same thing.
by bensonian
Fri Jul 25, 2008 1:46 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Passing Timestamp as a parameter value
Replies: 9
Views: 6012

Re: Passing Timestamp as a parameter value

sud wrote: c> Then the problem is with the job parameter in the job, may be delete it and redefine it or something ... recompile the job (any such illogical thing you can think of ... sometimes jobs do get corrupted).
Option C worked sud. Appreciate your help sud.
by bensonian
Fri Jul 25, 2008 11:27 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Passing Timestamp as a parameter value
Replies: 9
Views: 6012

Re: Passing Timestamp as a parameter value

Do only a cat (the -n option will list with record numbers which you don't want). Use this: cat <path name>/<filename> and in ereplace, make sure there is no space between the single quotes. Appreciate your help sud. Its still the same thing, even after i changed it accordingly. Controller problem:...
by bensonian
Fri Jul 25, 2008 11:02 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Passing Timestamp as a parameter value
Replies: 9
Views: 6012

Re: Passing Timestamp as a parameter value

Ok, please provide the following: 1> The contents of the file 2> The commands (exact) used in the execute command stage and while passing to the job Contents of file: "2008-07-24 00:00:01" command: cat -n <path name> <filename> passing to the job: Ereplace(Execute_Command_0.$CommandOutput...
by bensonian
Fri Jul 25, 2008 10:47 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Passing Timestamp as a parameter value
Replies: 9
Views: 6012

Re: Passing Timestamp as a parameter value

sud wrote:Give this a try, use this derivation in the sequence when passing the parameter to the job:

Code: Select all

Ereplace(Link.$CommandOutput,@FM,'')

Still its the same error
by bensonian
Fri Jul 25, 2008 10:28 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Passing Timestamp as a parameter value
Replies: 9
Views: 6012

Passing Timestamp as a parameter value

I am trying to pass a 'Timestamp' value from a unix file after removing new line charecter, using a EXECUTE COMMAND' activity and the 'Char(Command Output)' value, which is a timestamp, is being passed to the next job, which has it's parameter type being defined as String. The job is aborting due to...
by bensonian
Mon Jul 21, 2008 8:57 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Surrogate Key generator using DB SEQ option
Replies: 6
Views: 5014

A "sequence" needs to be created in the database in order to use it, these are not associated with tables. You will need to issue a command such as: CREATE SEQUENCE MySequence INCREMENT BY 1 ST ...[/quote] Could you please send the whole message you posted, as i am not a premium member, T...
by bensonian
Fri Jul 18, 2008 1:22 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Surrogate Key generator using DB SEQ option
Replies: 6
Views: 5014

Re: Surrogate Key generator using DB SEQ option

Using Surrogate kye generator stages, i was trying to generate a surrogate key with 'Database sequence' option. 1. Do you know where i need to specify 'Database sequence' <table_name>.nextval from dual sqlcode is: -2289 esql complaint: ORA-02289: sequence does not exist "Table is created under ...
by bensonian
Fri Jul 18, 2008 9:59 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Surrogate Key generator using DB SEQ option
Replies: 6
Views: 5014

Surrogate Key generator using DB SEQ option

I am using Surrogate key generator stage using 'Database Sequence' option. The database is in Oracle (both source and target). In surrogate key generator stage Source Type = Database sequence Source Name = #db_server#.#db_name#.#schema#.<table_name> 1. Does both Datastage server and Db server reside...
by bensonian
Wed Jul 16, 2008 2:24 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Oracle Enterprise stage issue
Replies: 4
Views: 1853

You need to be the specific one here, otherwise the answer to the "Can I?" question is just "yes". What caused your job to abort? What errors were logged? ... We were actually trying to do Inserts using Oracle Enterprise stage with write method = 'Load' and mode = Append and the...
by bensonian
Tue Jul 15, 2008 4:49 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Oracle Enterprise stage issue
Replies: 4
Views: 1853

Oracle Enterprise stage issue

Hi, I am using Oracle enterprise stage for loding data into an oracle table and selected write method = 'LOAD' and write mode = APPEND the job was aborting. 1. I was just wondering what would be the best practice/write method to choose for Inserts in DS 8.x 2. Can i use 'LOAD' method to do inserts (...
by bensonian
Thu Jul 10, 2008 9:56 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Setup communication with DS server and Oracle
Replies: 3
Views: 1642

Setup communication with DS server and Oracle

Hi

I was wondering if anybody could help me understand 'how to setup communication between DSengine and Oracle' and
'where i can find the .ini file in order to specify the requied info on the unix box'

Any help in this regard would be appreciated.

Thanks
by bensonian
Tue Jul 08, 2008 8:47 am
Forum: Data Quality Best Practices
Topic: IIS Quality stage logs info request
Replies: 2
Views: 16621

Thanks Ray.[/quote]