Search found 15603 matches

by ArndW
Mon Aug 13, 2012 9:13 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Processing 15 months old data
Replies: 5
Views: 1313

Why would someone want to circumvent the system publicly? Also, the important part of the message is visible to you.
by ArndW
Mon Aug 13, 2012 9:11 am
Forum: General
Topic: Change delfault path for importing jobs/unlock a folder
Replies: 5
Views: 1466

What happens in the import box when you click on the little box with "..." to the right of the filename field?

(Ignore this post, I just realized I misunderstood the question)
by ArndW
Mon Aug 13, 2012 7:29 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Multiple Update issue
Replies: 10
Views: 2233

What is your error message?
by ArndW
Mon Aug 13, 2012 6:53 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Typeconversion
Replies: 11
Views: 2847

Code: Select all

StringToDate(RIGHT('0':string,8),"%dd%mm%yyyy")
by ArndW
Mon Aug 13, 2012 6:34 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Multiple Update issue
Replies: 10
Views: 2233

in that case, did you include the schema name?
by ArndW
Mon Aug 13, 2012 5:41 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Multiple Update issue
Replies: 10
Views: 2233

Re: Multiple Update issue

UPDATE
Table name
SET
Clm = 'A'
WHERE Clm In (' ','B','C','E','9') ;

What are you actually using as the "Table name" value?
by ArndW
Mon Aug 13, 2012 5:29 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Processing 15 months old data
Replies: 5
Views: 1313

Since you are in a parallel job and your data type is date, you can use the expression if (DaysSinceFromDate(CurrentDate(),In.InputDateField) >(15*30) then 1 else 2 The (15*30) means 30 days times 15 months. If you need to be exactly 15 months back on the same day, you would need to convert your cur...
by ArndW
Mon Aug 13, 2012 3:36 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date Conversion
Replies: 2
Views: 1380

You are in luck, the $APT_DATE_CENTURY_BREAK_YEAR does exactly what you are looking for.
by ArndW
Sun Aug 12, 2012 2:25 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Unix Commands in DS for every input record
Replies: 4
Views: 1743

Although I feel pretty strongly that this type of processing is best done outside of DataStage - a script would do this much more efficiently than a DataStage job - the simplest way to do this would be to use a Server job and in the transform stage call up ExecSH() to create a shell and execute your...
by ArndW
Sat Aug 11, 2012 11:58 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Modify varchar to decimal
Replies: 1
Views: 790

The conversion from VarChar to decimal is an implicit one, so in a modify stage a:

NewDecimal = OldString

is sufficient (OldString is the input string, NewDecimal is the output decimal)
by ArndW
Sat Aug 11, 2012 11:50 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date Comparision
Replies: 3
Views: 1672

The easiest way to work at this problem is to convert all 3 strings to dates - StringToDate(In.col,"%mm/%dd/%yyyy") and then you can do the ">" and "<" comparisons.
by ArndW
Fri Aug 10, 2012 11:13 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: concatenate consecutive lines from sequential file
Replies: 9
Views: 2785

Let us assume the link to your transform is called "In" and you have one string column called "Data". Stage Variables SvOut IF (In.Data[1,3]='XYZ') THEN SvWorkData ELSE '' SvWorkData IF SvOut THEN In.Data ELSE SvWorkData:',':In.Data Constraint SvOut <> '' AND @INROWNUM <> 1 Outpu...
by ArndW
Fri Aug 10, 2012 10:30 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: concatenate consecutive lines from sequential file
Replies: 9
Views: 2785

Wow - I've never seen a Premium member with just 1 post, you are a first. Welcome to DSXChange.

There are several approaches you can take. First, are there always 4 records to each group or an indeterminate number of records?

Is a line starting with "XYZ" the trigger for a group change?
by ArndW
Fri Aug 10, 2012 7:08 am
Forum: General
Topic: Director Monitor Detail
Replies: 7
Views: 1596

BI-RMA - if the server job is called from a sequence and not started directly, is the value also 0?