Search found 200 matches

by trobinson
Tue Mar 07, 2006 11:21 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Job wouldn't run from dsjob - ran fine from Designer
Replies: 5
Views: 1663

Are the parameters set via the Designer run identical to those passed via the dsjob command line run?
by trobinson
Thu Oct 13, 2005 11:24 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to Omit last record from a sequential file
Replies: 13
Views: 11310

Sounds like overkill. If this is a Server job using a sequential stage, check the Stage uses Filter Command and add this filter
grep -v TRA

Provided the string TRA only shows up in the trailer record, the grep will return everything not a trailer.
by trobinson
Wed Sep 28, 2005 12:19 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Environmental Varaibles Error...
Replies: 3
Views: 1848

What's the name of the Environmental variable/parameter? Could it be
$DSCAPIOP__DB2_DBNAME? If so, perhaps it's a typo. Where's the "$". For example;
#DSCAPIOP__DB2_DBNAME# might need to be #$DSCAPIOP__DB2_DBNAME#.
by trobinson
Mon Sep 26, 2005 7:08 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Schema file
Replies: 7
Views: 3259

The problem with manually copy and pasting is maintenance when a new field is added. It is MUCH easier to generate the schema file once and maintain that for all 19. I'll assume Ascential's intent was to use table definitions to generate schema files. It can be done this way but the generated schema...
by trobinson
Fri Jun 24, 2005 12:18 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: MQ series
Replies: 5
Views: 1671

Yes. MQ MUST be on the same machine that is running DSEngine.
by trobinson
Fri Feb 11, 2005 12:50 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Compiling Routines
Replies: 5
Views: 2686

1. I'm pretty sure you can turn off the routine check in 5.2+. From Manager => Options => Usage Analysis => General => Uncheck Warn if compiling Referenced Routine will speed up the compile considerably. 2. I am also pretty sure that routines imported into a project MUST be compiled for the changes ...
by trobinson
Fri Feb 11, 2005 10:13 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Cannot Access Jobs in a single Project
Replies: 3
Views: 831

It is not protected.
by trobinson
Fri Feb 11, 2005 9:51 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Cannot Access Jobs in a single Project
Replies: 3
Views: 831

Cannot Access Jobs in a single Project

No one can access jobs in a single project from among many.
DS.TOOLS options hang when selected as does Clean-up Resources from Director.

What diagnostic tools are available to dsadm that would allow us to troubleshoot this problem?
by trobinson
Thu Feb 10, 2005 8:29 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Call Stored Procedure from OCI Stage - DS v7.0 (server jobs)
Replies: 11
Views: 7323

You cannot pass a value to a stored procedure AND get a value back (output parm) at the same time. DataStage doesn't work that way. I've never done it but you could have a stored procedure that takes no input and simply returns a stream of data to your job. It would be the driving input stream to th...
by trobinson
Wed Feb 09, 2005 11:51 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Call Stored Procedure from OCI Stage - DS v7.0 (server jobs)
Replies: 11
Views: 7323

We use it as a "do something" OCI stage on an output link. The next link constraint interrogates the OCISPlink.REJECTEDCODE to see if the stored procedure did the "do something" without an error. If not, follow the error link. We encapsulate units of database work in this way tha...
by trobinson
Tue Nov 09, 2004 6:34 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: doubt in MQ STAGE
Replies: 1
Views: 703

I don't really understand what you are asking. If you are asking if you can browse a message queue for messages, process all or part of the messages or a part of a message and then decide to delete the message then yes this can be done. Simply uncheck the destructive read checkbox and the message wi...
by trobinson
Fri Oct 15, 2004 7:20 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Comit transactions only when both are successful
Replies: 7
Views: 2579

Good point. Also it appears you want transaction control at the job level not the row level. You'll have to set the commit rows value to 0. You'll need the REJECTEDCODE constraint for all links to the database. If any of these constraints evaluates to true you'll have to abort the the job. This will...
by trobinson
Thu Oct 14, 2004 7:54 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Manually edit table definitions
Replies: 8
Views: 2330

I hear that. One must triple check everything when replying to a reply from the Big Ray-huna.
by trobinson
Thu Oct 14, 2004 7:02 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Manually edit table definitions
Replies: 8
Views: 2330

I'm sure I am misunderstanding but I'm curious, having never worked with AS400, as to why you even need the column derivations. If the file layouts are identical for ALL files, then it would seem to me all you need is a way to point to the correct library as you have already done. The derivations in...
by trobinson
Thu Oct 14, 2004 6:45 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Phantom Error - Variable previously undefined
Replies: 3
Views: 1611

Guessing, I would say your routine contains a processing path that leads to a variable that is undefined when the input is NULL. If you initialize ALL your variables or ensure that all variables have a value in the routine this problem will go away. I use commonly accepted programming practices and ...