Hi Friends,
I want to add/substract one day from a giveg Timestamp in PX. Can you please give some solution/suggestions how to achive this?
Thanks in Advance.
Regards,
Mattu
Search found 11 matches
- Thu Jan 11, 2007 12:54 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: How to add one day to a Timestamp in PX
- Replies: 4
- Views: 3985
- Fri Jan 05, 2007 5:57 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Generating a surrogate key for a key column
- Replies: 1
- Views: 1096
Generating a surrogate key for a key column
Hello DS Gurus, I am loading the data into an Oracle table. How can I call a Oracle sequence to increase the key column value through the Datastage job? Alternatively, Can I use the surrogate key generator to increase the key column value? What are the options need to set to achive this? Thanks in A...
- Tue Dec 19, 2006 9:14 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Invoke Job depending upon the Identifier
- Replies: 2
- Views: 1068
Invoke Job depending upon the Identifier
Hi All, I want to ren the sequence of jobs depending upon the identifier. My job is reading from a oracle table and has many rows. Depending upon the group identifier in each record, I want to run that specific job and then for the next record......Upto end of all records.(one to one maping between ...
- Tue Dec 19, 2006 6:57 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: How to Assign Stage variable to a Job Parameter
- Replies: 2
- Views: 1824
How to Assign Stage variable to a Job Parameter
Hi,
I want to assign a stage variable value to a job parameter.
Can you please guide me how to assign the stage variable from a transformer stage to the job parameter or the last value of the stage variable to a Job parameter?
Thanks,
Mattu
I want to assign a stage variable value to a job parameter.
Can you please guide me how to assign the stage variable from a transformer stage to the job parameter or the last value of the stage variable to a Job parameter?
Thanks,
Mattu
- Fri Dec 15, 2006 7:11 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: APT_CombinedOperatorController Error
- Replies: 2
- Views: 1348
APT_CombinedOperatorController Error
Hi, When I am running my job, I am getting this warning. Although the records are populated correctly, still then there are lot of warnings like:- APT_CombinedOperatorController,0: Null string argument. and APT_CombinedOperatorController,0: Numeric string expected for returned value from function ca...
- Fri Dec 15, 2006 6:53 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Maximum length in a column in Sequential stage in PX
- Replies: 2
- Views: 1185
- Fri Dec 15, 2006 3:52 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Maximum length in a column in Sequential stage in PX
- Replies: 2
- Views: 1185
Maximum length in a column in Sequential stage in PX
Hi,
I am trying to read a string in a single column in sequential stage in pX which length is 500 characters. But while I am reading it is truncating and maximum 250 character is reading.
Please give some suggestions to avoid that problem.
Regards,
mattu
I am trying to read a string in a single column in sequential stage in pX which length is 500 characters. But while I am reading it is truncating and maximum 250 character is reading.
Please give some suggestions to avoid that problem.
Regards,
mattu
- Thu Mar 16, 2006 8:23 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: how to get latest 36 months of data from the source file??
- Replies: 8
- Views: 2835
I am new to datastage and i dont have much knowledge abt the datastage ..can anyone plz explain me clearly what i have to do ...kumar_s wrote:I guess the field should be char/varchar/integer.
Just grep the month from the field. Link.Filed[4,2] and check whether it is greated than MonthFromDate(CurrentDate())-36
- Thu Mar 16, 2006 7:58 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: how to get latest 36 months of data from the source file??
- Replies: 8
- Views: 2835
If the source file is a text file, you'll have to read it all (because you can only get to the next byte in a text file by traversing the preceding bytes). Read it all into DataStage, then use a Filt ... The file is a sequential and i want some exclusion logic in transformer so that it meets the co...
- Thu Mar 16, 2006 7:55 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: how to get latest 36 months of data from the source file??
- Replies: 8
- Views: 2835
Welcome Aboard :D You need to furnish more information. Do you have a date column. Or what is the format of the column based on which you like to retrive. Besides, you can use MonthFromDate function to retrive the current month. The file is a sequential and its one of the column name is Frist_servi...
- Thu Mar 16, 2006 7:18 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: how to get latest 36 months of data from the source file??
- Replies: 8
- Views: 2835
how to get latest 36 months of data from the source file??
hi ...
I want to get the latest 36 months of data from the source file ,the condition is that i have to use some exclusion logic for that .
So please any one of u know how to do that in data stage PX then plz get me know ...
Thanks in advance ...
I want to get the latest 36 months of data from the source file ,the condition is that i have to use some exclusion logic for that .
So please any one of u know how to do that in data stage PX then plz get me know ...
Thanks in advance ...