Search found 15603 matches

by ArndW
Thu Aug 02, 2007 8:51 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DSExecute with sqlplus giving ORA error
Replies: 6
Views: 3624

Most likely it is the environment and some missing oracle settings. Could you add a

Code: Select all

Call DSExecute("UNIX", 'env', CommandResult, SystemReturnCode) 
call to the BASIC code and compare the actual runtime values?
by ArndW
Thu Aug 02, 2007 3:59 pm
Forum: General
Topic: datastage command for environment variable
Replies: 2
Views: 987

Yes, there is. But it depends upon where you wish to get this value. I can't recall the exact function name that you can use in a transform stage, but you will get it shown to you in the drop-down list of functions. You can also shell out to UNIX in many places and retrieve the value there.
by ArndW
Thu Aug 02, 2007 3:56 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Compress dataset files
Replies: 6
Views: 2248

No directly; but you could do a

Code: Select all

orchadmin dump {dataset} | gzip -c > zipfile.gz
by ArndW
Thu Aug 02, 2007 3:52 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Reading an entire row from sequential file
Replies: 3
Views: 1530

Re: Reading an entire row from sequential file

...The rows within the source file have varying lengths and may contain any ASCII value... If the line terminator can be part of the data and is not quoted you really have no means of determining what a "line" consists of. In case like this you usually parse the data in the job according to some ot...
by ArndW
Thu Aug 02, 2007 3:44 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: shell script to convert comp-3( packed decimal) to ASCII
Replies: 2
Views: 1273

Develop - Your company has bought an expensive and powerful tool and now wishes to perform one of the built-in functions via the scripting funciton of the operating system. This is silly! The COMP-3 is a binary coded decimal format that is very easy to convert in most languages. Doing so in script i...
by ArndW
Thu Aug 02, 2007 3:34 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: What is purpose of $APT_RECORD_COUNT and $OSH_PRINT_SCHEMAS?
Replies: 2
Views: 1807

I know those two are documented in the Programmer's or Advanced Programmer's guide! The APT_RECORD_COUNT variable will, when set, make the actual record counts for all nodes and stages get written to the log file. I've found this quite useful for debugging. The OSH_PRINT_SCHEMAS does the same thing ...
by ArndW
Thu Aug 02, 2007 5:49 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Data Become truncated while exporting from ODBC
Replies: 12
Views: 2047

I am sure that the truncation is coming from your job or table definitions and an implicit conversion and not from a bug. Just a thought - do you have NLS enabled (i.e. a double-byte or multi-byte system)?
by ArndW
Thu Aug 02, 2007 5:38 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job hangs for apparently no reason
Replies: 8
Views: 1499

Glad to hear that you are making progress! Remember that you don't need to explicity use IPC stages if you enable interprocess row buffering
by ArndW
Thu Aug 02, 2007 2:09 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problem with ODBC stage
Replies: 2
Views: 1187

There is an active thread with the same topic going on right now.
by ArndW
Thu Aug 02, 2007 2:03 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job hangs for apparently no reason
Replies: 8
Views: 1499

Make a copy of the job, delete everything after the Link Collector and replace it with a sequential file stage and see what happens.
by ArndW
Thu Aug 02, 2007 1:35 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job hangs for apparently no reason
Replies: 8
Views: 1499

What is the link collector output stage - that is more likely to be the cause of a hung condition.
by ArndW
Thu Aug 02, 2007 1:24 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Low Value Handling
Replies: 8
Views: 1934

Ray caught my misteak <sic>; I posted the wrong function
by ArndW
Thu Aug 02, 2007 12:55 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Data Become truncated while exporting from ODBC
Replies: 12
Views: 2047

I infer from your post that you have ensured that the actual data is 6 character - what if you put a

Code: Select all

SELECT '*' + cast(inst_month as varchar(5)) '*' as inst_month from YourTable
into your job?
by ArndW
Thu Aug 02, 2007 12:45 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Low Value Handling
Replies: 8
Views: 1934

sas - please try to output the value of char(In.Column[1,1]) into a peek stage.. what is the value?
by ArndW
Wed Aug 01, 2007 11:21 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Data Become truncated while exporting from ODBC
Replies: 12
Views: 2047

If you do a "view data" on your ODBC stage does the data show as truncated already? If not, then I would suggest you check your dataset schema to see if it really is CHAR(6) and not something smaller.