Search found 53125 matches

by ray.wurlod
Tue Mar 29, 2005 4:03 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Retrieving Last Run Date Information
Replies: 2
Views: 1074

There's no option for doing this. Either modify the dsjob program (source code in the Developer's Guide manuals) or parse the output of the standard dsjob command.
by ray.wurlod
Tue Mar 29, 2005 4:01 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Numeric Validation
Replies: 7
Views: 1777

After using the Compare() function you need to test its result, rather than that of the Status() function.

Code: Select all

Test = Compare(Arg2, 0, "R")
Ans = (Test = 0)
by ray.wurlod
Tue Mar 29, 2005 3:57 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Warning in Function compilation
Replies: 4
Views: 1770

All arguments are passed by reference, which is why DataStage generates the warnings, "just in case". There is a trick to emulate pass by value; in the caller use an expression rather than a variable. The easiest way to do this is to enclose the variable name in parentheses. This works because it is...
by ray.wurlod
Tue Mar 29, 2005 3:50 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: capture warning message
Replies: 15
Views: 5363

dssendmail_template.txt is in the project directory on the server. You want to customise what DataStage does out of the box; you will need probably to create a job or routine to extract the warnings from the log; for example using a query constrained on severity code. SELECT "TIMESTAMP", &...
by ray.wurlod
Tue Mar 29, 2005 3:38 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to find out the data load in terms of MBs or GBs?
Replies: 3
Views: 1031

is there any in-built mechanism available with DSEE ...
No.
That's why utilities like Kim's are so valuable. :D
by ray.wurlod
Tue Mar 29, 2005 3:36 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: hello parallel extender job sequncer errors
Replies: 1
Views: 916

Welcome aboard! :D The message tells you that the job run under control of the job sequence aborted. The name of this job is probably part of the error message, though you've replaced it with the metasyntacic variable <job name>. What you need to do is to inspect the log for that job (<job name>) us...
by ray.wurlod
Tue Mar 29, 2005 4:45 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: dealing with XML
Replies: 5
Views: 1141

Among your DataStage documents you should find one called XMLPACK_20_Designer.pdf. This is the manual for XML PACK v2.0, and explains how to use all the XML stages. If you read that, it will save me having to paraphrase much of what's in that manual. It should be in C:\Program Files\Ascential\DataSt...
by ray.wurlod
Tue Mar 29, 2005 4:39 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error in setOutputFieldAsString()
Replies: 5
Views: 1657

What is field 8? Remember that numbering is zero-based. 0,1,2,3,4,5,6,7
by ray.wurlod
Mon Mar 28, 2005 1:32 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Export data from DB2 (MAINFRAME) table into flat file
Replies: 4
Views: 2474

It's not possible. You want to do something without creating a DataStage job and get it to happen via dsjob, the command that runs DataStage jobs? The question is internally inconsistent. Further, DataStage is metadata-driven; there is no out-of-the-box mechanism for handling metadata dynamically. Y...
by ray.wurlod
Mon Mar 28, 2005 1:28 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: All the jobs missing from the project
Replies: 11
Views: 2455

It's almost certainly indexing in the Repository. Find a time when there are no developers connected and no jobs running and, logged in as DataStage administrator, execute the command DS.REINDEX ALL (from the Administrator client Command window or from a telnet session running dssh in the project di...
by ray.wurlod
Mon Mar 28, 2005 1:26 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: dealing with XML
Replies: 5
Views: 1141

There are three XML-handling stages; XML Reader, XML Writer and XML Transformer. You need the XML Writer stage. Check with your support provider about obtaining these - they're normally supplied with the RTI components, but you can (could?) also order the XML PACK.
by ray.wurlod
Mon Mar 28, 2005 1:24 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: how to generate control files in a datastage job?
Replies: 8
Views: 6224

Take an extra output link. It has one integer column. The value sent along this link is @INROWNUM. Run it through an Aggregator stage in which the Last function is specified.
by ray.wurlod
Mon Mar 28, 2005 1:20 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: check for data consistancy
Replies: 1
Views: 919

The usual solution to this is a custom Routine that uses a set of exception words, perhaps stored in a table (or hashed file). The following pseudo code explains the algorithm. Ans = "" LOOP Get Next Word UNTIL No Word Found Lookup Word In Exceptions IF (In Exceptions) THEN NewWord...
by ray.wurlod
Mon Mar 28, 2005 1:14 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to create FB file using FTP Stage
Replies: 3
Views: 1281

Can you do it with regular FTP (that is, not with DataStage)? If so, have DataStage generate a local file then run a script to perform the FTP operation. As far as I know there is no property of the FTP stage that allows a file to be created as an FB file. Indeed, I don't think that the Sequential F...
by ray.wurlod
Mon Mar 28, 2005 1:10 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Error from Folder Stage
Replies: 4
Views: 1481

The error "unable to locate NLS map" usually means that the map you have specified has not been loaded into memory. You will need the Administrator client to determine which NLS maps exist on the system, and which of these have been loaded into memory. After you specify a change to which maps are lo...