Search found 89 matches

by marpadga18
Tue Oct 11, 2011 1:33 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Issues with XML output file
Replies: 8
Views: 3874

I am answering my own question.
I added these columns as primary keys in XML output stage_TYPE, PROCESS_OFFICE, PACKAGE _LEVEL.
by marpadga18
Wed Aug 03, 2011 11:56 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Oracle table truncate
Replies: 4
Views: 2456

Re: Oracle table truncate

You can truncate table before loading in Oracle enterprise stage use "OPEN COMMAND"

begin
execute immediate 'truncate tablename;
by marpadga18
Fri Jul 22, 2011 7:09 pm
Forum: General
Topic: implemented user status in PX job
Replies: 1
Views: 999

implemented user status in PX job

Hi All, Requirement: I need to read the parameter from Oracle db table. then pass the parameter to sequencer for triggering the appropriate job. 1) scenario: ora_stage -- seq file-- -exec comand(cat file name)--nested condition (command output) -- job's this works fine but my requirement is to avoid...
by marpadga18
Fri Jul 22, 2011 1:12 pm
Forum: General
Topic: Passing values between jobs (routines) in a sequence
Replies: 4
Views: 2317

evee1 wrote:Thanks. In the meantime I have found the DSSetUserStatus. I might use this to pass the return value instead of the files.
@evee1 could you tell me what are the steps to pass the value to sequencer using User status?
Thanks M
by marpadga18
Fri Feb 25, 2011 2:22 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Decimal conversion
Replies: 6
Views: 3608

ray.wurlod wrote:
reachmexyz wrote:
anbu wrote:

Code: Select all

Trim(field,'0','L')
This will not work on a decimal directly.
Have you tried it? Decimal to string is an implicit conversion, so it should work.
I tried this Trim and converting from decimal to string also then also it is not is not working. Is there any other solution for this
by marpadga18
Fri Feb 25, 2011 11:47 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to convert to decimal
Replies: 3
Views: 1468

chulett wrote:Divide by 100.
I got it but it is giving zeros in front of the data
001300.00
000062.00
I tried to suppress the zero but it is removing zeros at the end also as below

1300.
62.

is there any way how to remove zero infront
by marpadga18
Fri Feb 25, 2011 10:54 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to convert to decimal
Replies: 3
Views: 1468

how to convert to decimal

hi I facing some problem to find the logic to implement the logic for below requirement can any one share there ideas?? Source Sql server DB (query) Column Name 6200 6200 130000 130000 the data is like this in source I need the output as below Target (sequential file) Column Name 62.00 62.00 1300.00...
by marpadga18
Wed Feb 16, 2011 5:19 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DATE To TIMESTAMP
Replies: 4
Views: 3411

Yes you are right I used this query to check the output in oracle sql tool

SELECT study,mod_user,(TO_char( Mod_date, 'DD-MON-YY HH24:MI:SS' ))
FROM xxxx;
study mod_user date
Result = xxxx |yyyy |16-FEB-11 11:07:55

Thanks for your clarification
by marpadga18
Tue Feb 15, 2011 5:44 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DATE To TIMESTAMP
Replies: 4
Views: 3411

If i make date to timestamp then it is loading date. I tried this DSJobStartDate:CurrentTimestamp() in the transformer for mod_date column it is loading date only when the datatype is changed to date in transformer but if i change to time stamp then also it is loading date in the target column now m...
by marpadga18
Tue Feb 15, 2011 2:35 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DATE To TIMESTAMP
Replies: 4
Views: 3411

DATE To TIMESTAMP

Loading data from Oracle table to Oracle table There is no source for this column I created one MOD_DATE column in transformer I need Date with timestamps in the target column target table has MOD_DATE data type is DATE I can load the date but not able to load date with time stamp Any ideas I tried ...
by marpadga18
Tue Feb 15, 2011 12:09 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: parallel routine for reconciliation purpose
Replies: 10
Views: 9069

Re: parallel routine for reconciliation purpose

First copy the code in notepadand and make necessary changes(for YOUR project) In the code. save it then import to your Routines then open the code and compile it should give "copile Sucessfully" without any errors Then go to job properties Select the parameters and create following parame...
by marpadga18
Tue Feb 15, 2011 11:49 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: parallel routine for reconciliation purpose
Replies: 10
Views: 9069

Re: parallel routine for reconciliation purpose

I have routine which was same like your requirement see below you need to specify all Input link,output link,input stage name,output stage name etc etc..i am mentioning all the details below the code ****************************************************************************************************...
by marpadga18
Wed Feb 09, 2011 8:02 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Trim Function
Replies: 5
Views: 2478

DSguru2B wrote:

Code: Select all

RIGHT(IN.COL,LEN(IN.COL) - 3))
OR
IN.COL[4,LEN(IN.COL) - 3]
...
I used this:
IN.COL[4,LEN(IN.COL) - 3][/code] ...[/quote]

Thanks it worked!!
by marpadga18
Wed Feb 09, 2011 5:12 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Trim Function
Replies: 5
Views: 2478

mavrick21 wrote:What is your source? Database table or file?
its DB table