Search found 111 matches

by Pagadrai
Wed Mar 25, 2009 1:32 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: getting rows between two dates
Replies: 11
Views: 4724

Re: getting rows between two dates

Hi, From what i understood, you need to generate date values(rows) between 2 given dates. It is possible in DataStage. You can write a server routine to do this. even an unix script can be called from DS to achive this. But it depends on what is your source, target and how you want to use these valu...
by Pagadrai
Wed Mar 25, 2009 1:20 am
Forum: General
Topic: activestage and passive stage
Replies: 2
Views: 1802

Re: activestage and passive stage

Hi All, What is the difference between ActiveStage and PassiveStage in Datastage? Thanks, Rajesh. Please refer to the 'Designer Guide'. "A passive stage handles access to databases for the extraction or writing of data. Active stages model the flow of data and provide mechanisms for combining ...
by Pagadrai
Wed Mar 25, 2009 1:13 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Sequence get stopped automtically
Replies: 5
Views: 2393

Re: Sequence get stopped automtically

Hi Shrinivas,
You need to check all the links that are leading to the Terminator stage
and one of them might have been 'Unconditional'.
by Pagadrai
Wed Mar 25, 2009 1:06 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Handling data truncation errors.
Replies: 8
Views: 3187

Re: Handling data truncation errors.

Hi,
What are your source and target stages in that job?
by Pagadrai
Wed Mar 25, 2009 12:59 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to read the attached file using sequential file stage
Replies: 5
Views: 3860

Re: How to read the attached file using sequential file stag

Hi Sumati, First step is to understand the file format. Reading from the file will be pretty easy. Can you open the file in textpad and see if it has any delimiters? (comma, space, tab etc) and are the values enclosed in quotes? is the file a fixed width? Also, once you define the fomat and columns ...
by Pagadrai
Wed Mar 25, 2009 12:51 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Extracting the Data from XML File
Replies: 17
Views: 10286

Re: Extracting the Data from XML File

Hi Balakrishna,
Are you seeing any warnings or errors in log?
There could be an issue with the xpath specifed.
For example, for an XML of the form:
<a>
<b>123</b>
<c>456</c>
</a>
I would give the xpath as /a/b and /a/c
let me know if you have any questions.
by Pagadrai
Wed Mar 25, 2009 12:49 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Extracting the Data from XML File
Replies: 17
Views: 10286

Re: Extracting the Data from XML File

Hi Balakrishna,
Are you seeing any warnings or errors in log?
There could be an issue with the xpath specifed.
For example, for an XML of the form:
<a>
<b>123</b>
<c>456</c>
</a>
I would give the xpath as /a/b and /a/c
let me know if you have any questions.
by Pagadrai
Mon Mar 23, 2009 1:55 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Contains Terminators option to handle newlines in Sequential
Replies: 9
Views: 4870

Re: Contains Terminators option to handle newlines in Sequen

Hi,
What are your column and row delimiter values.?
If they are other than new line character, I think you can handle
new line values in columns easily.
Do let us know.
by Pagadrai
Thu Mar 19, 2009 2:32 am
Forum: General
Topic: Appending leading Zeros and writting to excel file
Replies: 3
Views: 2872

Re: Appending leading Zeros and writting to excel file

Hi, I am trying to generate excel file in data stage. In doing so i have a problem, When i am trying to append leading Zeros to a filed and witting into excel file all the leading zeros are stripped off. Can some one help ma in solving this. Thanks in advance. Hi, You can try using quotes for the f...
by Pagadrai
Thu Mar 19, 2009 1:55 am
Forum: General
Topic: Error in stagevariable
Replies: 3
Views: 1664

Re: Error in stagevariable

Hi I have written on stagevariable but it is giving me wrong result can any help me on this mystagevariable if trans.empno=mast.empno then 1 else 0 both columns are varchar columns trans.empno=00000802 (value coming from hash file) mast.empno=802 (value coming from oracle stage) but data stage show...
by Pagadrai
Thu Mar 19, 2009 1:05 am
Forum: General
Topic: data stage related technologies
Replies: 1
Views: 1118

Re: data stage related technologies

rajesh123460 wrote:Hi,

Could you please tell me what are the datastage related technologies?

Thanks,
Rajesh.
Hi,
Your question is too vague.
mention more cleary as to what you want to know.
by Pagadrai
Thu Mar 19, 2009 1:01 am
Forum: General
Topic: File validation method
Replies: 6
Views: 6221

Re: File validation method

Hi, I have worked with XML in DataStage, but we havent used the 'validate' option in that. You can use the Validate XML option available in XML Input stage. The invalid records can be captured using a reject link. you can request for XSD from your XML source team or there are lot of tools to generat...
by Pagadrai
Thu Mar 19, 2009 12:57 am
Forum: General
Topic: User variable activity stage
Replies: 2
Views: 3837

Re: User variable activity stage

Hi All i need to know about the user varible activity stage. Actually i need to invoke the one varible value which is there in other job.In a sequence i need to get this to compare the varble value. So help me in this. Hi, Can you explain your requirement and what value in the job you want to use i...
by Pagadrai
Thu Mar 19, 2009 12:03 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Multipule instance Server Job execution
Replies: 2
Views: 1673

Re: Multipule instance Server Job execution

Hi, I have a server sequencer job that is running in a loop, creating invocation name by the $counter. The sequencer builds of 3 jobs: 1. write to an hash file one record. 2. Simple transformation job reading from DB and writing to another. this job get a parameter from the function "UtilityHa...
by Pagadrai
Wed Mar 18, 2009 11:55 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sybase Strored Procedure Call
Replies: 1
Views: 936

Re: Sybase Strored Procedure Call

I'm encountering a strange problem calling a Sybase stored procedure in the stored procedure stage. The procedure is returning a result. When I excute the job I get the correct number of rows but all NULLs are written to the file. If I send the result set to a peek stage it shows the colums headers...