Search found 53125 matches

by ray.wurlod
Wed May 19, 2004 4:09 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Dynamic Hashed File Overflow
Replies: 4
Views: 1187

When hashed files are empty each group is in one "buffer", the size of which is decreed by the separation parameter (static hashed files) or the GROUP.SIZE parameter (dynamic hashed files). When a group overflows, a secondary group buffer (the same size) is used. In static hashed files this is appen...
by ray.wurlod
Wed May 19, 2004 4:00 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Help to document a project
Replies: 7
Views: 1906

The doc_tool.mdb file is to be found with your DataStage client software in the Documentation Tool folder.
By default (for version 6) this is
C:\Program Files\Ascential\DataStage\Documentation Tool
by ray.wurlod
Wed May 19, 2004 3:51 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: datastage basic looping csv file
Replies: 9
Views: 6762

When you say the Aggregator didn't work, what do you mean? Did it yield incorrect results, or abort?
Did you really understand what I advised?
I put together a small test case here and it worked fine.
by ray.wurlod
Wed May 19, 2004 3:46 pm
Forum: Data Quality Best Practices
Topic: Processing
Replies: 3
Views: 2627

Take the Ascential class.
It takes you through a hands-on project, as well as providing detailed information about what you're doing at each step.
Check out the Education page on the Ascential web site for your region.
by ray.wurlod
Wed May 19, 2004 4:45 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Analyzing a hash file
Replies: 4
Views: 1808

When you're at the TCL prompt you must refer to the hashed file name by its name in the project's vocabulary. Usually this is the same as the entry name - that is, the name of the file in its directory. So, for example, if your hashed file is called Customers and it is in the C:\HashedFiles director...
by ray.wurlod
Wed May 19, 2004 1:24 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Analyzing a hash file
Replies: 4
Views: 1808

It depends on whether you created your hashed file in a project (=account) or in a directory. If they're in a project, you can execute the commands from the TCL prompt ( > ). If they're in a directory, you'll need to include the DataStage Engine bin directory in your PATH environment variable, so th...
by ray.wurlod
Wed May 19, 2004 1:18 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Function
Replies: 8
Views: 2365

... and the Test grid for Routines is a great tool for doing just that! 8)

Folks to whom I teach DataStage classes will recount how I use this technique to help get a feel for the intricacies of Oconv, for example.

Good catch, Vince.
by ray.wurlod
Tue May 18, 2004 7:23 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Function
Replies: 8
Views: 2365

This is an easy task for DataStage's pattern matching capabilities. You need to determine what's between "Mark" and "Jason" and then replace this with the three characters '" "' (a double quote, a space and another double quote). Use the MatchField function to get what's between "Mark" and "Jason". ...
by ray.wurlod
Tue May 18, 2004 4:39 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Current Timestamp
Replies: 2
Views: 2410

Current timestamp in ISO8601 format is given by Oconv(Date(), "D-YMD[4,2,2]"):" ":Oconv(Time(), "MTS:") Substitute system variables @DATE and @TIME for Date() and Time() if you want "current timestamp" as at the start time for the job, in...
by ray.wurlod
Tue May 18, 2004 4:32 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Suppressing the Information in the log
Replies: 2
Views: 726

This has been discussed before, for example here and here.
DataStage philosophy is to log all messages; after all they are generated for some reason!
by ray.wurlod
Tue May 18, 2004 4:27 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Backup HashFile
Replies: 4
Views: 1436

A job that populates a hashed file can take a backup before doing so. On the inputs link to a Hashed File stage there is a check box called "Backup existing file" - click on the Help button for more information. As other posters have noted, because a hashed file exists in the operating system, you c...
by ray.wurlod
Tue May 18, 2004 4:18 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: datastage basic looping csv file
Replies: 9
Views: 6762

Sure can. Don't use DataStage BASIC (though this could be done). Use a DataStage job. SeqFile -----> Aggregator -----> SeqFile In the Aggregator stage, group by OLDPOLID and use the Last (or Max, whichever you prefer and depending on the sorting in the original file) function on NEWPOLID. This job w...
by ray.wurlod
Tue May 18, 2004 4:11 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DS function to change first letter to upcase after a dot (.)
Replies: 7
Views: 2812

You can use the multi-value handling capabilities of DataStage. Parse the string into multiple values based on the dot characters. Apply the multi-valued equivalent of the Oconv function (Oconvs) with "MCT". Parse the value delimiters back into dots. NewString = Convert(".", @VM, OldSt...
by ray.wurlod
Tue May 18, 2004 4:07 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: CDC plug in (CHANGE DATA CAPTURE)
Replies: 6
Views: 2098

If you have the plug-in, you have its manual. Is there anything specific in the manual you need to know more about?
by ray.wurlod
Tue May 18, 2004 4:06 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Difference Between Tow Date
Replies: 4
Views: 1327

See the paper Date Conversion Demystified to learn about conversion of dates using the Iconv and Oconv functions.