Search found 53125 matches

by ray.wurlod
Sun Aug 14, 2005 4:08 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DSSqlLdr?
Replies: 5
Views: 1157

It's not in the Manager or in the VOC file for 7.5x2. What is the date/time modified on theirs, and what is the date/time modified for one of the "supplied" routines? In passing, I do note that there are two new supplied before/after subroutines (well, I haven't explored in there for some while) cal...
by ray.wurlod
Sun Aug 14, 2005 4:04 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Routine to lookup with two keys
Replies: 6
Views: 1186

The graphical user interface looks just the same, but there's a UV stage on the start of the dashed arrow. Within the Transformer stage, however, you will now find a check box to allow multiple rows to be returned. Search on-line help or this forum to learn more about multiple rows being returned fr...
by ray.wurlod
Sun Aug 14, 2005 4:00 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DELETE.FILE for some files
Replies: 10
Views: 2392

How are you trying to "use" Select List #0 ? SELECT VOC WITH @ID LIKE ...TMP... At this point Select List #0 is "active", the prompt changes to >> to indicate this. The DELETE.FILE command will use an active Select List, so all you need is DELETE.FILE Beware that it doesn't ask "are you sure", so be...
by ray.wurlod
Sat Aug 13, 2005 10:36 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: HOW TO DIVIDE A NAME INTO FIRST NAME ,LAST NAME
Replies: 4
Views: 880

The ideal stage type is a QualityStage stage that invokes a QualityStage STAN (= standardization) job using the appropriate name rule set (e.g. USNAME for USA, AUNAME for Australia, GBNAME for Great Britain, and so on). This will bucket the name into title, name prefix, main name, given names, name ...
by ray.wurlod
Sat Aug 13, 2005 6:33 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Routine to lookup with two keys
Replies: 6
Views: 1186

Why aren't you using a Hashed File stage? If you're doing everything in code then you've wasted the rather large cost of DataStage.
by ray.wurlod
Sat Aug 13, 2005 6:32 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Validate command
Replies: 3
Views: 745

The second argument of DSRunJob specifies the run mode; normal, validate or reset. The result is always retrieved using DSGetJobInfo; in this case with a second argument of DSJ.JOBSTATUS. For the current job you can also use the DSJobStatus macro. A validation run will result in a status of one of D...
by ray.wurlod
Sat Aug 13, 2005 6:29 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Hash File Number of Rows
Replies: 10
Views: 1882

Open the Hashed File stage (note that it's hashed file, not hash file). The name of the hashed file is a property of the input or output link.
by ray.wurlod
Sat Aug 13, 2005 6:27 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: check for a particular row existing in the incoming file
Replies: 2
Views: 736

A much better solution is to check for this before processing the file, not least because you will end up doing a lot less processing. Use the UNIX command tail -1 filename to report the last line of the file, and use something like grep ^999 to determine whether the line begins with 999. Pipe the o...
by ray.wurlod
Sat Aug 13, 2005 6:21 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Help to perfom Vertical Pivot
Replies: 6
Views: 1327

There's no stage for performing a vertical pivot (which is what you are asking for). Search the forum for "vertical pivot"; you should get at least two techniques, each involving an intermediate passive stage.
by ray.wurlod
Sat Aug 13, 2005 6:18 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: job parameters in job control code
Replies: 2
Views: 681

If you want to make it pellucid, specify DSGetParamInfo() explicitly. InputFileName = DSGetParamInfo(DSJ.ME, "input_file", DSJ.PARAMVALUE) OpenSeq InputFileName To FileVariable... You should always specify a LOCKED clause with OpenSeq. Since OpenSeq sets an update lock, you need to...
by ray.wurlod
Sat Aug 13, 2005 6:17 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: concurrent jobs accessing hash lookup for reading &updat
Replies: 2
Views: 869

Do NOT use read cache or write cache, and ensure that every read from the hashed file has "lock for update" set. Under these circumstances you will not experience any concurrency issues.
by ray.wurlod
Sat Aug 13, 2005 6:12 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: max date of month
Replies: 4
Views: 1277

kumar_s, would you care to share your solution, in particular with proof that it handles leap years correctly (2000 is a leap year, but 1900 and 2100 are not)? Remember, too, that this is the forum for parallel jobs, so an expression suitable for a parallel Transformer stage is required.
by ray.wurlod
Fri Aug 12, 2005 6:06 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: SQL errors not captured or Displayed in Director
Replies: 3
Views: 983

Add an extra Transformer stage just ahead of the ODBC stage. Create a reject output from this Transformer stage. Rows will go down this link if they are rejected by SQL Server. In addition to the original data rows you can create extra diagnosic columns on the reject link. The can be populated with ...
by ray.wurlod
Fri Aug 12, 2005 6:01 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problems with SQL_SUCCESS_WITH_INFO in DB2
Replies: 3
Views: 972

I vaguely recall that there's an option in the ODBC driver configuration that allows SQL_SUCCESS_WITH_INFO messages to be suppressed.
Try searching on the forum or ADN, can't recall whether this has been posted before.
by ray.wurlod
Fri Aug 12, 2005 5:59 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Production data extarction issue
Replies: 6
Views: 1199

The boredom can be relieved somewhat by creating a job template with all the stage types, links and job parameters already in place. All that's required is to import then load the table definitions.