All,
Do we have any functions to convert seconds to HH:MM:SS format. I generally do it in database itself. This time looking for something in Datastage. Can we do it without Routines.
Seconds- 100
HH:MM:SS-00:01:40
Seconds- 10410
HH:MM:SS- 02:53:30
Thanks..
Search found 144 matches
- Wed Oct 21, 2015 11:39 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Seconds to HH:MM:SS
- Replies: 3
- Views: 3230
- Tue Oct 13, 2015 11:26 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Date Validation with ODBC and File
- Replies: 4
- Views: 1816
- Tue Oct 13, 2015 9:34 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Date Validation with ODBC and File
- Replies: 4
- Views: 1816
- Tue Oct 13, 2015 9:05 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Date Validation with ODBC and File
- Replies: 4
- Views: 1816
Date Validation with ODBC and File
All, One more question on date validation. We have a job which outputs a cvs file. I created another job, which will read the file and Join with a Query from SQL server. Both have date filed. (File and query). How we can have a validation check to see both the date are equal or both the dates are sa...
- Tue Oct 13, 2015 8:59 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: FIELD function
- Replies: 5
- Views: 2414
- Fri Sep 25, 2015 8:18 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: FIELD function
- Replies: 5
- Views: 2414
FIELD function
All, need a quick help on field function. I have a name- ASHLEY, MARTHA ANNIE This is char(30) column and need to separate it to first name,last name and middle name, three separate column. Used FIELD function below. LAST NAME- FIELD(name,',','1') Last name worked. But got stuck in first and middle ...
- Sat Sep 19, 2015 10:12 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Merger two csv files as two seperate worksheet
- Replies: 6
- Views: 2533
Ray and Craig, thanks for the reply. Let me go through the data again. I initially thought two files have complete separate data but seems like one key column is common. Then merger would definitely work. Craig, Initial requirement was excel output. But 11x onwards we have excel output in unstructur...
- Fri Sep 18, 2015 10:41 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Merger two csv files as two seperate worksheet
- Replies: 6
- Views: 2533
Merger two csv files as two seperate worksheet
All, have a question. I have two jobs for two separate CSV output. Now I need to merge them into single CSV file with two different worksheet. Can we achieve this in Datastage?? Appreciate for any other suggestions.
- Tue Sep 15, 2015 7:31 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Pivot enterprise stage Arrey size
- Replies: 1
- Views: 1609
Pivot enterprise stage Arrey size
All, Have a question on Pivot enterprise stage if anyone used it before. Got below example from IBM dev guide.It works fine. But how do we specify ARREY SIZE when we do not now the data due to large volume. This works fine but I have to pivit where Smith is 4 times and Yamanda is 3 times. WHat would...
- Mon Aug 17, 2015 1:51 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Condtions in transformer/Any other options
- Replies: 5
- Views: 1771
- Mon Aug 17, 2015 11:10 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Condtions in transformer/Any other options
- Replies: 5
- Views: 1771
- Mon Aug 17, 2015 9:53 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Condtions in transformer/Any other options
- Replies: 5
- Views: 1771
Condtions in transformer/Any other options
All, Need a help with a condition in DS parallel job. I have a DB2 table, there are three columns as below. Key is ID. ID, Start_Dt, End_Dt, Status 1,10/22/2012,11/10/2015,In Process 1,10/22/2012,11/10/2016,In Process We need to update the the row to "Completed" if it finds same record wit...
- Thu Jul 02, 2015 9:28 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Decimal to HH:MM:SS in Datastage
- Replies: 5
- Views: 3096
- Thu Jul 02, 2015 9:00 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Decimal to HH:MM:SS in Datastage
- Replies: 5
- Views: 3096
Decimal to HH:MM:SS in Datastage
All,
We are pulling a column from DB2 database as 2.2 but in Sequential file it suppose to be deliverable as 00:02:02. So, its actually 2 minutes and 2 seconds format which needs to convert to HH:MM:SS.
Any clue how to achieve this.
Thanks.
We are pulling a column from DB2 database as 2.2 but in Sequential file it suppose to be deliverable as 00:02:02. So, its actually 2 minutes and 2 seconds format which needs to convert to HH:MM:SS.
Any clue how to achieve this.
Thanks.
- Thu Apr 30, 2015 3:16 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Merge/Join Stage
- Replies: 6
- Views: 2384