Search found 27 matches

by vcsasikala
Fri Mar 07, 2008 3:28 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Substring using modify stage
Replies: 15
Views: 8047

My output should be in MMDDYYYY format. But I'm getting YYYY-MM-DD.

I have changed my default to %mm%dd%yyyy.

Do I need to change any other thing.
by vcsasikala
Fri Mar 07, 2008 3:20 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Substring using modify stage
Replies: 15
Views: 8047

Hi,
I'm getting output values. I have changed the default format to %mm%dd%yyyy.
But output is still in the format YYYY-MM-DD.
I don't know why?
by vcsasikala
Fri Mar 07, 2008 3:13 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Substring using modify stage
Replies: 15
Views: 8047

Thanks for reply Nripendra and Ray. I tried this but I didn't get the output. I gave specification : date2:date = date_from_string [%yyyy%mm%dd] (date1) date1 in my input column varchar 8. date2 is output column as datatype DATE. there is no output from modify stage. Also job is not aborting and no ...
by vcsasikala
Thu Mar 06, 2008 10:56 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Substring using modify stage
Replies: 15
Views: 8047

Substring using modify stage

Hi,
I'm having date column in YYYYMMDD format. This is Varchar(8). I need to convert it to MMDDYYYY in modify stage. I don't want to use transformer. what is the specification do I need to give?

Is there any other way to do this without using transformer?


Thanks,
Sasikala
by vcsasikala
Tue Feb 12, 2008 1:18 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Right justified and prefixed with blanks - Fixed width file
Replies: 1
Views: 872

Right justified and prefixed with blanks - Fixed width file

Hi, I need to write a fixed width output file. I have converted all the column datatype to CHAR. Job is running fine without any error. But All the fields are left justified and suffixed with blanks. They should be right justified and prefixed with blanks. I can pad spaces in front of all the colmns...
by vcsasikala
Mon Dec 10, 2007 9:03 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problem in calling stored procedure
Replies: 2
Views: 1216

Problem in calling stored procedure

I'm using a stored procedure stage to call oracle stored procedure. I have given the properties as below Stored Procedure Statement : call #DSSchema#.PHR_UPD_URSULA_MASTER(:1) Stored Procedure parameters : RUNID RUNID is the input column name I'm getting the error : The parameter (RUNID) is not asso...
by vcsasikala
Mon Nov 26, 2007 2:53 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Getting current and previous values
Replies: 1
Views: 712

Getting current and previous values

I'm havuing a column PERS_ID. I need to get the current and previous values on each run. My stage variables: PrevPersId : CurrPersId CurrPersId : InputLnk.PERS_ID (Initial Value=0) I'm using two nodes configuration file. I have used hash partition. Data are spliting in two nodes. Input 111 111 111 2...
by vcsasikala
Thu Nov 01, 2007 10:57 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to pass a parameter in Exec SH (before job subroutine)
Replies: 1
Views: 1107

If you use '$' then it should be a environmental variable. Just use #FilePath#/<Filename>.txt
by vcsasikala
Thu Oct 25, 2007 6:03 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Vertical pivoting
Replies: 3
Views: 1863

If it is only ten columns. Try this in a transformer In the inut column you should have two columns one should be key and other one is the column to be pivoted. Add zeros to input colmns and sort it in descending order Stage Variables: Source => Ans0:Space(5-Len(Ans0)):Ans1:Space(5-Len (Ans1)):Ans2:...
by vcsasikala
Mon Oct 22, 2007 7:04 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to write Parallel Routine?
Replies: 3
Views: 3974

How to write Parallel Routine?

My Project is having /bin/c++ compiler. How to write routines in enterprise edition? How to cal routines in parallel jobs?
by vcsasikala
Wed Oct 17, 2007 5:16 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: What is the equivalent function in parallel for 'Fmt'
Replies: 2
Views: 1265

What is the equivalent function in parallel for 'Fmt'

I'm converting a server job to Parellel job.
I don't know how to replace a function Fmt(Column,"11RZ").
How to Suppress leading zeros in parallel job?
by vcsasikala
Wed Oct 10, 2007 5:53 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Error : Timed out while waiting for an event
Replies: 2
Views: 1964

Error : Timed out while waiting for an event

I got the error ;'Timed out while waiting for an event' while ruing a sequential file. I have called this sequntial file in a wrapper script. what could be the error?