Search found 17 matches

by Offshored2002
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

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.
Thanks to both of you. This is now working properly.
by Offshored2002
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...
by Offshored2002
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

Thanks, I feared that was the answer. Not terribly useful to have to go get event ids from Director right now.
by Offshored2002
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...
by Offshored2002
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...
by Offshored2002
Fri Jul 25, 2008 5:58 am
Forum: General
Topic: Using environment variables at run time with a DB2 stage
Replies: 7
Views: 4989

Thank you - thread is resolved.
by Offshored2002
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...
by Offshored2002
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...
by Offshored2002
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

I went into admin and turned RCP (new to me) on for our project and recompiled and it worked. I am not going to get into the debate about the pros and cons of RCP.
by Offshored2002
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...
by Offshored2002
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.
by Offshored2002
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.
by Offshored2002
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

I will look into this. Too bad DS doesn't have a transpose stage, this is a one step process in SAS with a PROC TRANSPOSE (as of now, that plug in is not installed here, though I am considering asking for it).

If any of the other DS gurus have any ideas, they would be greatly appreciated.
by Offshored2002
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...
by Offshored2002
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...