Search found 53125 matches

by ray.wurlod
Fri Nov 25, 2005 12:37 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Date Format
Replies: 2
Views: 826

Close, but no cigar. What do you want to do with the time portion?

Convert() is slightly more efficient than Change(), or you can use multiple conversion.

Code: Select all

Oconv(Iconv(InLink.TheDate, "DYJ"), "DYMD[4,2,2]":@VM:"MCN")
by ray.wurlod
Fri Nov 25, 2005 12:34 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Hash file, reading and writing in same job
Replies: 10
Views: 3579

The lock is only set if the lookup fails. It "expects" that that key is about to be written. Just good database practice; prevents lost updates.
by ray.wurlod
Fri Nov 25, 2005 12:30 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Reg: NLS Setting
Replies: 4
Views: 1267

I don't believe that DataStage uses the NLS_LANG environment variable at all, but am happy to be proven wrong. I know you can't access Oracle data without NLS_LANG set, presumably other databases have a similar issue. Some also require LANG or LANG_C also to be set.
by ray.wurlod
Fri Nov 25, 2005 12:24 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Writing to a FILE using command in DataStage Administrator
Replies: 6
Views: 2574

COMO stays on because the COMO file name is recorded in the printer shared memory segment for the agent process (dsapi_slave) associated with the connected Administrator client. I actually prefer DIVERT.OUT to COMO command, since it doesn't restrict you to the &COMO& sub-directory, and lets ...
by ray.wurlod
Fri Nov 25, 2005 12:22 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Call a DS job from shell script
Replies: 4
Views: 1361

One thing that's not totally clear (unless you read the entire manual entry) is that you place one -param option for each parameter (not one -param option for the entire command). You can have as many -param options as you require.
by ray.wurlod
Fri Nov 25, 2005 12:19 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: source program in external source stage
Replies: 3
Views: 842

No. The stage picks up its source from stdout of whatever command is executed. There ought to be no file involved (unless, as I did, you employ a shell script).
by ray.wurlod
Fri Nov 25, 2005 12:18 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Oracle Enterprise Stage
Replies: 4
Views: 1729

Welcome aboard! :D Things like this don't "just happen" - something has been changed, probably on the PC. Let us know what was changed, and we may be able to offer more targeted advice. For example, was a new service pack applied? What exactly is the operating system on the client? Can you select th...
by ray.wurlod
Thu Nov 24, 2005 3:31 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Can't handle the 7 digits figure???
Replies: 14
Views: 4463

If you don't know it probably isn't relevant. EBCDIC and ASCII are two different ways (encodings) for representing characters in computers.
by ray.wurlod
Thu Nov 24, 2005 3:28 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Error while accessing unidata db through unidata stage
Replies: 6
Views: 1724

The burning question is: does the UniData table contain multivalued KEY columns? I don't believe the UniData stage can cope with these out of the box. There are configuration parameters that can affect this behaviour.
by ray.wurlod
Thu Nov 24, 2005 3:26 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to Join the multiple Database sources
Replies: 5
Views: 1318

In server jobs you use the Transformer stage with one stream input link and other reference input links. The stream input link is delivered a stream of rows from one data source (some joins may have been performed there). Each reference input link connects to another data source and is provided with...
by ray.wurlod
Thu Nov 24, 2005 3:23 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Sending mail using unix reading from a flat file
Replies: 1
Views: 664

Welcome aboard! :D

There are many ways to do this. Explore your repository - you will find there a routine called something like "sendmail tester". You can adapt this to your requirements quite easily.
by ray.wurlod
Thu Nov 24, 2005 3:22 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Sheduling tools for Datastage
Replies: 7
Views: 1781

cron and at are free. They're part of UNIX. That's the only advantage. Other than that it really doesn't matter. A third-party scheduler may fit the enterprise's other scheduling requirements better, but it's not an issue for DataStage.
by ray.wurlod
Thu Nov 24, 2005 3:20 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Hash file, reading and writing in same job
Replies: 10
Views: 3579

Disabled, lock for updates.

This sets a record level update lock if the key is not found, on the assumption that you're going to write that key into the hashed file.
by ray.wurlod
Thu Nov 24, 2005 3:18 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Read value in from SQL Server in Routine
Replies: 4
Views: 1949

Use ExecDOS if on a Windows platform. If you're writing for an unknown platform, then you would be better to create your own before/after subroutine. SUBROUTINE ExecOS(InputArg, ErrorCode) * Test whether operating system is Windows or UNIX using System(91). * Command variable include...
by ray.wurlod
Thu Nov 24, 2005 3:13 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem related with job sequence
Replies: 6
Views: 1545

There are many possible answers. Possibly the simplest is to interpose an Execute Command activity to invoke the test -z filename command. Thanks for suggesting a solution, we are unble to find where to execute this command? and what value does this command retuns? and after returning the value how...