Search found 53125 matches

by ray.wurlod
Wed Jun 14, 2006 4:12 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Convert field with SQL type as BIT to Integer
Replies: 12
Views: 3023

Are you sure this is a server job? :?

In server jobs (by default) NULL is 10000000 (which is possibly how a "bit" is stored) so it may be possible to use

Code: Select all

IsNull(InLink.Field)
as your derivation.
by ray.wurlod
Wed Jun 14, 2006 4:11 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Best way of creating a list of jobs
Replies: 7
Views: 1431

Iterate through all job logs to identify those that finished in the last hour. To do this create a Select List of job names from DS_JOBS, get the job number of each, and use DSGetNewestLogId to get the "finished" message from each then DSGetLogEntry to read the detail of that entry. The timestamp ca...
by ray.wurlod
Wed Jun 14, 2006 4:07 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Convert field with SQL type as BIT to Integer
Replies: 12
Views: 3023

Try not doing anything at all to it.

What is the SQL data type in the imported table definition?

Remember that, within DataStage server jobs, there are no data types, so the cast may be performed implicitly and correctly for you.
by ray.wurlod
Wed Jun 14, 2006 4:06 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Controller Jobs
Replies: 7
Views: 1188

You can't do it this way. You need a master controller that iteratively checks whether there are data to be processed and runs your main job sequence if there are, finishing when there are none.
by ray.wurlod
Wed Jun 14, 2006 4:04 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job Report in a Job Sequence.
Replies: 6
Views: 2001

Not in DSJobReport. Take a look at ETLStats.

The penultimate entry in a job sequence's log is "summary of sequence run". This may contain what you require. You can get this with the DSGetLog... functions.
by ray.wurlod
Wed Jun 14, 2006 4:01 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Performance degradation.
Replies: 8
Views: 1798

Not necessarily. Someone else (DataStage or otherwise) may have been performing tasks that caused locks to exist on your target tables. This can also manifest itself as slow throughput, as the DataStage job spends a lot of time waiting for locks to be released. The clock ("per second") is still runn...
by ray.wurlod
Wed Jun 14, 2006 3:54 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Generate timestamp only if condition met.
Replies: 15
Views: 5951

Can you have two separate links, one with an INSERT statement that lacks the timestamp column from its column list and VALUES list (used when null occurs) and the other that supplies a non-null timestamp?
by ray.wurlod
Wed Jun 14, 2006 3:51 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to find Max Sequence Number from a record
Replies: 13
Views: 4150

FUNCTION FindIt(String, SearchString, Delimiter) $OPTIONS INFO.LOCATE * Make a copy of the string TestString = String * Convert delimiter into dynamic array delimiter Convert Delimiter To @FM In TestString * Search for search string returning field position Locate SearchString In TestString...
by ray.wurlod
Wed Jun 14, 2006 3:47 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: setup -ds users
Replies: 5
Views: 1616

Read the manual about the Operator role. It can only see/run released jobs, and can not view all log entries unless this is explicitly enabled in the Administrator client.
by ray.wurlod
Wed Jun 14, 2006 3:46 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: decompiler
Replies: 10
Views: 2930

I seriously doubt that the UniVerse decompiler will work with DataStage version 6.0 or later. There are traps in the object code to reflect that they are different products; code compiled on the one can not be executed on the other. You can visit Source Recovery Service to find out about the UniVers...
by ray.wurlod
Wed Jun 14, 2006 3:37 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: dsjob Invalid arguments in script
Replies: 12
Views: 3197

Yes, or CygWin or any other UNIX shell for Windows. Definitely worth having one. Of course, if you have one then you can use the UNIX shell scripting language, which is more flexible than BAT files. If you can get the "suppress line terminator" switch to work, then you wouldn't need tr.
by ray.wurlod
Wed Jun 14, 2006 3:33 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Projects on AIX - some work, some don't
Replies: 6
Views: 1349

Needing "x" permission to a directory higher up the pathname?

To use any directory in a pathname one requires at least "x" permission to that directory. To search a directory (for example if there are wildcards in intermediate directories in the pathname) also requires "r" permission.
by ray.wurlod
Wed Jun 14, 2006 3:32 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problems reading a file with large columns
Replies: 7
Views: 2254

Typically, with delimited files, the record delimiter is the line terminator. Did you set the "final delimiter" property; if so, to what?
by ray.wurlod
Wed Jun 14, 2006 3:29 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Structure Server/Parallel
Replies: 7
Views: 1741

However, unless you change the jobs referred to in the Job activities, they will still be the server jobs. There is no magic means by which jobs can automatically be migrated to parallel equivalents merely because you have installed Enterprise Edition.
by ray.wurlod
Wed Jun 14, 2006 3:26 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Trouble with special characters using FTP Stage
Replies: 3
Views: 1171

Can you select Unicode in the Extended column of the Columns grid? Does that help?