Search found 15603 matches

by ArndW
Tue Jun 29, 2010 4:16 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Tmestamp to date conversion
Replies: 6
Views: 1625

Binary data types such as numbers, dates and timestamps have no internal format. Formatting is applied only when converting from another data type on input or output. So the important question is what is your output (sequential file or database) and what is the datatype defined as in the target. Not...
by ArndW
Tue Jun 29, 2010 3:11 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: ODBC Connector hangs for Dynamic Query
Replies: 5
Views: 1389

I'm not sure I understand what you are doing. Have you declared any output columns from the connector? You stated that it hangs for a long time - what message do you see after that time?
by ArndW
Tue Jun 29, 2010 2:43 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: MKS Toolkit "Named Pipes" and RCP
Replies: 8
Views: 2278

Sainath - BINGO, I hadn't thought of that approach and I think that your recommendation will work for us here. Thanks.
p.s. No help from MKS support yet, it seems that the only way to use named pipes is to program them from c.
by ArndW
Tue Jun 29, 2010 2:33 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: VarChar Memory Usage
Replies: 14
Views: 7805

I realize that this was a deliberate design decision, but it is counterintuitive that a VarChar() column in DS is internally represented as a Char() field for DataSets and thus I maintain that is an anomaly. I gather that this behaviour was different at releases prior to 7.
by ArndW
Tue Jun 29, 2010 2:29 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How do I store job status information in table?
Replies: 21
Views: 5313

You are correct, Ray. Just force of habit from ye olde UniVerse days which had no DSExecute() call.
by ArndW
Tue Jun 29, 2010 2:28 am
Forum: General
Topic: Running routines concurrently
Replies: 8
Views: 2090

A DataStage job sequence runs as a single process. Parallelility in job execution is achieved by using the asynchronous job run capability of DataStage, i.e. a call to start a job can return to the caller immediately while the job runs in the background. In this case you are not calling jobs but cal...
by ArndW
Tue Jun 29, 2010 2:03 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: VarChar Memory Usage
Replies: 14
Views: 7805

There is an anomaly with Data Sets where a Varchar(nnn) column will use nnn storage space per row regardless of string contents whereas an unterminated string will use allocate just the number of bytes in the string.
by ArndW
Tue Jun 29, 2010 2:00 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Range lookup
Replies: 11
Views: 3359

That is a much better explanation, but you are missing the values for employee 200 in the reference stream - you can omit the employee 100 values since you stated that those work correctly. At least by running with 1 node you eliminated partitioning as the source of you problem.
by ArndW
Tue Jun 29, 2010 1:52 am
Forum: General
Topic: Sort and extract records based on recent date
Replies: 4
Views: 1388

This is not the initial value of the stage variable, but the derivation.
by ArndW
Tue Jun 29, 2010 1:47 am
Forum: General
Topic: How to handle the null values in transformer
Replies: 2
Views: 1030

The topic should be "How to handle null posts in DSXchange" :wink:
by ArndW
Tue Jun 29, 2010 1:44 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How do I store job status information in table?
Replies: 21
Views: 5313

I just read the rest of the program. It won't work at all, there are sevearl problems with it, including that DataStage BASIC has no idea of what commands such as "sqlplus" are... Here is a modified version: JobHandle = DSAttachJob(jobname,DSJ.ERRNONE) Jobstat = DSGetJobInfo(JobHandle, DSJ...
by ArndW
Tue Jun 29, 2010 1:36 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How do I store job status information in table?
Replies: 21
Views: 5313

The "IF-THEN-ELSE" construct functions in that if you have the format "IF (condition) THEN (statement)" then only one statement is executed and you don't need an "END", but your format has the "THEN" at the end of the line, which means that all the statements ...
by ArndW
Tue Jun 29, 2010 1:34 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: NULLABLE FATAL ERROR
Replies: 3
Views: 3559

You should do as suggested and use a modify stage or a transform to convert both source columns to the same nullability in order to avoid this problem.
by ArndW
Tue Jun 29, 2010 1:25 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how do we know when a job was compiled
Replies: 5
Views: 1705

While the DS_AUDIT hashed file contains information on the modification dates and times it doesn't store the compile time, in order to find that when the director log has been purged one would need to look into the appropriate RT_STATUS file - but the file structures for both DS_AUDIT and RT_STATUSn...
by ArndW
Mon Jun 28, 2010 1:12 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: CFF Stage
Replies: 2
Views: 960

What data type does DATE_PROCESSED have in DataStage and what is the COBOL PICture for it?