Search found 124 matches

by mac4rfree85
Fri Feb 20, 2015 5:45 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Multiple rows output required from lookup
Replies: 4
Views: 5712

Ray thanks for the input. But even though i am able to see the multiple records for the same key when i click on view data, I am getting only unique records when i run the job. I am using Oracle Connector Stage. could you please guide me as how to set up the settings in the reference side so that mu...
by mac4rfree85
Fri Feb 20, 2015 2:34 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Multiple rows output required from lookup
Replies: 4
Views: 5712

Multiple rows output required from lookup

Hi Guys, My Source records are unique records. But my reference records contain multiple records for the same key. Now, i want output with multiple records. Source record AA 12B 2 BB 23Y 3 Reference recrods AA 12B U- AA 12B Y- BB 23Y I+ BB 23Y O- Output required AA 12B U- 2 AA 12B Y- 2 BB 23Y I+ 3 B...
by mac4rfree85
Mon Sep 01, 2014 5:43 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Lookup without a key column
Replies: 4
Views: 3071

Lookup without a key column

Hi Guys, I am trying to convert a server job to a parallel job. In the server job, a lookup is made with a dummy column against a job variable. The output of the lookup is that it will add one column with the same value to all the rows. Could you somebody tell me as how to achieve this in parallel.....
by mac4rfree85
Fri Apr 25, 2014 12:50 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Inserting Null Value in to Date Field - Oracle
Replies: 8
Views: 18273

Re: Inserting Null Value in to Date Field - Oracle

I feel the error is coming from StringToDate function.. Just to confirm this, can you remove the if,,, then ..else and replace it with only "StringtoDate(lnk_tr.eff_dt,"%yyyy-%mm-%dd")" and run the job.
If the error exists, then you need to look into your input columns.
by mac4rfree85
Mon Apr 08, 2013 3:02 am
Forum: General
Topic: Pass Current Job name to Shell Script
Replies: 5
Views: 3584

Ray, i was using ExecSh option only. I modified the ExecSh routine to obtain the jobname and attach it to the command.

The issue is fixed now.
by mac4rfree85
Wed Apr 03, 2013 12:35 am
Forum: General
Topic: Pass Current Job name to Shell Script
Replies: 5
Views: 3584

I am getting the below error SH: -c: line 0: syntax error near unexpected token `(' SH: -c: line 0: `sh -x /appl/data/VSTAR/na/scripts/test.sh -f DSGetJobInfo(DSJ.ME, DSJ_JOBNAME)' Just to check if the script is working fine, i ran it with the actual jobname itself. Executed command: sh -x /appl/dat...
by mac4rfree85
Mon Apr 01, 2013 6:18 am
Forum: General
Topic: Pass Current Job name to Shell Script
Replies: 5
Views: 3584

Pass Current Job name to Shell Script

Hi Guys, I am calling a shell script using the After-Job subroutine from the job properties. I need to pass the current job name for this script as a Parameter. The shell script is able to take the parameter if i run it individually. This is the code i tried. sh -x test.sh -f DSGetJobInfo(DSJ.ME, DS...
by mac4rfree85
Sun Mar 31, 2013 9:31 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Is it possible to call a server routine in a Parallel Job
Replies: 1
Views: 1762

Is it possible to call a server routine in a Parallel Job

Hi Guys,

There is a server routine. Is it possible to call it in a Transformer stage in a Parallel job or i need to write parallel routine for it.

Cheers!!!!
by mac4rfree85
Thu Mar 28, 2013 1:32 am
Forum: General
Topic: Abort a Job from Shell script called from After-Job Subrouti
Replies: 5
Views: 3275

hi priyadarshikunal, I am new to the routines. so could you help me out or point me to the right direction..
Cheers!!!
by mac4rfree85
Wed Mar 27, 2013 1:47 am
Forum: General
Topic: Abort a Job from Shell script called from After-Job Subrouti
Replies: 5
Views: 3275

The After Job-Subroutine which is present in the Job Properites. I am calling the script using the ExecSH option in the After-Job Subroutine
by mac4rfree85
Wed Mar 27, 2013 12:47 am
Forum: General
Topic: Abort a Job from Shell script called from After-Job Subrouti
Replies: 5
Views: 3275

Abort a Job from Shell script called from After-Job Subrouti

Hi Guys,

I have shell script which is currently returning return code of 3.

I am calling this script from my datastage job as a After-Job Subroutine. I expect the job to fail but the job is Finished(with Warning) status.

Can somebody help me as what i am doing wrong.

Cheers!!!!!
by mac4rfree85
Fri Jan 18, 2013 7:16 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Truncation of Decimal Values
Replies: 3
Views: 3156

Even in the Flat file, i am getting the value truncated.

I have given length as 22 and scale as 10 (same as Database)

Please let me know if i am missing out something. Is there any environmental variables which may restrict the decimal values?
by mac4rfree85
Thu Jan 17, 2013 9:47 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Truncation of Decimal Values
Replies: 3
Views: 3156

Truncation of Decimal Values

Hi Guys, I am receiving data in Flat file. I am reading it as a Varchar and loading it to Oracle Table (Double datatype). It is loading properly (1344.324). In an another job, when i am reading it using Oracle Connector stage (Double Datatype), i am able to see the data is coming properly as 1344.32...
by mac4rfree85
Fri Nov 09, 2012 7:59 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Help with Lookup Logic
Replies: 4
Views: 3512

Help with Lookup Logic

Hi Guys, My lookup table has 15 columns. My source table also have those 15 columns. I need to do the lookup only when the column is having value instead of Null Values. For an example: Lookup table: 1 2 3 4 5 6 7 8 9 10 Key A B NULL NULL NULL NULL NULL NULL NULL NULL 1 A B NULL Y NULL NULL NULL NUL...
by mac4rfree85
Thu Jul 05, 2012 9:46 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Decimal values getting expanded
Replies: 8
Views: 4367

The data was not getting inserted properly.

For an example, if data was 8.56, it was getting inserted as 0000000.

Not sure why, but with float, we were somewhat getting (8.5600001).

But now with double, i am getting what i want (8.56)