Search found 53125 matches

by ray.wurlod
Thu Jun 23, 2005 5:41 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Subtract 1 sec from a timestamp (2005-06-22 13:51:06)
Replies: 8
Views: 4326

If you're going back from 00:00:00, then you need to subtract one day from the date.

Code: Select all

Oconv(Iconv(Left(InLink.Timestamp,10),"DYMD")-1,"D-YMD[4,2,2]")
by ray.wurlod
Thu Jun 23, 2005 5:37 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Stop a job with status ABORTED
Replies: 3
Views: 1208

Or set ErrorCode to a non-zero value in a before-job subroutine that checks the exit status of the previous job.

Or set it up with appropriate triggers in a job sequence (preferred).
by ray.wurlod
Thu Jun 23, 2005 5:35 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: '£ ' getting converted to '#'
Replies: 6
Views: 2604

"They" had to do a lot of fiddling to support the Euro symbol. Especially since Micro$oft decided to use the character for Euro that "they" used for null. If you remember that "they" are based in Boston, where the Tea Party is still remembered, this may explain why there is no explicit support for t...
by ray.wurlod
Thu Jun 23, 2005 5:29 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Hash File size
Replies: 14
Views: 3600

Execute the following command from Administrator client command window. DOS /C "dir hashedfilepath" This will show the physical size of the DATA.30 and OVER.30 components of the dynamic hashed file. What you are planning to do with this information I have no idea - perhaps setting up an al...
by ray.wurlod
Thu Jun 23, 2005 5:25 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem with Warning limits - Yes, I know it's an old topic!
Replies: 11
Views: 4785

In Director go to the Options selection on the Tools menu. That's where you can set the default limits. Don't know whether this affects dsjob (let us know, please). You can always override on the dsjob command line.

Code: Select all

dsjob -run -warn 0 project jobname
by ray.wurlod
Thu Jun 23, 2005 5:16 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reset multiple instances of job
Replies: 3
Views: 2244

... or a Routine. Algorithm is fairly straightforward.

Code: Select all

Select all jobs
Foreach job
   Select all instances
   Foreach instance
      Determine job status
      If needs resetting
         Then run in reset mode with previous parameter settings
      Endif
   End foreach
End foreach
by ray.wurlod
Thu Jun 23, 2005 5:10 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Timestamp conversion
Replies: 23
Views: 5861

It's probably true that I read the manuals and readme files more thoroughly than most; that's because I have to be prepared to teach this stuff, and answer questions (or at least know where to look). Being able to quote page numbers impresses folk, too. 8)
by ray.wurlod
Thu Jun 23, 2005 5:04 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: best practices
Replies: 5
Views: 1669

The Parallel Job Developer's Guide needs a lot of work before it attains the status of a completely useful manual. Get yourself a copy of the Orchestrate manuals if you really want to know what's going on.
by ray.wurlod
Thu Jun 23, 2005 5:02 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problem with Multi Lingual Data
Replies: 3
Views: 1424

Last time I looked there were some 14 different encodings of Japanese used in industry, that's before you count shift-in/shift-out for switching encodings mid-stream.

The only answer I can give you, therefore, is "the right one". Most times the customer has no idea how their data are encoded.
by ray.wurlod
Wed Jun 22, 2005 11:45 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to check last link status or last stage status
Replies: 5
Views: 1307

If you execute Job1 from a stage variable in Xfm1, then you can use the return value (its exit status) to constrain the output from Xfm1 so that Xfm2 is only triggered if the value is 1 (finished OK) for example. It's a cumbersome method, though, one that would be so much easier using a job sequence...
by ray.wurlod
Wed Jun 22, 2005 11:41 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: '£ ' getting converted to '#'
Replies: 6
Views: 2604

Hash, or "hash sign" or "hash mark".

Nothing whatsoever to do with hashed files. Or hash. Either kind. Saves confusion with the name of the currency.
by ray.wurlod
Wed Jun 22, 2005 11:36 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problem with Multi Lingual Data
Replies: 3
Views: 1424

You can set the NLS maps and locales in job properties to override the project default that was set in the Administrator client. I believe that they can be job parameter references (at least the map names).
by ray.wurlod
Wed Jun 22, 2005 11:33 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Timestamp conversion
Replies: 23
Views: 5861

How about you try it and let US know? Lance is probably asleep as I post.
by ray.wurlod
Wed Jun 22, 2005 11:32 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: best practices
Replies: 5
Views: 1669

This isn't much help - there aren't any. :cry:

There is a class called DataStage Best Practices, but I don't think it ever came out in a PX version. PX best practices are different from server best practices, for a whole lot of reasons.
by ray.wurlod
Wed Jun 22, 2005 11:30 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problem in PL/I Ebcdic File Read Using Parallel Seq Stage
Replies: 11
Views: 7625

You could always extract them using bitwise AND function BitAnd (see page B-4 of Parallel Job Developer's Guide for details)