Search found 15603 matches

by ArndW
Wed Jul 22, 2009 12:42 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to base 64 (Base64) an ASCII string
Replies: 2
Views: 1633

How "bad" would it be to put a BASIC transform stage in your parallel job or do this particular job as a server one? The function "OCONV(In.BinaryCCNumber,'MX0C')" does this for you, but doesn't exist in PX jobs.
by ArndW
Wed Jul 22, 2009 12:25 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: OCI_INVALID_HANDLE with NLS Mapping
Replies: 14
Views: 8019

As Ray has already stated, are you sure that your selected character sets are correct? Is the arabic data in your source perhaps already stored correctly and by trying to convert from Russian to Arabic you are actually corrrupting the data?
by ArndW
Wed Jul 22, 2009 12:23 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: OCI_INVALID_HANDLE with NLS Mapping
Replies: 14
Views: 8019

And what value was that character (again in HEX) in the source?

0x20 3F isUndertie in Unicode.
by ArndW
Wed Jul 22, 2009 12:06 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Datastage Routine error - URGENT
Replies: 3
Views: 1747

kpsita - welcome to DSXChange. "Urgent" problems should be directed to your support provider. This is an all-volunteer site and usually posts titled "Urgent" or "Immediate help required" or similar are ignored for a while before being responded to. The condition "I...
by ArndW
Tue Jul 21, 2009 10:01 am
Forum: General
Topic: String search
Replies: 3
Views: 1151

The function Index(In.HIST_ID HISTORY ,"H",1) will return a 0 if there is no "H" in the string or the starting position if it exists. No errors are returned.
by ArndW
Tue Jul 21, 2009 9:29 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: NLS Warning
Replies: 1
Views: 683

Set your NLS_LANG to "AMERICAN_AMERICA.WE8ISO8859P1"
by ArndW
Tue Jul 21, 2009 9:26 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Multiple of file handling
Replies: 11
Views: 3921

With "ls -f" you get a long string returned, each file name separated by commas. The BASIC function 'DCOUNT(string,",")' gives you the total number of fields in the string, then you iterate through the numbers and do 'FIELD(string,",",iteration) to extract the appropria...
by ArndW
Tue Jul 21, 2009 8:59 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job Run delayed
Replies: 2
Views: 1865

Identify which UNIX process is running the sequence and, while it is "hanging" use the UNIX "truss" command to see what, if anything, it might be doing. This generates a lot of output, but important is to see if it is actually doing stuff (like seeks) or waiting (sleep).
by ArndW
Tue Jul 21, 2009 8:18 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem with dsjob command...
Replies: 7
Views: 2447

Don't redirect your errors to /dev/null, redirect them to a file and see if any messages are in that file after the run.
by ArndW
Tue Jul 21, 2009 7:57 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: OCI_INVALID_HANDLE with NLS Mapping
Replies: 14
Views: 8019

Best use a tool which shows you the hex values for each character. "?" could be either a real question mark or it could mean an undisplayable character (using the session's NLS settings). What is the HEX or Decimal value of the first '?' character in the string?
by ArndW
Tue Jul 21, 2009 5:39 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: OCI_INVALID_HANDLE with NLS Mapping
Replies: 14
Views: 8019

Re: OCI_INVALID_HANDLE with NLS Mapping

userasif wrote:...If I use NONE for NLS Mapping for source stage then job finished is OK but data is not in Arabic form...
Just to be certain, how do you determine that the output isn't correct? Do not use the "view data" functionality to do this.
by ArndW
Tue Jul 21, 2009 5:02 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: lookup Failed !!
Replies: 15
Views: 4615

Debug your job and find exactly 1 value which is being used for a lookup and manually check wether this key exists in the hashed file. Remember, this is case sensitive and space sensitive (i.e. "Hi there" is not identical to "Hi there ").
by ArndW
Tue Jul 21, 2009 5:00 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Fault Type 11
Replies: 18
Views: 6517

I should be more explicit, since this is part of the crux of the matter. Can you do a "view data" in the Designer on the DB2 source stage and see sample data? If yes, then the problem lies on your output stage, writing to SQL server. If you replace your ODBC output stage with a dummy seqeu...
by ArndW
Tue Jul 21, 2009 3:01 am
Forum: General
Topic: Difference between a .dsx file and .xml file
Replies: 6
Views: 3204

I cannot think of such a scenario. The .xml format was most likely implemented so that DataStage could boast being "open" and that it uses a common interchangeable format.
by ArndW
Tue Jul 21, 2009 2:20 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Oracle Enterprise stage for Datastage 8.1
Replies: 2
Views: 4750

Re: Oracle Enterprise stage for Datastage 8.1

...Connect failed: ORA-12541: TNS:no listener This means that the SID name used is not correctly specified in your tnsnames.ora file. Before trying to test with datastage, use the UNIX sqlplus command to connect to the Oracle database, once that works you should not have problems within DataStage.