Search found 42189 matches

by chulett
Thu Apr 23, 2009 8:03 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Identify Jobs that comples with warning
Replies: 9
Views: 2061

True... not sure why I went down the script path, but either is valid and would use the same techniques with the caveat Ray mentioned for the job approach.
by chulett
Thu Apr 23, 2009 7:58 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: [DataStage][SQL Client]Data has been truncated
Replies: 1
Views: 6039

"Character data, right truncation occurred; for example, an update or insert value is a string that is too long for the column, or a datetime value cannot be assigned to a host variable, because it is too small." First suggestion would be to look for this situation, find out where you are...
by chulett
Thu Apr 23, 2009 7:56 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: XML Format output
Replies: 7
Views: 1785

Just build them together as one line, formatting like that is just for peoples and will not affect any XML parser. If for some reason you really think you need to do this, concatenate a <CR> between the two elements:

Code: Select all

FirstTag : Char(13) : SecondTag
by chulett
Thu Apr 23, 2009 7:50 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: warning with Routine return value
Replies: 15
Views: 7634

Or just simplify the triggers. Does your routine actually ever return a negative number? Do you need to handle a zero differently than a non-zero response? Seems like the answer is no if all of these links feed into an ANY sequencer. Use two triggers and let me know what happens: Link 1 - OK (Condit...
by chulett
Thu Apr 23, 2009 7:39 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Can we update DS Project Level param value from DS Job
Replies: 2
Views: 724

No, but if you told us about the problem you were trying to solve by this, perhaps a better approach could be proposed.
by chulett
Thu Apr 23, 2009 7:34 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Unable to install DataStage Server on UNIX environment
Replies: 6
Views: 2492

Odd... so 'netstat' is hanging on that server? I would bring that to the attention of your Admins, if you haven't already. :?
by chulett
Thu Apr 23, 2009 7:32 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Hashed file goes wrong, thousands of files
Replies: 11
Views: 4581

This can happen, typically when using the 'Delete every run' option. Something happens, the delete/recreate silently goes awry and you lose the hidden .Type30 file in the directory that tells it it is a dynamic hashed file. It then defaults back to a Type 1 (19?) where every record becomes a separat...
by chulett
Wed Apr 22, 2009 11:40 pm
Forum: General
Topic: Command Line to call Datastage Server Routine
Replies: 6
Views: 3201

And how exactly would one call the routine in the Execute Command stage? That's the question. Routine Activity stage, sure, that's what it is there for but there really isn't any approved mechanism to run server routines from the operating system that I recall seeing. I think Ray or Kim may have pos...
by chulett
Wed Apr 22, 2009 11:31 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Identify Jobs that comples with warning
Replies: 9
Views: 2061

You were doing fine up until that last little bit. Getting the first part is easy and a simple script can get a list of the job names in a project then iterate through them to check and record the status of each. All that using 'dsjob'. Write the results out to a flat file and then either load it to...
by chulett
Wed Apr 22, 2009 5:21 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Copying many tables from Sybase to SQL Server
Replies: 5
Views: 2575

Funny, but I don't really think "ETL" when I see "SAS" but hitting their website reveals that it is one of their offerings: SAS Enterprise Data Integration Server is what I assume you are referring to, yes? And there is an "Enhancement Wish List" forum which I've been t...
by chulett
Wed Apr 22, 2009 2:49 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Create table& Create index under User-Defined DDL
Replies: 7
Views: 2318

I don't believe so, from what I recall of the documentation either are valid with the difference that I noted above.
by chulett
Wed Apr 22, 2009 1:06 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DB2 Stage extracting rows based on a file of keys
Replies: 3
Views: 869

Why not first load the keys into a work table and then join them to your source table in the DB2 stage?
by chulett
Wed Apr 22, 2009 12:46 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Job locked, cant delete/modify but it can be run
Replies: 32
Views: 20050

If it is disabled, you should be able to go to the Administrator, select that Project and enable the option that is something like (off the top of my head) 'Enable job cleanup from Director'.
by chulett
Wed Apr 22, 2009 12:45 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: CALLING DATASTAGE JOBS THROUGH UNIX SHELL SCRIPT
Replies: 12
Views: 3486

You need to either fully path it, add the DataStage "bin" directory to your PATH or (as noted) run it from where it lives.