Search found 53125 matches

by ray.wurlod
Tue Apr 12, 2011 5:01 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Possible truncation of variable length string
Replies: 8
Views: 5821

Always specify a maximum string length (VarChar(255) for example) or always specify unbounded VarChar.

There are pros and cons to both approaches, discussed elsewhere.
by ray.wurlod
Tue Apr 12, 2011 4:59 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Lookup stage warning
Replies: 4
Views: 2344

Check.

In particular double check that Payment_Date is nullable on the output link of the Lookup stage.
by ray.wurlod
Tue Apr 12, 2011 4:57 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: same stage variable names in one or more transformers???
Replies: 1
Views: 963

The scope of a stage variable is the stage in which it is declared.

Therefore the same stage variable name may be used in more than one Transformer stage in the same job.
by ray.wurlod
Tue Apr 12, 2011 4:56 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem in lookup
Replies: 8
Views: 2344

Demonstrate that the SQL in the second lookup matches the metadata in the job design. Or, if it's a hashed file lookup, demonstrate that the location field in the table definition is correct for all three columns.
by ray.wurlod
Tue Apr 12, 2011 4:54 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: ODBC stage job count
Replies: 2
Views: 1219

No, because we don't have access to your system. You need to do your own diagnostics. Start with looking in the job log for any problems, and in Monitor (or Designer) for link row counts. Is there a constraint expression in the Transformer stage? Did you run the job with a 100 row limit?
by ray.wurlod
Tue Apr 12, 2011 4:53 am
Forum: General
Topic: IIS web console login details
Replies: 3
Views: 7163

Premium membership is the main way that DSXchange's hosting and bandwidth costs are met. Why not sign up? It's not expensive, at less than 30c (approximately Rs11 on current rates) per day.
Follow the membership link from the home page.
by ray.wurlod
Tue Apr 12, 2011 4:51 am
Forum: General
Topic: ETL through COBOL
Replies: 7
Views: 4036

When you get to version 8.5 there are new ways for getting at DB2 on mainframe from parallel jobs that would make your life easier. But you will still definitely need to analyse the logic of the COBOL program's procedure division and replicate that logic in DataStage.
by ray.wurlod
Tue Apr 12, 2011 4:49 am
Forum: General
Topic: Restartability mechanisms
Replies: 31
Views: 12071

You can do this, but you have to design it in to your own jobs - there is no automatic mechanism for keeping track of successfully committed transactions.
by ray.wurlod
Tue Apr 12, 2011 12:42 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Need Output in Single Row...
Replies: 1
Views: 850

This is a vertical pivot. Search DSXchange for many posts on how to achieve.
by ray.wurlod
Tue Apr 12, 2011 12:41 am
Forum: General
Topic: Recovering a deleted job
Replies: 4
Views: 1851

Recover it from the export you took at close of business yesterday.

Otherwise it's gone forever.
by ray.wurlod
Tue Apr 12, 2011 12:41 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Decimal Rounding and convert to Varchar
Replies: 4
Views: 2161

Use the rtype argument to manage your rounding, and Trim() to remove leading and trailing zeroes. It's slightly more complex with signed decimal numbers.
by ray.wurlod
Tue Apr 12, 2011 12:39 am
Forum: General
Topic: IIS web console login details
Replies: 3
Views: 7163

All that information is stored in the common metadata repository (a database we usually call XMETA, since this is its default name). You are correct to assume that the format is proprietary, though it can be discovered.
by ray.wurlod
Tue Apr 12, 2011 12:37 am
Forum: General
Topic: Restartability mechanisms
Replies: 31
Views: 12071

A sequencer doesn't have that option either. The only option available to a sequencer is Any/All. It may be that you are meaning to use the term "sequence". A Search of DSXchange will tell you much about the "automatically handle activities that fail" and any gaps then remaining ...
by ray.wurlod
Mon Apr 11, 2011 10:58 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Translate a CASE statement into a Stage Variable
Replies: 2
Views: 2172

svYear Left(InLink.TheDate, 4) svIsLeapYear Mod(svYear,4) = 0 And (Mod(svYear,100) <> 0 Or Mod(svYear,400) = 0) svFebDays If svIsLeapYear Then 29 Else 28 svMonthDays "31|" : svFebDays : "|31|30|31|30|31|31|30|31|30|31" svMonthNo InLink.TheDate[5,2] svLastDay Field(svMonthDays, &...
by ray.wurlod
Mon Apr 11, 2011 10:51 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Help regarding RANDOM data selecting
Replies: 29
Views: 9149

Maybe a Head stage, then, with the Period and Number of Rows properties used.