Search found 90 matches

by dls
Fri Aug 19, 2005 12:44 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Number of days between two dates.
Replies: 17
Views: 10424

Where's a mainframe when you need one? :P
by dls
Fri Aug 19, 2005 11:46 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Number of days between two dates.
Replies: 17
Views: 10424

I hope I'm not adding to the confusion. If I had access to DS390 and the mainframe, I would confirm whether or not that this date arithmetic can be done in the Transformer stage. I'm paraphrasing from the DS390 documentation....... If the default date format specified in project or job properties is...
by dls
Fri Aug 19, 2005 6:34 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Count of populated columns
Replies: 5
Views: 1311

What's wrong with using stage variables?

In your case, it seems appropriate.
by dls
Thu Aug 18, 2005 7:19 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to run a mainframe job
Replies: 5
Views: 1509

The short answer is , yes; you'll need to upload the generated source code and JCL to the MF.

If you're going to continue to develop with DS390, you'll need some training.
by dls
Thu Aug 18, 2005 6:43 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Number of days between two dates.
Replies: 17
Views: 10424

I'm curious.

Did you try what I suggested? I.e.:

What is the result when you derive DAYS_DIFF as:

CAST('2005-01-01' AS DATE) - CAST('2004-12-01' AS DATE)
by dls
Tue Aug 16, 2005 8:11 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Number of days between two dates.
Replies: 17
Views: 10424

I don't have access to mainframe and DS390.

What is the result when you derive DAYS_DIFF as:

CAST('2005-01-01' AS DATE) - CAST('2004-12-01' AS DATE)
by dls
Thu Aug 11, 2005 7:11 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Number of days between two dates.
Replies: 17
Views: 10424

In case you want to do the date arithmetic in DS390, you should become familiar with the CAST functions.

E.g., cast the dates as integers. The difference will be the number of days.
by dls
Thu Aug 11, 2005 11:57 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Extract data from Mainframe into DB2
Replies: 3
Views: 1446

There are lots of scenarios. Is this one an option :?: :

1. Use a MF utility to 'unload' the data to a sequential file.

2. Transfer the sequential file from MF to Unix.

3. Transform and load on server.
by dls
Wed Apr 06, 2005 1:06 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Testing CHAR fields for numeric value in DS390
Replies: 1
Views: 1024

Testing CHAR fields for numeric value in DS390

I have a source field defined as PIC X(4). I expect to receive values like (where b = SPACE): '0.25' '1.00' '+1.0' '-0.5' 'bb.8' 'b.5b' My target column is defined as DECIMAL(3,2). DS390 performs the CHAR to DECIMAL move correctly, as long as the the field is a combination of leading/trailing spaces...
by dls
Tue Mar 29, 2005 1:03 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DS390 Lookup
Replies: 0
Views: 376

DS390 Lookup

I have a job design for which the generated code will not bind/compile. :( The SQLCODE is -134. The problem DBRM statement is the SQL generated for a lookup based on the equality of a host variable and a (reference table) column that are both defined as VARCHAR(350). Apparently, DB2 restricts host v...
by dls
Mon Feb 21, 2005 1:05 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: writing a routine in datastage mvs
Replies: 11
Views: 4375

I guess I spoke too soon. Although the 'IS DATE' function is available in v7.5, it is both undocumented and unreliable (see case G65511).

Never mind.
by dls
Thu Feb 17, 2005 7:58 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: writing a routine in datastage mvs
Replies: 11
Views: 4375

On the same topic.... Srikie, use of the 'IS DATE' construct in your transformer or business rule stage might satisfy your date validation requirements, instead of calling an external routine. I have a related problem that you all may be able to help with. We're running v7.5 and experiencing random ...
by dls
Wed Nov 17, 2004 1:51 pm
Forum: IBM QualityStage
Topic: Quality Stage and DS
Replies: 14
Views: 9337

Installing and configuring the QualityStage Plugin should probably be straight-forward, but I've been working at it for a couple of days now. E.g., I had a bit of trouble just starting the QSRT Manager. Don't assume that port 6010 has been registered/reserved. The QualityStageMetadata Plugin works a...
by dls
Fri Jul 09, 2004 6:59 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Is there any in built function compare the values in a col
Replies: 9
Views: 3695

NEO, Craig's recommendation to use sort -u should apply in your case, as well. Your sort involves two(2) key fields instead of one(1).

-Dave
by dls
Tue Sep 09, 2003 5:38 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Error in transformer
Replies: 4
Views: 1033

Prem, I experienced the same problem.

I attributed it to 'automatic' LOADMODE with an Oracle9i target.

I'm running DS v6.0r3 on Solaris 2.8.

When I changed LOADMODE to 'manual', the job ran to completion.