Search found 42189 matches

by chulett
Thu Aug 18, 2005 3:30 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Discovering Where Hashed Files are used
Replies: 10
Views: 4717

Problem is the Usage Analysis data is easily broken so things don't link up properly. Also, if people don't pull the metadata from the repository and just type it in for instance, there is no linkage. Something to keep in mind. I use Chuck's job to farm this information from an export and then I loa...
by chulett
Thu Aug 18, 2005 3:26 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: oracle sequences in Datastage
Replies: 8
Views: 7301

Two columns and Column Generated sql. First one is marked as a Key column and its derivation is "1". Second one is a non-key column with seqname.nextval as the derivation. Put in dual as the table name. Do not add anything in the where clause. You'll end up with something like this: SELECT 1, my_seq...
by chulett
Thu Aug 18, 2005 11:55 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Discovering Where Hashed Files are used
Replies: 10
Views: 4717

Where's Chuck when you need him? :wink:

To quote Mr Smith:

Try my List all files and tables used by jobs in a dsx file tool.

You will find it on the DataStage Tools page of www.anotheritco.com
by chulett
Thu Aug 18, 2005 7:04 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Sequential INPUT page what i have to choose
Replies: 2
Views: 630

In other words, just type something in. :wink:
by chulett
Thu Aug 18, 2005 7:01 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Issue with source tables which are read only.
Replies: 5
Views: 1626

It shouldn't be an issue. :?

Is there a way to not have it think it's transactional work? For example, in the OCI stages you can change the Transaction Isolation property from 'Read Commited' to 'Read-Only' - is there an equivalent in whatever stage you are using?
by chulett
Thu Aug 18, 2005 6:56 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: upgrade from 5 to 7.5 and from Windows to Linux
Replies: 1
Views: 610

Comes with the product... document is called something along the lines of the Installation and Upgrade Guide oddly enough. Make sure you order the 7.5 media and read the one from that version. In a nutshell, the process should be as simple as: 1. Export all of your current jobs 2. Install 7.5 on the...
by chulett
Wed Aug 17, 2005 6:42 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: C Stage PlugIn function "Get" required
Replies: 7
Views: 2518

Do you mean this error appear because the SAP pack used is not paid ? No... Roy is just trying to find out who might best be able to help you. Those kind of errors usually mean the stage hasn't been configured correctly. Can't help specifically on SAP as I haven't used it, but I've seen it before u...
by chulett
Tue Aug 16, 2005 1:02 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: ds_uvput() - Write failed for record id '<Missing or NULL
Replies: 1
Views: 1776

You are writing records with null key fields to a hash file, and that is a Bad Thing.
by chulett
Tue Aug 16, 2005 6:11 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Only create reject files if there is data
Replies: 4
Views: 1110

It takes no time at all to write empty files, so 'quicker' to just append? I don't think so. Better? Perhaps... that's up to you and your job designs.

If you choose to append, make sure you understand that only one process can be writing to a sequential file at any given time!
by chulett
Tue Aug 16, 2005 6:06 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: No Descriptor for this position
Replies: 4
Views: 1280

First suggestion would be to not use User Defined SQL for things like this, it's hardly ever necessary as the derivation field (and switching to Column Generated) can handle sql like this. If you insist on rolling your own, at least try the other first so that you can see what the stage generates - ...
by chulett
Tue Aug 16, 2005 5:49 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DSSetParam Problem
Replies: 3
Views: 1981

If you stick with the 'Timestamp as a String' approach, don't forget the seconds! :wink:
by chulett
Tue Aug 16, 2005 5:43 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Only create reject files if there is data
Replies: 4
Views: 1110

Opening and closing the Sequential File stage creates the file. Writing no rows to it in the job means it will be empty when the job finishes. If that's really a concern, you could write something to delete them 'after job' if they are empty.
by chulett
Tue Aug 16, 2005 5:39 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Fmt() in Parallel
Replies: 2
Views: 1077

Yes and no. FMT is a Server function and Server functions / routines are available in a PX job via the BASIC Transformer. However, there are a number of caveats to using the BASIC Transformer in a parallel job, so your best bet is to learn the PX equivalents and stick with those.
by chulett
Mon Aug 15, 2005 10:26 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: BASIC Routine to Convert datatype
Replies: 3
Views: 1267

The Num() function checks to see if something is numeric or not... interesting that the answer it returns for you is 0, aka false. In BASIC, doing math on a string does an implicit conversion so the typical trick is to multiply the field by 1. Not sure how well this all plays out in a Parallel job.
by chulett
Mon Aug 15, 2005 3:27 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Deleting the rows
Replies: 6
Views: 1178

Why not just write a sql script to do this? Not every nail has to be whacked with the DataStage job hammer.