Search found 79 matches

by muralisankarr
Mon Aug 02, 2010 9:54 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Oracle connector behavior on connection parameter
Replies: 7
Views: 4856

Oracle connector behavior on connection parameter

Hi, We got new connector stage few days back and today i noticed that the connector stage replace the connection parameters by the run time value. I have set the connection parameter to #pSSILSid#, #pSSILUser#, #pSSILPassword#. But it has replaced the runtime value of the parameters to the connectio...
by muralisankarr
Wed Jul 07, 2010 12:08 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Need help in a range string formation logic
Replies: 5
Views: 1767

Many thanks AndW. I have started analyzing the code as I have issues with string like one discreet chain. For example 1,2,3 to 1-3 or 1,2 to 1-2 or 1 to 1. I will post the modified code here. Many thanks for your time and baseline code. I can't imagine being employed in a ds job with out dsxchange :D
by muralisankarr
Tue Jul 06, 2010 7:01 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Need help in a range string formation logic
Replies: 5
Views: 1767

Need help in a range string formation logic

Hi, We need to form a range pattern to the stings we have. For example 213,001,052,219,220,221v,051,106,102,210,212,103,101,104,211,105,201,202,203,204,205,206,207,208,209,214,215,216,217,218 Should be converted to range pattern as below 001,051-052,101-106,201-221 The input string is sorted and ran...
by muralisankarr
Wed Jun 23, 2010 9:52 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Trimming trailing space in a delimited text file
Replies: 3
Views: 2189

Trimming trailing space in a delimited text file

I have a delimited text file with a spaces appended to all the fields and thus it appear to be a delimited fixed width file. I read the file with delimiter defining the columns. If the actual length of the field is less than the defined column length, then the field will have space appended to them....
by muralisankarr
Mon Apr 19, 2010 3:10 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Need help in a logic
Replies: 8
Views: 3490

I got solution in SQL from oracle forum. Please find the link below . http://forums.oracle.com/forums/thread.jspa?threadID=1057751&tstart=0 But the recurssion goes up to 54000 records! The SQL was taking infinite time to produce the output. We don't have a SQL DBA.So I handled it using PL/SQL. C...
by muralisankarr
Mon Apr 19, 2010 3:03 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Datastage and SGML
Replies: 2
Views: 1231

Datastage and SGML

Hi,

Will datastage support SGML in XML stages? I have to extract the data from a legacy application which has API to retun the SGML. Please share your inputs

Many Thanks
MSR
by muralisankarr
Tue Apr 13, 2010 2:20 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Need help in a logic
Replies: 8
Views: 3490

I'm surprised the PL/SQL reached cursor limits - is the source data that big and has that many levels? Using stage variables and/or routines in server would necessitate that the data fit into virtual memory, is that the case? The source data is 0.5 million nad it has more than 2000 levels. (or may ...
by muralisankarr
Mon Apr 12, 2010 1:47 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Need help in a logic
Replies: 8
Views: 3490

This type of recursive programming is not done easily directly in DataStage PX. I'd use a server job or stage as the BASIC language supports recursion or, if the data comes from a database, use SQL to solve the lookup recursion. Thanks Arndw. Can you please give me some idea on how to solve it with...
by muralisankarr
Thu Apr 08, 2010 8:01 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Need help in a logic
Replies: 8
Views: 3490

Need help in a logic

I have an interesting problem to solve using datastage. I'm not able to derive a solution. Please help if you can The table in interest has two attribute Item and Part. I need to form a group records based on deep-derive part key combination. For example Item Part I1 P1 I1 P2 I1 P3 I2 P4 I3 P3 I3 P5...
by muralisankarr
Wed Mar 10, 2010 4:12 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Classifying Link Types as Source, Reference and Reject
Replies: 10
Views: 6972

The '-' sign in your output line was confusing, it made it look like negative value lists were being returned. I can't check now, but perhaps the pivot stage is incompatible. What happens if you write a small dummy job using the px pivot and seeing if you get the same abort? Many Thanks for the rep...
by muralisankarr
Wed Mar 10, 2010 3:06 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Classifying Link Types as Source, Reference and Reject
Replies: 10
Views: 6972

And what was the result of DSAttachJob() ? (The best way to check is with some innocuous function like DSGetJobInfo(JobHandle, DSJ.JOBNAME) and log the value of the result. If this returns DSJE.BADHANDLE then your attach failed.) My DSAttachJob was not creating the issue. If we see the original log...
by muralisankarr
Tue Mar 09, 2010 10:49 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Classifying Link Types as Source, Reference and Reject
Replies: 10
Views: 6972

Thanks for you reply Any negative number returned from a DataStage API function indicates an error. The error codes are documented in JOBCONTROL.H header file in DSINCLUDE. You can probably search DSXchange to find them. Without seeing your job design it's difficult to comment further. ? It is happe...
by muralisankarr
Tue Mar 09, 2010 10:22 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Classifying Link Types as Source, Reference and Reject
Replies: 10
Views: 6972

The DSGetStageInfo() using DSJ.LINKTYPES will get you that information. Thanks Arnd for your reply. I got couple of issues in this regard 1) When I get the LINKTYPES for Dataset (as Target) and Lookup Fileset (as Source) then I'm getting Fatal error as given below TEST #1 ******* Arg1 = 1 Test comp...
by muralisankarr
Tue Mar 09, 2010 6:14 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Classifying Link Types as Source, Reference and Reject
Replies: 10
Views: 6972

Classifying Link Types as Source, Reference and Reject

Is there any way we have to find a link type as Stream, Reference or Reject from DS routines? I know there is a function to classify the stages DSGetStageInfo(JobHandle, StageName, DSJ.STAGETYPE) but don't find any thing as such for links. I had a Routine called after every job in sequence which sho...
by muralisankarr
Fri Feb 26, 2010 4:28 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Finding latest file versions
Replies: 1
Views: 1015

Finding latest file versions

Hi, The source files are pushed into landing directories in undefined times. On any time we may get a new version of a file. I had a requirement to select the file from the latest version sub-directory. And different files will be in different versions. For example -SrcDir -------SDA1 ------------Su...