Hi,
Thanks for the code, 2nd one works fine, but 1st one still giving **** in the output, (datatype date)
Thanks,
Search found 186 matches
- Wed Mar 14, 2007 12:44 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Date conversation
- Replies: 17
- Views: 5539
- Tue Mar 13, 2007 9:26 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Date conversation
- Replies: 17
- Views: 5539
- Mon Mar 12, 2007 9:36 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Date conversation
- Replies: 17
- Views: 5539
Date conversation
Hi, I am having a paramter as 2007-01-01, when i run the job i need the following logic to be implemented 1 . select TO_DATE ('12/01/'||TO_CHAR(TO_NUMBER(TO_CHAR(SYSDATE,'YYYY')) -1),'MM/DD/YYYY') from dual; i.,e it should give me 01-DEC-06 as a result. (12/01 is a hardcode values) 2. select TO_DATE...
- Wed Mar 07, 2007 8:03 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Max of date from Aggregator
- Replies: 3
- Views: 7917
Max of date from Aggregator
Hi, I'am having 2 inputs in Aggreagator Stage i. PERSON_K (Integer) ii. SRC_EFF_Y (Date) Sort method has kept to Hash Partitioning set to Auto. Column is grouped by 'Person_K' & calculation is done for SRC_EFF_Y. i.,e Max. value output column I have changed the column name at the o/p of aggregat...
- Wed Feb 28, 2007 8:24 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Implementing If ElseIf End Function in DataStage
- Replies: 5
- Views: 16678
Implementing If ElseIf End Function in DataStage
Hi,
How to Implement this in DataStage....
IF B_DT >= PCKG_BEGIN_DT AND B_DT <= FMC_PCKG_END_DT
THEN TYPE := 'N';
ELSIF A_END_DT >= PCKG_BEGIN_DT AND A_END_DT <= FMC_PCKG_END_DT THEN TYPE:= 'R';
ELSE TYPE:='C';
Thanks
Srini
How to Implement this in DataStage....
IF B_DT >= PCKG_BEGIN_DT AND B_DT <= FMC_PCKG_END_DT
THEN TYPE := 'N';
ELSIF A_END_DT >= PCKG_BEGIN_DT AND A_END_DT <= FMC_PCKG_END_DT THEN TYPE:= 'R';
ELSE TYPE:='C';
Thanks
Srini
- Wed Feb 21, 2007 10:55 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: pass parameter to the row generator from run time
- Replies: 1
- Views: 1892
pass parameter to the row generator from run time
Hi, I have a paramater i.,e Run_Date, i need to pass the value from Row generator to Teradata Stage. I need to delete all the values which ever i give in run time. It should create 1 row and 1 column and send it as input to the TD stage. How to send the run time parameter i.,e Run_date to the row ge...
- Tue Feb 20, 2007 10:43 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Date format and date difference
- Replies: 8
- Views: 2904
- Tue Feb 20, 2007 10:02 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Date format (last day of previous month)
- Replies: 2
- Views: 1936
- Tue Feb 20, 2007 9:34 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Date format (last day of previous month)
- Replies: 2
- Views: 1936
Date format (last day of previous month)
Iam using DataStage 7.5 PX version, I have date coming as 200703, i need to convert to 2007-02-28 i.e., last day of the previous month, whenever i run the job, can we do it in a single line i.,e i.,e Transformer.
Srini
Srini
- Tue Feb 20, 2007 5:01 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Date format and date difference
- Replies: 8
- Views: 2904
- Mon Feb 19, 2007 8:34 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Date format and date difference
- Replies: 8
- Views: 2904
- Fri Feb 16, 2007 5:05 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Job Hanging
- Replies: 3
- Views: 1260
- Fri Feb 16, 2007 3:46 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Job Hanging
- Replies: 3
- Views: 1260
Job Hanging
Hi,
I am running a Job from Sequencer Level and also specifying parameters at runtime.But job keep on running,Source side having nearly 15 records only.I aborted Sequencer from UNIX Box.I am unable to findout what are the reasons it's continuously running ......
Thanks
Srini
I am running a Job from Sequencer Level and also specifying parameters at runtime.But job keep on running,Source side having nearly 15 records only.I aborted Sequencer from UNIX Box.I am unable to findout what are the reasons it's continuously running ......
Thanks
Srini
- Fri Feb 09, 2007 2:29 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Date format and date difference
- Replies: 8
- Views: 2904
Date format and date difference
Hi, 1. Iam using DataStage 7.5 PX version, I have date coming as 200703, i need to convert to 2007-02-28 i.e., last day of the previous month, whenever i run the job, can we do it in a single line i.,e Transformer. I have posted the same question but date was was with different format i.,e 2007-03-0...
- Thu Feb 08, 2007 10:14 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Date format (last day of previous month)
- Replies: 4
- Views: 3363
Re: Date format (last day of previous month)
Its working, thank you