Search found 52 matches

by jojipjohn
Wed Jun 28, 2006 5:14 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Extracting Packed decimal data type from A flat file
Replies: 21
Views: 7932

Thanks for the response.

I have not used this. Can you please give some more details as to how to do this. This will be of great help for my project.
by jojipjohn
Wed Jun 28, 2006 2:24 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Extracting Packed decimal data type from A flat file
Replies: 21
Views: 7932

Extracting Packed decimal data type from A flat file

I have a flat file as source, which is coming from a mainframe system. One of the field in this file is a packed decimal. Can anyone tell me how to extract this field and load it in to an oracle database as a normal decimal.
by jojipjohn
Mon May 29, 2006 10:36 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Data Type Varchar 1500
Replies: 10
Views: 4887

varchar(1500) is valid and I have used this...

varchar(1500) is valid and I have used this before... but I had aproblem when I used a column with datatype varchar(4000). This was not giving any error or warnings but it was inserting spaces into the target. This was resolved when I changed varchr ro char
by jojipjohn
Mon May 29, 2006 10:28 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: datastage shudular
Replies: 7
Views: 2312

Use crontab

Use dsjob command in crontab to schedule.
by jojipjohn
Mon May 29, 2006 9:17 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Generate multiple records from a single source record
Replies: 3
Views: 1775

e.g.

e.g.

A recored with two columns: 'ABC1', 5

I want the output to be

'ABC1'
'ABC2'
'ABC3'
'ABC4'
'ABC5'

The number of output rows is based on the value of the integer coloumn.
by jojipjohn
Mon May 29, 2006 9:08 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem with flat Files related to date field
Replies: 8
Views: 2193

Remove "HH:MM:SS.SSS"of the date or change target

Try changing your datetype in the target stage to timestamp. If you don't want the "HH:MM:SS.SSS" part trim the source before loading it into the target.
by jojipjohn
Mon May 29, 2006 7:24 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Generate multiple records from a single source record
Replies: 3
Views: 1775

Generate multiple records from a single source record

I have two columns coming from the source (Oracle10g Database), one is a varchar and another interger. I have to generrate multiple rows for each rows coming from the source based on the integer column. Can someone tell me how to do this in Datastage.