Thanks to both of you. This is now working properly.girija wrote:Since your first constraint is linkStatsXML.FileType = "FULL" your result may be random, means nowhere in your job you ensure atleast one record with linkStatsXML.FileType = "FULL" should be there in the node 0.
Search found 17 matches
- Mon Apr 06, 2009 11:52 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Using @PARTITIONNUM and @INROWNUM in a constraint
- Replies: 3
- Views: 5769
- Mon Apr 06, 2009 9:09 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Using @PARTITIONNUM and @INROWNUM in a constraint
- Replies: 3
- Views: 5769
Using @PARTITIONNUM and @INROWNUM in a constraint
I have a parallel job which uses a transform stage. The input to the transform is a XML stage which generates approximately 100000 records. One of the transform outputs (which is ordered currently as the 3rd of 5 links) traps only the first record off partition 0 in order to catch a date field by us...
- Thu Oct 09, 2008 10:36 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Issuing dsjob -logdetail
- Replies: 5
- Views: 9858
- Thu Oct 09, 2008 9:19 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Issuing dsjob -logdetail
- Replies: 5
- Views: 9858
Issuing dsjob -logdetail
I am trying to trap the log details from a parallel job. When I issue the command dsjob -logdetail <project> <job_name> The following comes back: Invalid arguments: dsjob -logdetail [-useid] <project> <job|jobid> <first event id> [<last event id>] Status code = -9999 DSJE_DSJOB_ERROR Going into dire...
- Tue Aug 05, 2008 11:07 am
- Forum: General
- Topic: Saving XML file definitions
- Replies: 0
- Views: 1322
Saving XML file definitions
In Designer, under Table Definitions\XML, DS allows the name of a category to be created to contain a dash (-). However, when an actual XML table import is performed and an attempt is made to save the definition (under the Save Table Definition dialog box) in that category, DS complains about the da...
- Fri Jul 25, 2008 5:58 am
- Forum: General
- Topic: Using environment variables at run time with a DB2 stage
- Replies: 7
- Views: 4989
- Thu Jul 24, 2008 1:46 pm
- Forum: General
- Topic: Using environment variables at run time with a DB2 stage
- Replies: 7
- Views: 4989
dsNovice: The typical error that comes back with improperly using a system variable in a DB2 stage is: <job name>,0: Fatal Error: Fatal: [IBM][CLI Driver] CLI0124E Invalid argument value. SQLSTATE=HY009 Unable to connect to DB2 server '#DSCAPIOP__DB2_Server# Where we tried to use #$DB2_Server# as th...
- Wed Jul 23, 2008 12:20 pm
- Forum: General
- Topic: Using environment variables at run time with a DB2 stage
- Replies: 7
- Views: 4989
Using environment variables at run time with a DB2 stage
In DS Admin, I have setup a series of parameters, some of which will be passed to a DB2 stage to perform queries or loads. In my job sequence, I bring in all the environment parms I need, and set them all to $PROJDEF, to fill in the value at run time for easier maintenance when changing things in Ad...
- Mon Jul 07, 2008 11:53 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Easy null handling
- Replies: 2
- Views: 1727
- Mon Jul 07, 2008 9:38 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Easy null handling
- Replies: 2
- Views: 1727
Easy null handling
DS 7.5.2: I have an XML file with some empty fields, a small example without header info follows: <FIELD1></FIELD1> <FIELD2>1234.56</FIELD2> Using the XMLInput stage, I can carry the fields across with no problems by checking the "Replace empty values with NULLS" in the stage properties. A...
- Mon Jun 30, 2008 11:36 am
- Forum: Enhancement Wish List
- Topic: Parallel Transform Functions in Server
- Replies: 1
- Views: 2748
Parallel Transform Functions in Server
The list of functions available in a server transform lags compared to what is available on the parallel transform (example: date artithmetic).
If there is a good technical reason why the function lists can't be the same, please post here.
If there is a good technical reason why the function lists can't be the same, please post here.
- Mon Jun 30, 2008 7:34 am
- Forum: Site/Forum
- Topic: How did you learn DataStage?
- Replies: 34
- Views: 38832
Thrown to the wolves
On the fly training, "here's the software, here are the .pdf files and here is a large project for you to do."
So by experimenting, reading the manuals (somewhat useful) and reading posts here (very useful) since early 2008, I am getting the hang of things.
So by experimenting, reading the manuals (somewhat useful) and reading posts here (very useful) since early 2008, I am getting the hang of things.
- Thu May 15, 2008 6:36 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Another PIVOT/TRANSPOSE question
- Replies: 3
- Views: 2549
- Wed May 14, 2008 10:04 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Another PIVOT/TRANSPOSE question
- Replies: 3
- Views: 2549
Another PIVOT/TRANSPOSE question
I have an XML file that needs to be transposed: Source: Same Date, Unknown number of Group_Type, Group_Num, approx 2280 records per as shown below. There will always be 13 "stat" columns that will have values or be null (Field_Name is a character field): Date Group_Type Group_Num Field_Nam...
- Tue May 06, 2008 6:08 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Determining quarter number
- Replies: 3
- Views: 1810
Determining quarter number
Is there an easy way to determine the number of quarters between two dates which could be added as a column derivation in say, a COPY stage: For example: NQTRS between (2007-03-31 - 2008-03-31) + 1 = 5 (absolute value) Those of you familar with SAS, the code would be NQTRS = INTCK('QTR','31Mar2007'd...