Search found 53125 matches

by ray.wurlod
Tue Nov 11, 2003 2:08 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Insert failure.
Replies: 2
Views: 1811

This one usually means that the value being passed into the INSERT via a parameter marker doesn't fit. For example you're trying to insert 15 characters into a Char(10) column, a number larger than 64K into a SmallInt, or something like that. Either make the column wider, or have your ETL job trunca...
by ray.wurlod
Tue Nov 11, 2003 2:06 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Congratulations
Replies: 9
Views: 3795

Congratulations

Congratulations to the Bland family on the recent arrival of their new baby (noted buried in one of the posts in this Forum).
:D
by ray.wurlod
Tue Nov 11, 2003 2:01 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How a Case Statment works in DS
Replies: 12
Views: 2279

When a CASE construct is compiled it generates exactly the same code as the equivalent nested IF construct. I expect, therefore, if your conversion is exact, that you will still get the same result. And, thus, will need to re-examine your actual logic. Only the first CASE in a CASE construct for whi...
by ray.wurlod
Tue Nov 11, 2003 1:54 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: os command for running jobs
Replies: 3
Views: 1530

Typing in incomplete dsjob commands generates a usage syntax. For example, try dsjob alone, and dsjob -run.
by ray.wurlod
Tue Nov 11, 2003 2:24 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Data Stage Job Scheduling Framework
Replies: 2
Views: 1179

I have implemented many of these in BASIC, and it's NOT necessary to leave the controlling job running indefinitely. In fact, in every single site where I've done this, the job runs until 23:30 and shuts down. It is scheduled to re-start at 23:45 (subject to other control factors) and can be started...
by ray.wurlod
Tue Nov 11, 2003 2:15 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Triggering a Job Using C code
Replies: 3
Views: 918

Yes.

dsjob began life as an example of how to use the DataStage C API.

Check it out in Server Job Developer's Guide.
by ray.wurlod
Tue Nov 11, 2003 2:12 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Best way to strip CR/LF pairs from long text strings?
Replies: 5
Views: 1557

... but only with dots! :)
by ray.wurlod
Mon Nov 10, 2003 8:12 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Best way to strip CR/LF pairs from long text strings?
Replies: 5
Views: 1557

The EREPLACE function (or its approximate equivalent, CHANGE) can be used in an expression. For example: EREPLACE(TheLongString, CHAR(13):CHAR(10), " ", -1, 0) In this example, I've replaced each CRLF pair with a single space. A TRIM function could be used to reduce...
by ray.wurlod
Mon Nov 10, 2003 8:07 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Date comparison when date is key column
Replies: 2
Views: 946

The two dates, whether from different sources or the same source, must be in compatible format. It does not matter what this format is, provided that it is compatible! You do need to be aware, however, of implicit conversion, for example if you set the Data Element to Date and you use an ODBC stage.
by ray.wurlod
Mon Nov 10, 2003 8:02 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Schedualed Export Failed in case job/s is/are locked
Replies: 3
Views: 740

It is always unwise to release locks unless you know it's safe to do so. Why do you think they are there? Being unable to export a locked component is expected behaviour; the component is potentially in the middle of being changed. It is only safe to UNLOCK the lock if you can be 100% certain that t...
by ray.wurlod
Sat Nov 08, 2003 4:00 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Passing parameters in Job sequencer job
Replies: 8
Views: 1680

There's nothing really different than passing parameters to one shell script from another. Put them on the command line in the caller, and refer to $1, $2 and so on in the called script. One minor gotcha (search the archives of this Forum) is that ExecSH or DSExecute has been known to strip quotes.
by ray.wurlod
Sat Nov 08, 2003 3:55 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Two Pet Peeves
Replies: 10
Views: 2411

Nah, it was just that there were a lot of them in today's reading. The pint sounds like a nice idea though! Mine's a Guinness.
by ray.wurlod
Sat Nov 08, 2003 3:53 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Number of rows in a Hash file
Replies: 2
Views: 1020

Re: Number of rows in a Hash file

Hi, How can I find out the number of rows present in a hash file Can any body help me out in this:?: Thanks in advance Girish Oak Use the Administrator client's Command window, or a telnet session. Execute either of the following commands. COUNT hashedfilename SELECT COUNT(*) FROM hashedfil...
by ray.wurlod
Fri Nov 07, 2003 5:39 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Two Pet Peeves
Replies: 10
Views: 2411

Two Pet Peeves

Can folks please learn correct English? In particular, can you be more careful with "ITS" (versus "IT'S") and "LOOSE". It's "it's" only when it's "it is", otherwise it's "its" (with no apostrophe) when it's a possessive pronoun. "Lose" and "loose" are very different verbs. Please consult dictionary.
by ray.wurlod
Fri Nov 07, 2003 5:27 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DataStage server version plus ?
Replies: 4
Views: 1261

Did you also purchase DataStage XE/390? This provides you with a similar design paradigm, but instead of generating BASIC programs to be run on the DataStage server, it generates COBOL (and JCL for compiling and running it). Thus all processing can be done in the OS/390 environment. DataStage XE/390...