Search found 6797 matches

by DSguru2B
Wed Jan 10, 2007 7:50 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: dsjob returns 141, when does this happen?
Replies: 7
Views: 4177

Welcome Aboard.
You need to add -job status somewhere in your dsjob command before giving the Project name. That will return you the true job status.
The possible return codes can be found in the Basic guide (.pdf) or clickhere.
by DSguru2B
Wed Jan 10, 2007 7:40 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Issue storing value from a job
Replies: 3
Views: 791

You have to go about storing it in a file or a dataset. Server jobs have UserStatus areas. PX jobs dont.
by DSguru2B
Wed Jan 10, 2007 7:38 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Unique Sequence Number Generation In DataStage
Replies: 11
Views: 12843

That is why i pointed out Vincent's FAQ entry about generation of keys in a px environment. It takes into consideration the number of partitions and current partition number. Refer to my previous post, it has reference to a link.
by DSguru2B
Wed Jan 10, 2007 7:33 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: creating a composite column
Replies: 6
Views: 1469

Like always, i missed that part in the original post, i have a problem :?
by DSguru2B
Tue Jan 09, 2007 10:59 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Rountine to return delimited list of JOBNO in project
Replies: 25
Views: 6831

The following doesnt work for you Ans = "" cmd="SELECT JOBNO FROM DS_JOBS WHERE NAME NOT LIKE '\\%' SUPPRESS COLUMN HEADING COUNT.SUP;" Call DSExecute("UV", cmd, JobNoList, ReturnCode) If ReturnCode<0 Then Ans=@NULL End Else Ans = Convert(@FM, ",",...
by DSguru2B
Tue Jan 09, 2007 10:43 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: creating a composite column
Replies: 6
Views: 1469

No stage variables. Again use the concatenation method.

Code: Select all

In.Col1:In.Col2:In.Col3

If your Col4 is varchar, nothing more is needed, if its integer then either use AsInteger or StringToInteger() to convert the concatenated string to integer.
by DSguru2B
Tue Jan 09, 2007 10:29 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Error Table, Log table
Replies: 8
Views: 1694

It really depends. On a higher level, Error Table will have the data that created the error and Log Table should be details on why it got rejected and other time information like you said. But it really depends upon whats the "in-house standard".
by DSguru2B
Tue Jan 09, 2007 10:26 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Warning on a decimal field
Replies: 1
Views: 500

Handle situations where the input can be null. Thats what it is complaining.
by DSguru2B
Tue Jan 09, 2007 10:23 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: separating data with hyphens
Replies: 8
Views: 1139

In.Col[1,2]:"-":In.Col[3,2]:"-":In.Col[5,2]:"-":In.Col[7,2]:"-":In.Col[9,2]:"-":In.Col[11,2]:"-":In.Col[13,2] aka Substring Concatenation method.
by DSguru2B
Tue Jan 09, 2007 10:13 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: separating data with hyphens
Replies: 8
Views: 1139

Does it remain constant. Are you always going to get 14 characters or it could be less. If yes then use substring and concatenate.
by DSguru2B
Tue Jan 09, 2007 10:11 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Rountine to return delimited list of JOBNO in project
Replies: 25
Views: 6831

In your above routine use this and get rid of everything after your DSExecute() command.

Code: Select all

Ans = Convert(@FM, ",", JobNoList)
by DSguru2B
Tue Jan 09, 2007 10:05 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: separating data with hyphens
Replies: 8
Views: 1139

Welcome Aboard :)
What is the max number of characters? Do they remain constant. If yes then you can simple use substring() and concatention technique.
by DSguru2B
Tue Jan 09, 2007 9:42 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Date
Replies: 16
Views: 4762

DataStage Help.
by DSguru2B
Tue Jan 09, 2007 8:35 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: lookup with multiple columns
Replies: 31
Views: 8721

Sure. Read a record from your source file, get the first column, find all records that match that col1 in the second file, lets call it dbfile. Now take one row at a time and do check each and every column, if all columns match well and good, write it to your output file, if not then check if the fa...
by DSguru2B
Tue Jan 09, 2007 8:28 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Replace a character in a String
Replies: 7
Views: 11585

No worries Whale, I fell for Ereplace() too. We are all here to learn :wink:
Right Ray ?