Is removing milli-seconds necessary. I tried replacing '-' with ' '.
Thanks
srikie
Search found 57 matches
- Fri Mar 04, 2005 11:09 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: cyymmdd to timestamp
- Replies: 19
- Views: 11310
- Fri Mar 04, 2005 10:28 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: cyymmdd to timestamp
- Replies: 19
- Views: 11310
How do you declare and assign all fields in the source into your temporary variable? I dint get that part. But here is the stage variable derivation for lastchgdate: if DSLink3.CDB6ED_LAST_CHANGE_C = '0' then '19' || DSLink3.CDB6ED_LAST_CHANGE_YY || '-' || DSLink3.CDB6ED_LAST_CHANGE_MM || '-' || DS...
- Fri Mar 04, 2005 9:14 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: cyymmdd to timestamp
- Replies: 19
- Views: 11310
cyymmdd to timestamp
Hi, My vsam file has date of this 10 CDB6ED-LAST-CHANGE-DT. 15 CDB6ED-LAST-CHANGE-C PIC X(01). 15 CDB6ED-LAST-CHANGE-MM PIC X(02). 15 CDB6ED-LAST-CHANGE-DD PIC X(02). 15 CDB6ED-LAST-CHANGE-YY PIC X(02). which needs to cast to a timestamp attribute of db2 table. When I do it using CAST(LASTCHGDATE AS...
- Tue Mar 01, 2005 1:07 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: julian date conversion into 'ccyy-mm-dd'
- Replies: 18
- Views: 7280
- Tue Mar 01, 2005 1:04 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Sequence no's
- Replies: 2
- Views: 1005
Re: Sequence no's
use keymgmtget next value function to generate the sequence number and character matching can b done using the substring function. hold sequence number in a stage variable so that it cud b copied until the next string with p occurs.
- Tue Mar 01, 2005 11:56 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: julian date conversion into 'ccyy-mm-dd'
- Replies: 18
- Views: 7280
- Tue Mar 01, 2005 11:35 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Date Format
- Replies: 3
- Views: 1263
Re: Date Format
I am not sure abt oconv() but one suggestion is extract 'yyyy','mm','dd' and concatenate. I am sure there is much a better way to do this but this was just a quick thought.
srikie
srikie
- Tue Mar 01, 2005 11:24 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: julian date conversion into 'ccyy-mm-dd'
- Replies: 18
- Views: 7280
- Tue Mar 01, 2005 11:03 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: julian date conversion into 'ccyy-mm-dd'
- Replies: 18
- Views: 7280
Hi Sainath My source format is : 20 FM132-SER-NUM-JULIAN-DATE. 25 FM132-SER-NUM-JULDT-CCYY. 30 FM132-SER-NUM-JULDT-CC PIC X(02). 30 FM132-SER-NUM-JULDT-YY PIC X(02). 25 FM132-SER-NUM-JULDT-DDD PIC X(03). Now when I try to change child elements date format according to ccyyddd it gives me error that ...
- Tue Mar 01, 2005 10:46 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: julian date conversion into 'ccyy-mm-dd'
- Replies: 18
- Views: 7280
- Tue Mar 01, 2005 10:32 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: julian date conversion into 'ccyy-mm-dd'
- Replies: 18
- Views: 7280
My source file is vsam file. When I try to change the date format for that column bcoz its a group it doesnt give any listing the drop-down list. But when I changed column type from group to character, it gives me the Error: Group column cannot have data type other than GROUP. Error: Maximum file re...
- Tue Mar 01, 2005 10:18 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: julian date conversion into 'ccyy-mm-dd'
- Replies: 18
- Views: 7280
- Tue Mar 01, 2005 9:14 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: julian date conversion into 'ccyy-mm-dd'
- Replies: 18
- Views: 7280
julian date conversion into 'ccyy-mm-dd'
Hi,
I am working on DS MVS edition. Can any one suggest me on how to convert julian date which is of 'ccyy-ddd' format to 'ccyy-mm-dd'.
As I am working on msv edition I dont have the comfort of using server routines.
Thanks
Srikie
I am working on DS MVS edition. Can any one suggest me on how to convert julian date which is of 'ccyy-ddd' format to 'ccyy-mm-dd'.
As I am working on msv edition I dont have the comfort of using server routines.
Thanks
Srikie
- Mon Feb 21, 2005 4:18 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Error: 140015 Parser failed
- Replies: 14
- Views: 3556
- Mon Feb 21, 2005 3:51 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Error: 140015 Parser failed
- Replies: 14
- Views: 3556
Mike, Hurraaaaaaaayyyyyy ! :D finally I solved the problem. The problem is with timestamp attribute, I am yet to know wats the problem but when I removed tht attribute, its generating code. Something with flat file and timestamp. If anyone knows any thg abt it please enlighten me. Really hard way to...