Search found 53125 matches

by ray.wurlod
Fri Aug 18, 2006 9:48 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: replacing
Replies: 11
Views: 2897

Ereplace has from three to five arguments. Research it. What you need to replace all instances is

Code: Select all

Ereplace(DSLink3.emp_name, "&", "&amp;", -1, 0)
by ray.wurlod
Fri Aug 18, 2006 9:46 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: how to abort the job
Replies: 11
Views: 4275

Best practice is to design server jobs so that they never abort, so that you retain control at all times, in my opinion. Etiquette Note Terms like "fast" and "asap" create negative feelings here. This is an all volunteer site; folks post as and when they can. If you want "fast" or "asap" sign up for...
by ray.wurlod
Fri Aug 18, 2006 9:42 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Extracting a Part from the given String
Replies: 24
Views: 18295

Anyone try the MatchField() function suggestion?
by ray.wurlod
Fri Aug 18, 2006 9:39 am
Forum:
Topic: Metastage to capture and store all of logical and physical
Replies: 2
Views: 1414

Yes. Provided you have the requisite MetaBrokers installed.
by ray.wurlod
Fri Aug 18, 2006 12:56 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Count records of hashed file in a routine
Replies: 12
Views: 3665

OVERWRITING is an optional keyword. I counsel caution using it.
by ray.wurlod
Fri Aug 18, 2006 12:51 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error when running Parallel Job
Replies: 7
Views: 3002

How are the compiler and linker environment variables (such as APT_COMPILER) set?
by ray.wurlod
Fri Aug 18, 2006 12:50 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Difference between Server Objects and PX
Replies: 7
Views: 2543

Batches are created in Director, and may include parallel jobs. These are ancient technology; you should prefer to create Job Sequences, which give a much richer control environment.
by ray.wurlod
Fri Aug 18, 2006 12:48 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to Extract Data from DB2 on z/OS
Replies: 3
Views: 909

The usual methods are:
(a) use a DB2 API stage and connect via DB2 Connect
(b) install DataStage on USS and access DB2 locally through a DB2 Enterprise stage
by ray.wurlod
Fri Aug 18, 2006 12:47 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problem while accessing an external application through ODBC
Replies: 2
Views: 1195

It appears that the previous connection might not be being closed properly. Does this environment have tracing tools? You could certainly switch on ODBC tracing to try to diagnose.
by ray.wurlod
Fri Aug 18, 2006 12:44 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Multiple and Variable Number of Data Fields
Replies: 2
Views: 792

This is also possible, and sometimes desirable in parallel jobs. Read the Sequential File as a single column, and use the Field() function in a Transformer stage to parse out as many fields as you need. The remaining fields can be discarded at this point. Your output record schema from the Transform...
by ray.wurlod
Fri Aug 18, 2006 12:38 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DataStage Connection to IEX TotalView
Replies: 2
Views: 1766

Certainly if you can source a UNIX-based ODBC driver that would be one way to go. Does IEX TotalView have a "dump" facility that can dump data into text files? That, scripted in combination with FTP to the DataStage server if necessary, is another possibility.
by ray.wurlod
Fri Aug 18, 2006 12:31 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Filter Stage error : Non-pipe (or non-virtual data set)
Replies: 4
Views: 1470

The "#" sign is a special symbol in DataStage, a matched pair indicates a reference to a job parameter.
by ray.wurlod
Thu Aug 17, 2006 9:24 am
Forum: Site/Forum
Topic: Slow Refresh
Replies: 7
Views: 3195

Someone here suggested it may be the proximity of "S" and "X" in DSXchange that cause the nanny (Blue Coat) to intercept everything. "S" and "X" are in close proximity in a certain other three-letter word that causes net nanny software to glip.
by ray.wurlod
Thu Aug 17, 2006 9:18 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: ExecSh vs Execute Command
Replies: 1
Views: 954

I probably referred to DSExecute() rather than EXECUTE, but either is OK.

You need to use DSExecute() to capture the value of the environment variable, then use that to construct the path before executing your actual shell script.
by ray.wurlod
Thu Aug 17, 2006 9:11 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: dsrpc process owner
Replies: 3
Views: 1299

Maybe, but I doubt it. It needs to have euid=0 to authenticate logins.