Search found 53125 matches

by ray.wurlod
Wed Jun 04, 2008 3:03 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Where to find job schedule info in xmeta DB?
Replies: 14
Views: 12953

deanwalker wrote:You can see that information in the RT_CONFIGnnn file, or export the executable and it is visible in the DSX too.
This is news to me. Can you please elaborate?
by ray.wurlod
Wed Jun 04, 2008 2:59 pm
Forum: General
Topic: Getting Datastage Project names from Unix
Replies: 2
Views: 1200

An alternative command is

Code: Select all

dsjob -lprojects
by ray.wurlod
Wed Jun 04, 2008 6:53 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: File Pattern and File Order
Replies: 1
Views: 732

You have not control over the file pattern, unless you can dream up a regular expression that assembles the file names in date order. Prefer a File property with a Filter command that issues a cat command to assemble the data in date order.
by ray.wurlod
Wed Jun 04, 2008 6:50 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Capturing part of job log using routine
Replies: 28
Views: 8168

It's DataStage BASIC, not a shell script. Comments do not begin with "#" in DataStage BASIC. Comments in DataStage BASIC can be specified in three ways: a statement beginning with "*" and containing at least one space a statement beginning with "!" and containing at least one space a statement begin...
by ray.wurlod
Wed Jun 04, 2008 6:47 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Using Modify Stage - Substring function
Replies: 15
Views: 15728

Beware that Modify stage uses zero-based counting. So, if you want the leftmost 100 characters, the Specification should be of the form

Code: Select all

NAME2:String[100] = substring[0,100] (NAME1) 
by ray.wurlod
Wed Jun 04, 2008 6:45 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Aggregate columns based on the condition
Replies: 1
Views: 923

Group by Status summing Sal, then vertical pivot.
by ray.wurlod
Wed Jun 04, 2008 6:38 am
Forum: IBM QualityStage
Topic: Variable special handling (match specification)
Replies: 3
Views: 1321

Ah, you didn't mention that you'd also specified it as a blocking field.
by ray.wurlod
Wed Jun 04, 2008 1:30 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Capturing part of job log using routine
Replies: 28
Views: 8168

Calls to DSLogInfo() will serve in place of PRINT statements.
by ray.wurlod
Wed Jun 04, 2008 1:21 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Capturing part of job log using routine
Replies: 28
Views: 8168

"Not working" is meaningless.

Is it compiling (which is the only thing I addressed)?

What do you want the routine to do, what is it producing (if anything)? What is appearing in the log (or in the Results window in the test grid)?
by ray.wurlod
Wed Jun 04, 2008 12:07 am
Forum: General
Topic: Help with logic in the Transformer
Replies: 6
Views: 1380

The Index() function may be faster. For example: If Index("8000,8100,8300,8301,8302,8400,8401,8402,8403,8404,8500,8520", InLink.col1, 1) Then "1100" Else ... That having been done, arrange the comparison string in order of likelihood of occurrence to get optimum speed of ...
by ray.wurlod
Wed Jun 04, 2008 12:02 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Default path for orcle load reject and logs
Replies: 3
Views: 821

Moderator: please move to server forum
by ray.wurlod
Tue Jun 03, 2008 11:59 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Capturing part of job log using routine
Replies: 28
Views: 8168

Failure to Compile

The language is DataStage BASIC, not C. Therefore you must use BASIC-style comments, not C-style comments. The "/*" characters are the immediate cause of your failure to compile.
by ray.wurlod
Tue Jun 03, 2008 11:56 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Default path for orcle load reject and logs
Replies: 3
Views: 821

These do not have a regular/consistent row pattern, so you will need to figure out your own rules for parsing them. You can then implement these as a DataStage job, a DataStage routine (or more than one), some combination thereof, or a solution that does not involve DataStage at all. Begin by analys...
by ray.wurlod
Tue Jun 03, 2008 11:53 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Blank ATTxxx.txt file in email attachement
Replies: 2
Views: 982

Welcome aboard.

It's not DataStage doing that, it's Outlook (or Outlook Express).

Use a different mail client (such as blat) to avoid it.
by ray.wurlod
Tue Jun 03, 2008 9:52 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to run a sequential file in parallel mode?
Replies: 6
Views: 8334

Welcome aboard.

DataStage does not "run" files. Do you mean "read" or do you mean "write"? By default each operation is sequential. However parallel reading is possible.

Parallel writing to one file is prohibited, not by DataStage but by the operating system.