Search found 40 matches

by swerajan
Fri Sep 04, 2009 3:06 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problem with decimal data
Replies: 4
Views: 1034

Problem with decimal data

Hi The file i am using in the ETL job is created by mainframes. I need to read a data in a particular column as decimal (15,2). The sample data is like 000000006043315. I need the data to be read as 0000000060433.15. But datastage is reading the same as 0000006043315.00 Please provide some valuable ...
by swerajan
Fri Sep 04, 2009 2:58 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Selecting only specific columns from a file in unix
Replies: 19
Views: 3961

Selecting only specific columns from a file in unix

Hi
I have a file available in UNIX box. There are many columns in it. I want datastage to read only selected columns from the file. How can this be done? It is tedious process to load the metadata of the file to Sequential file stage. Please post me the answer as soon as possible
by swerajan
Thu Jan 08, 2009 1:37 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: CSV files- Read Problem
Replies: 1
Views: 1741

CSV files- Read Problem

Hi
I am using a server job. I need to read a file that is comma seperated, but the data in one of the field contains comma. The data is not quoted. datastage interprets this comma as a delimiter and is not readin the data properly. How to overcome this?
by swerajan
Wed Nov 05, 2008 2:42 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Subtratc few days from a date
Replies: 3
Views: 1204

Subtratc few days from a date

Hi all

I need to subtract few days from a given date. How can i do this? Pls guide me through the steps.
by swerajan
Mon Nov 03, 2008 5:13 am
Forum: General
Topic: Hi- To find the no of mondays in a given month
Replies: 14
Views: 5587

Hi all

thanks for all ur valuable answers. my req is bit diff,,, i need to find the no of mondays for a given month and the month value cums from a seq file say (20080701) 07 here represents the month of july,.. from here i hav to find the no of mondays for the month of july...
by swerajan
Fri Oct 31, 2008 9:30 am
Forum: General
Topic: Hi- To find the no of mondays in a given month
Replies: 14
Views: 5587

ok... but routines are written n basic lang and am new to them.can u suggest me any forums to learn the basic terms in them..also explain a bit more algorithm of yours.
by swerajan
Fri Oct 31, 2008 9:16 am
Forum: General
Topic: Hi- To find the no of mondays in a given month
Replies: 14
Views: 5587

Will i not be able to do it in a transformer... ??
by swerajan
Fri Oct 31, 2008 7:50 am
Forum: General
Topic: Hi- To find the no of mondays in a given month
Replies: 14
Views: 5587

Hi- To find the no of mondays in a given month

Hi How can we find the no of months in a given month in datastage parallel job. The date is not hardcoded,
by swerajan
Fri Oct 31, 2008 6:04 am
Forum: General
Topic: Datastage Transform
Replies: 6
Views: 4927

How to find the no of Mondays in a week?

HI all

I need a find the no of mondays each month has got using datastage, The month differs and is not a hardcoded one. Please help me out in finding the count
by swerajan
Tue Aug 05, 2008 4:45 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Count of file
Replies: 1
Views: 1002

Count of file


Hi

I need to get the count of the file and then send a mail if a file contains data. i tried using the execute command in the sequencer to find if the file has data. [ -s filename ] how to proceed further to send a mail??