Search found 42189 matches

by chulett
Wed May 16, 2007 10:12 pm
Forum: General
Topic: DSSendmail subroutine to send notifications
Replies: 11
Views: 6252

"J3stat" will never be anything other than RUNNING because that is the job's current status. Why do you check the interim status as requested and then do nothing with it? Check J1stat to decide when to send an email. I've said this before and I'm going to say it again - the job's status will never b...
by chulett
Wed May 16, 2007 9:43 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Accesing XML Schema in a Job
Replies: 7
Views: 2102

I just stumbled across a section of the online help for the XML Output stage that says: 'Validation against an XML schema is required when you want default values for elements and attributes that are specified in the schema written to an output row. To reference a schema in your XML document, use th...
by chulett
Wed May 16, 2007 8:00 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DS Job Type Identification - Server or PX in Unix
Replies: 7
Views: 1688

Yes you did. Me likey what you done did and fully intend to steal bits of it when I have some spare time. :D
by chulett
Wed May 16, 2007 7:57 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Can I use Insert or update statement in User defined sql?
Replies: 9
Views: 1797

Parameter markers are the question marks in your SQL, bind points waiting for column values to be supplied at runtime. Positional meaning that the position of the ? in the sql is mapped to the position of each column defined in the stage. For example, when it sees 19 of them, it sends the value in ...
by chulett
Wed May 16, 2007 7:31 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DS Job Type Identification - Server or PX in Unix
Replies: 7
Views: 1688

You'd probably want to flip the query around for your needs:

Code: Select all

SELECT JOBTYPEIND FROM DS_JOBS WHERE  NAME = 'YourJobName';

And then handle your parameters accordingly based on the type retrieved.
by chulett
Wed May 16, 2007 7:26 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Accesing XML Schema in a Job
Replies: 7
Views: 2102

I'm not sure whether the XMLOutput stage will do this for you if the column value is NULL, but I tend to doubt it... this would require further testing, but you should be able to force the attribute yourself... I haven't found a way and this *is* something we actually futzed with at one point. We e...
by chulett
Wed May 16, 2007 7:20 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: push NULL values to NOT NULL fields
Replies: 2
Views: 1167

Not null where? Nullable 'No' in DataStage? Yes. NOT NULL Fields in a database? No, that would defeat their purpose if that was allowed.
by chulett
Wed May 16, 2007 7:19 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: XML output generation
Replies: 44
Views: 11372

Hmmm... for some silly reason I was under the opposite impression. :?

I thought 'XML' meant the output needed to be 'XML Friendly' and thus would do those conversions. But then, the last time I tried to find out where all those data elements were documented, I failed miserably. :cry:
by chulett
Wed May 16, 2007 3:09 pm
Forum: General
Topic: Data in the output file has more rows than the input data
Replies: 7
Views: 1885

Dollars to doughnuts a text field has a LF - a CHAR(10) - in it as 'data'. UNIX will see that as a record separator.
by chulett
Wed May 16, 2007 3:07 pm
Forum: General
Topic: Hash file Look up
Replies: 4
Views: 1305

Easily handled by the hashed file stage. Performance would be best if you've 'pre-sized' it for that volume by bumping up the minimum modulus. Have you done that or is it still at the default of 1? Have you used the HFC / Hashed File Calculator before? It can be found as an 'unsupported utility' on ...
by chulett
Wed May 16, 2007 12:44 pm
Forum: General
Topic: Hash file Look up
Replies: 4
Views: 1305

Welcome aboard! :D

Define 'huge' for us, please.
by chulett
Wed May 16, 2007 11:34 am
Forum: General
Topic: DSSendmail subroutine to send notifications
Replies: 11
Views: 6252

Ok, two things. 1) Check the INTERIM status of the job after job, that will allow you to decide if an email should go out or not. Keep in mind the fact that an Aborted job won't be able to send emails, only one with warnings will. A Sequence job would solve that 'problem'. 2) I know you've mentioned...
by chulett
Wed May 16, 2007 10:56 am
Forum: General
Topic: DSSendmail subroutine to send notifications
Replies: 11
Views: 6252

Check the INTERIM status of the job. Why not use a Sequence job for this, handle it with the Notification stage and the appropriate triggers?
by chulett
Wed May 16, 2007 10:14 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Projects not shown while installing plugin
Replies: 2
Views: 835

Um.. no. Never been anywhere with 70 projects. Perhaps there's a way to show the next 'page' of project names? It's been years since I've used the Package Installer so don't recall all the gory details of its usage. Can you just type in the project name or must you pick it from the list? You should ...
by chulett
Wed May 16, 2007 7:41 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: ORA - 02291 Error coming
Replies: 2
Views: 1469

Talk to your DBA, they can explain exactly what you are doing wrong that would violate a foreign key constraint like that.