Search found 130 matches

by DSFreddie
Fri Aug 13, 2010 10:10 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reading the data from DB ( 2 file systems)
Replies: 4
Views: 2288

Re: Reading the data from DB ( 2 file systems)

Thanks All for your reply. I have passed the execute command activity (Using the Field function). Now, the issue I am facing is in this particular Select statement. select * from schema.table where update_ts > to_date(substr('2010-07-21 10:45:33.257868',1,19),'YYYY-MM-DD HH24:MI:SS') This is a DB2 T...
by DSFreddie
Thu Aug 12, 2010 7:00 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reading the data from DB ( 2 file systems)
Replies: 4
Views: 2288

Reading the data from DB ( 2 file systems)

I have a Scenario as follows, *) I need to take Max(TimeStamp) from DB2 table *) Based on this Max(TimeStamp) value, i need to extract (Select *) from a DB2 Mainframe table. I tried doing it thru 2 jobs & calling it through a sequencer.(One execute command activity also) My first job will take M...
by DSFreddie
Fri Jul 30, 2010 9:14 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Delta Data from DB2 Stage
Replies: 3
Views: 1761

Thanks for your reply Anbu.

Is there any way to accomplish this in a single job?

Pls let me know whether are any alternate ways of doing this as I do not want to create 2 jobs for this.

Thanks,
Freddie
by DSFreddie
Fri Jul 30, 2010 7:57 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Delta Data from DB2 Stage
Replies: 3
Views: 1761

Delta Data from DB2 Stage

Hi All, I have a scenario where I need to extract the data from a Mainframe DB2 table(Table A) based on the condition given below. I have another table from where I need to take max(date)----Select max(date) from table B. Now, i need to pull the data from Table A based on the condition A.(Date) > ma...
by DSFreddie
Wed Jul 21, 2010 10:18 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Fixed Width File
Replies: 2
Views: 1214

Fixed Width File

I have one requirement in my project where we need to extract the data from Db2 table & send it across to the downstream as a FIXED WIDTH file. Can you pls help me to create this DataStage job & the functions I need to use to create a FIXED width file? Any help would be appreciated. Thanks i...
by DSFreddie
Tue May 25, 2010 11:16 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Executing a Perl Script Through DataStage job/Sequence
Replies: 4
Views: 4115

The issue here is, as I have 10 parameters (5 Mandatory & 5 optional), when i run the same job multiple times for different Source to Target loading, for few table loading, the optional might/might not have some values. Here is an example of how the Perl Script & the parameters look like. ./...
by DSFreddie
Mon May 24, 2010 10:49 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Executing a Perl Script Through DataStage job/Sequence
Replies: 4
Views: 4115

The issue is "The values for the Mandatory as well as the Optional Parameters" is coming from the Master scheduler.
by DSFreddie
Fri May 21, 2010 10:04 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Executing Script through DataStage
Replies: 1
Views: 1195

Executing Script through DataStage

Hi All, Request your help in resolving an issue with executing a Perl Script through DataStage. I have a Perl Script that needs to be executed through DataStage. This Perl Script has 10 parameters. ( 6 Mandatory & 4 optional paramaters). What are the different ways of executing this Perl Script ...
by DSFreddie
Wed May 19, 2010 10:05 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Executing a Perl Script Through DataStage job/Sequence
Replies: 4
Views: 4115

Executing a Perl Script Through DataStage job/Sequence

Hi All, Request your help in resolving an issue with executing a Perl Script through DataStage. I have a Perl Script that needs to be executed through DataStage. This Perl Script has 10 parameters. ( 6 Mandatory & 4 optional paramaters). What are the different ways of executing this Perl Script ...
by DSFreddie
Sun May 16, 2010 8:51 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Bug in DSJOB -report function?
Replies: 3
Views: 1895

Bug in DSJOB -report function?

Hi All, I am trying to generate the report of the DataStage jobs through the " DSJOB -report " function through a UNIX Script. It works fine for all stages except the DataSets. Whenever I use Dataset stage in a job, it is not generating the report details of the Dataset Stage (Like Stage N...
by DSFreddie
Mon May 10, 2010 10:48 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error in DSJOB report function while using DataSets
Replies: 0
Views: 740

Error in DSJOB report function while using DataSets

Hi All, I am trying to generate the report of the DataStage jobs through the " DSJOB -report " function into XML file. It works fine for all stages except the DataSets. Whenever I use Dataset stage, it is not generating the details of the Dataset Stage (Like Stage Name etc). Any help/resol...
by DSFreddie
Wed Apr 21, 2010 8:56 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DB2 Bulk Load Stage
Replies: 3
Views: 2819

Issues while using DB2 COnnector

Hi Ray, Thanks for your reply. I am encountering an error message as shown below while using the Db2 Connector Stage. Pls help. DB2_Connector_11: [IIS-CONN-DB2-000369] Error in environment configuration: The target table has 8 partitions but the environment configuration has 3 node(s) available. Mak...
by DSFreddie
Tue Apr 20, 2010 11:20 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DB2 Bulk Load Stage
Replies: 3
Views: 2819

DB2 Bulk Load Stage

Hi,

I am planning to do a Bulk Load to DB2 Tables. Pls suggest me the best way of doing it.

Also, pls let me know whether there are any prerequisites in the DataStage/Table level as well as any other settings that needs to be done to do it.

This is a parallel job.

Thanks
Freddie.
by DSFreddie
Mon Apr 19, 2010 8:33 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Read a Parameter file from UNIX Directory & pass value
Replies: 17
Views: 16434

Thanks Kim & Craig for your valuable suggestions. I am using an Execute command activity that will read the Parameter file ( The file is somethin like this, filename1=/home/abc/file1.txt filename2=/home/xyz/file2.txt) I can grep the file & get the 2 values. I am struggling to capture these 2...
by DSFreddie
Mon Apr 19, 2010 2:46 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Read a Parameter file from UNIX Directory & pass value
Replies: 17
Views: 16434

Hi All,

My requirement is simple. I have a Parallel Job Sequence. I need to read a parameter file (residing in the UNIX box,, it is a text file)& pass the values in the parameter file to the subsequent job activities.

Pls let me know how I can do it.

Thanks in advance,
Freddie.