Hi my requirment is to convert decimal to character by Truncating decimal.How to implement this..
For Example
Input is Decimal(17,4)
as 128119000.000
OUTPUT should be Char(4)
1281
Can i do it in Sybase database itself or Datastage.
Please advice me on this... ASAP
Search found 98 matches
- Tue Sep 02, 2008 7:59 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Decimal to Character
- Replies: 7
- Views: 2514
- Fri Aug 29, 2008 12:17 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Remove Duplicates from target File
- Replies: 1
- Views: 985
Remove Duplicates from target File
I need to remove duplicates for example I am gettin this as the output aaa bbb ccc aaa bbb ccc aaa ddd fff aaa ddd fff Actuall output file should look like aaa bbb ccc aaa ddd fff I have used the following stages database1->Hash file - - - database2-> Sorter-> Transformer-> OUTPUT File.. Still i am ...
- Tue Aug 26, 2008 9:19 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Purpose of creating Config file
- Replies: 3
- Views: 1491
Purpose of creating Config file
Hi there is requirement for the job i created.. They need a config file for the job.. Can any one suggest me how to create config file and what's the purpose.
Please help me on this...
Please help me on this...
- Mon Aug 25, 2008 2:12 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: How to get previous timestamp field
- Replies: 4
- Views: 1472
- Mon Aug 25, 2008 1:11 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: How to get previous timestamp field
- Replies: 4
- Views: 1472
How to get previous timestamp field
Hi all is there any way which i can get previous timepstamp for the field. Example In a table i have a field Last_upt_tmpst with this field i need to put constraint in my job as last_upt_tmpst> @previous_upt_tmpst But i dont want to declare variable as @previous_upt_tmpst.. Is there any way which i ...
- Sun Aug 24, 2008 9:21 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Abort of Job
- Replies: 6
- Views: 1623
Sorry, The job creteria is Abort the job if no records exist for the day... I am scheduling this job daily which will run at 4am eveyday.. so job should be aborted if no records exists. my job will pick account numbers and name everyday. So my question was that can i include any creteria to do this...
- Sun Aug 24, 2008 8:42 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Abort of Job
- Replies: 6
- Views: 1623
Thanks Guru's .... Okey let me make my requirement clear... I want to abort the job if no record exists for the day. So i wanted to know how can i proceed this:- 1) I have already used after job subroutine for cancatenating the header, body and foooter file. So can i include in the same after job su...
- Sat Aug 23, 2008 3:22 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Abort of Job
- Replies: 6
- Views: 1623
Abort of Job
How can i abort the job. if no records exist for the day... my job is daily delta basis . 1) i can do this in after job subroutine..? also my after job subroutine is already have query for concatenating all the sequential file present in the job. Can i include the query for job abort in same after j...