Search found 53125 matches

by ray.wurlod
Fri Dec 05, 2008 10:31 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Parsing Multi-Length Strings
Replies: 1
Views: 935

Code: Select all

Field(InLink.TheString, ".", 1, 1)
If there's no "." the Field() function will return the entire string.
by ray.wurlod
Fri Dec 05, 2008 3:24 pm
Forum: General
Topic: change datatype
Replies: 3
Views: 1248

Not necessarily. Implicit conversions work only when there can be no ambiguity. For example there is no ambiguity in integer to string, because every integer can be represented as a string. The reverse is not true, however, because not every string can be represented as an integer. Therefore an expl...
by ray.wurlod
Fri Dec 05, 2008 3:19 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to find the max of a Timestamp field
Replies: 8
Views: 9634

I suspect you're using Integer as the data type and getting overflow. A date in the future ought not to generate a negative timet. Try using dfloat as the data type.
by ray.wurlod
Fri Dec 05, 2008 3:15 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Issuewith OracleEnterpriseStage-fast Oracleloader technology
Replies: 7
Views: 2159

Nothing more? There's usually a summary at the end of what occurred. Is there a "bad" file in the same location? Are you certain you haven't posted the CTL file?
by ray.wurlod
Fri Dec 05, 2008 3:13 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Shift one byte to right
Replies: 6
Views: 1319

Hey, come on. That is totally not the original question. Have you wasted our time here? It's a new question: please begin a new thread for it.
by ray.wurlod
Fri Dec 05, 2008 3:07 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Retrieving Identity Column values from DB2/UDB
Replies: 11
Views: 8732

Why not just insert a row that does not mention the identity column? This will force the database to create the next value in that column. You don't really need to retrieve the value.
by ray.wurlod
Fri Dec 05, 2008 3:03 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to use EtlStats recursively?
Replies: 3
Views: 1443

With EtlStats you get all source code, so you should be able to modify it to do what to ask. I don't believe treewalking a nested hierarchy of job sequences is possible out of the box, but it ought not to be that difficult to do. But you will need to make decisions about which run of a job that migh...
by ray.wurlod
Fri Dec 05, 2008 3:00 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Datastage Certification
Replies: 1
Views: 846

There is no certification for server edition, and currently none planned.
by ray.wurlod
Fri Dec 05, 2008 2:59 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: how to release adatastage job,which is locked
Replies: 5
Views: 1507

Never, ever kill a DataStage process with End Task. You can use Cleanup Resources from Director or the DS.TOOLS menu on the server. Configure the deadlock daemon (dsdlockd) to run; this will automatically clean up locks held by defunct processes. You can also (as administrator) invoke dsdlockd -p (i...
by ray.wurlod
Fri Dec 05, 2008 2:56 pm
Forum: General
Topic: Syntax error in Modify stage
Replies: 3
Views: 1262

NullToValue() is a function for the Transformer stage. It is an error in the Parallel Job Developers Guide that this function is for the Modify stage. The correct function is handle_null() which you can read about in the Orchestrate Operators manual. This can be had for the asking (ask for "OEM...
by ray.wurlod
Fri Dec 05, 2008 2:52 pm
Forum: General
Topic: change datatype
Replies: 3
Views: 1248

All the functions should be in the Parallel Job Developers Guide chapter concerning the Modify stage. There are some errors in this chapter but none, as far as I am aware, relating to the type conversion functions. A more accurate document is the Orchestrate Operators guide, which can be had for the...
by ray.wurlod
Fri Dec 05, 2008 4:40 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: ecom_order_proj_dtl_SRC_SEL,0: Fatal Error: Virtual data set
Replies: 4
Views: 1939

Re: Metadata is propere

balu_infotech wrote:source to target mapping is propere .this job is runing on daily bases.yesterday job got aborted ,perviouly it is working fine
So what has changed? Tip: "nothing" is not the correct answer.

As I already advised, check the data.
by ray.wurlod
Fri Dec 05, 2008 4:39 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Stage Variable Declare
Replies: 6
Views: 1196

How is this new question different from this question?

Do you have any idea how annoying being asked the same question multiple times is?
by ray.wurlod
Fri Dec 05, 2008 1:00 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Getting error when putting WRITESEQ in For Loop
Replies: 4
Views: 1065

In the Then clause of the WriteSeq statement in your code.

Code: Select all

OpenSeq <File_Name> to var1 

For i=1 to 2 
WriteSeq i to var1 
on error Call<> 
Then Next i               ; * first Next statement
Else CloseSeq var1 

Error: 
Next i       ; * second Next statement
by ray.wurlod
Fri Dec 05, 2008 12:15 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Getting error when putting WRITESEQ in For Loop
Replies: 4
Views: 1065

You have one loop but two Next statements. That's why the compiler did not expect the second Next statement. Prefer to code something like the following. OpenedOK = @FALSE OpenSeq ... To var1 Then OpenedOK = @TRUE WeofSeq var1 ; * truncate file if it exists End Else OpenedOK = (Status() = 0) End If ...