It was because the first day of the year is a tuesday that's right!
Thanks for your precious help.
Search found 16 matches
- Wed Mar 06, 2013 11:02 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: yearweekfromdate function starts on tuesday
- Replies: 2
- Views: 1393
- Tue Mar 05, 2013 12:48 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: yearweekfromdate function starts on tuesday
- Replies: 2
- Views: 1393
yearweekfromdate function starts on tuesday
I'm facing an issue using the yearweekfromdate function in a PX transformer. My job uses a row generator in input to generate incremental dates. I want to catch the week number for each date but it seems that this function returns tuesday as the first day of the week (monday is day 0 and tuesday is ...
- Tue Mar 05, 2013 12:41 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Decimal to char conversion without ending dot
- Replies: 2
- Views: 2752
Decimal to char conversion without ending dot
I'm currently encountering an issue while trying to convert datas fro my input flat file. My input flat file is defined with one column in varchar format. I'm using a transformer to convert a part of each input rows to decimal value using StringToDecimal function and with an output type set to decim...
- Mon May 14, 2007 9:46 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: job sequence restartable launched by dsjob -run
- Replies: 1
- Views: 1195
job sequence restartable launched by dsjob -run
Hi, I have a restartable job sequence that is launched by an unix shell with the dsjob command. My problem is when I stop the job, so it's status become 'Stopped/Restartable', it doesn't start when I launch the shell one more time since I reset it. My command is : dsjob -run -NORMAL. So is there any...
- Wed Mar 28, 2007 11:54 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: InvocationId in Job control
- Replies: 4
- Views: 1960
- Tue Mar 13, 2007 11:55 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: InvocationId in Job control
- Replies: 4
- Views: 1960
- Tue Mar 13, 2007 11:32 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: InvocationId in Job control
- Replies: 4
- Views: 1960
InvocationId in Job control
Hi,
I have some five template jobs, with multiple instance option allowed, to run with several files and I want to run them in parallel.
They're launched by a job control.
Does anybody knows if it's possible to give a dynamic invocation Id called by the job control and how?
Thanks in advance.
I have some five template jobs, with multiple instance option allowed, to run with several files and I want to run them in parallel.
They're launched by a job control.
Does anybody knows if it's possible to give a dynamic invocation Id called by the job control and how?
Thanks in advance.
- Fri Jan 05, 2007 8:34 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: How to get source file's name into a transformer?
- Replies: 12
- Views: 5275
- Fri Jan 05, 2007 2:29 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: How to get source file's name into a transformer?
- Replies: 12
- Views: 5275
- Thu Jan 04, 2007 12:16 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: How to get source file's name into a transformer?
- Replies: 12
- Views: 5275
How to get source file's name into a transformer?
Hi,
I have a sequential file in source, which name is like FILENAME_YYYYMMDD.
I want to get the "YYYYMMDD" part of the filename in order to load it in a table.
Do you have any idea please?
Thanks in advance.
I have a sequential file in source, which name is like FILENAME_YYYYMMDD.
I want to get the "YYYYMMDD" part of the filename in order to load it in a table.
Do you have any idea please?
Thanks in advance.
- Thu Jan 04, 2007 10:12 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Specifying first line is column name
- Replies: 3
- Views: 1499
- Thu Jan 04, 2007 9:56 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Specifying first line is column name
- Replies: 3
- Views: 1499
Specifying first line is column name
Hi,
I would like to know if it's possible to specify in the schema file that the first line of a sequential file is the column name and how to do that.
Thanks in advance.
I would like to know if it's possible to specify in the schema file that the first line of a sequential file is the column name and how to do that.
Thanks in advance.
- Wed Jan 03, 2007 8:26 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Partial Name For Sequential File
- Replies: 3
- Views: 1990
- Wed Jan 03, 2007 8:04 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Partial Name For Sequential File
- Replies: 3
- Views: 1990
Partial Name For Sequential File
Hi, I would like to specify a partial name for a seq file in the seq file stage because the name of my file is FILENAME_YYYYMMDD (where YYYYMMDD is the creation date of the file). I tried to specify FILENAME* in the seq file stage but it didn't work. On DS Server, I would have use the folder stage b...
- Wed Jan 03, 2007 6:24 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Defining Schema files
- Replies: 3
- Views: 4055
Sorry this is a bit confusing. You say that there is one record but 2 lines. But any ways please tell us how you have defined the metadata? The definition of schema file is : -schema record {final_delim=end, record_delim_string='\r\n', delim='\n', quote=none, ascii, text, fix_zero} ( DATE_FIC:strin...