Search found 15603 matches

by ArndW
Mon Feb 19, 2007 1:41 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Update the row with accumulated counts where insert fails
Replies: 7
Views: 1497

But, if there are only 2 updates per 100 records then doing it via the reject method might be more efficient; it depends upon the ratios.
by ArndW
Mon Feb 19, 2007 1:13 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Update the row with accumulated counts where insert fails
Replies: 7
Views: 1497

Yes, if your method is "insert" and you have a reject link coming out of your database stage you can then modify the data and re-write it. Depending on your data volumes and the percentage of "failed inserts" you might want to design the job to do lookups on the record prior to deciding whether to d...
by ArndW
Mon Feb 19, 2007 12:22 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: parallel job on one node
Replies: 5
Views: 1639

samythiru - no, there is no need to restart the DataStage engine when using different PX configuration files.

p.s. No need to quote messages, either. :?
by ArndW
Mon Feb 19, 2007 11:18 am
Forum: General
Topic: DataStage Job Hangs after rejected option fails &locks T
Replies: 3
Views: 1574

krishnendusengupta - (you don't need to quote everything on reply) A sequential file? Does anything go dow that link? If you change your job so that instead of the Oracle stage you write to another sequential file, does the job also hang? I think it won't the "hang" you are seeing is probably associ...
by ArndW
Mon Feb 19, 2007 11:15 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: location of hash fileand seqfile
Replies: 3
Views: 1142

Both the sequential and hashed files are best placed in another directory, preferably one mounted on another partition/attach point. That way the DataStage directory remains uncluttered, as narasimha pointed out, but in addition it keeps the project directory from filling up to 100% and potentially ...
by ArndW
Mon Feb 19, 2007 10:23 am
Forum: General
Topic: DataStage Job Hangs after rejected option fails &locks T
Replies: 3
Views: 1574

Welcome to DSXchange, krishnendusengupta It is easier if you post in the appropriate forum; you posted in "General" and marked the product as "TX". It sounds like you have a Server job, though. The reject link from the transform stage shouldn't cause anything to hang - what is the passive stage that...
by ArndW
Mon Feb 19, 2007 10:13 am
Forum: General
Topic: Version Control Problems
Replies: 2
Views: 1968

The problems look like they are coming from system file permissions; at least what you are seeing is typical of insufficient access to create, then R/W files. The fact that the view of jobs as "dsadm" is empty is probably because the cross reference file wasn't written correctly, and thus couldn't b...
by ArndW
Mon Feb 19, 2007 10:07 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: parallel job on one node
Replies: 5
Views: 1639

I couldn't reproduce that here. Which "operator" is giving the error?
by ArndW
Mon Feb 19, 2007 8:04 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: open the file in the project default directory and read
Replies: 7
Views: 3428

No. 1. You are opening up a local hashed file called "JobRunInfoParms". 2. You then try to open a sequential file, but instead of the giving path you are using the file handle from (1). This cannot work. The file is a hashed file or a sequential one, but not both. 3. Assuming you are reading the seq...
by ArndW
Mon Feb 19, 2007 5:44 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: open the file in the project default directory and read
Replies: 7
Views: 3428

You are in a function, so all of your RETURN statements need to look like RETURN({some value}). You also have an exit statement in your loop that would get executed after the 1st read, and an unbalanced END in there as well.
by ArndW
Mon Feb 19, 2007 5:39 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Use of combine records stage
Replies: 15
Views: 6766

Are you declaring your combine stage output schema or using RCP? I just created a test job with 3 columns and combined without any problems.
by ArndW
Mon Feb 19, 2007 5:30 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Routine Error Code
Replies: 12
Views: 3305

I'm confused as to your goal. The code does what you ask of it; but we don't know if it makes sense to do so.

Personally I would use a sequence to do this and not make one job abort depending upon some status in another.
by ArndW
Mon Feb 19, 2007 4:42 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem in using Command Stage
Replies: 8
Views: 1670

If you call your script from the before-job subroutine then it will create the XYZ path before any of the job's stages try to access files.
by ArndW
Mon Feb 19, 2007 4:13 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem in using Command Stage
Replies: 8
Views: 1670

Have you set up your sequence job so that the command stage is forced to execute before you start the job that needs the path? You need to do this.