Search found 88 matches

by mobashshar
Thu Oct 13, 2011 7:57 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: stage to get the max time for each date
Replies: 11
Views: 6010

Or....

Use Remove Duplicate Stage.
Keep the Last Record for Max value.
In Input link, SORT and PARTITION on PersonNumber and use only SORT for TimeStamp field in ascending order.

You will get one unique row for each personnumber with max date/time value.

Hope this helps.
by mobashshar
Thu Oct 13, 2011 12:53 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: warings implicit conversion
Replies: 3
Views: 2944

Have you checked the Unicode in your source/target link?
by mobashshar
Thu Oct 13, 2011 12:51 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Link Ordering
Replies: 7
Views: 5748

Unfortunately you can not use link ordering in parallel transformer.

One work around will be to split the job design in two jobs.
Job 1 will do your step a (delete) and job 2 will do b & c (insert).
Use a sequencer to first run job 1 and then job 2.

Hope this helps
by mobashshar
Mon Oct 10, 2011 12:29 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: TRANSPOSE ! is it possible?
Replies: 19
Views: 6813

Hi Karthi, You have to use Vertical Pivot to get the desired result. Using a transformer, strip out the Year value from your input file and create a Year Column and Pivot on Amount with Array Size 12 with Group By on Asset_Id and Year. Also make sure to Sort the Input File on Asset_Id (Sorting and P...
by mobashshar
Fri Jun 10, 2011 1:39 pm
Forum: General
Topic: IIS85 installation Issues with xmeta pass
Replies: 8
Views: 5650

Check to see if you can log into xmeta schema with the password you are using to install..
by mobashshar
Fri Jun 10, 2011 1:22 pm
Forum: General
Topic: Data and Time for the sequential file.
Replies: 10
Views: 3392

If you are using Current Date and Time for file creation.. then do the following:

Create the file with a generic name like outfile
Use After Job Subroutine and ExecSH and do the following:
mv outfile outfile.`date +"%m%d%y%H%M%S"`

Done!
by mobashshar
Wed Jun 08, 2011 12:57 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Regarding JOIN Stage
Replies: 5
Views: 3890

Re: Regarding JOIN Stage

soumya5891 wrote:You need to make a hash partition on each input link in the same order.The order of the hash keys will be same as join keys
Soumya is right. Just hash partition and also sort your input key column
by mobashshar
Fri Jun 03, 2011 7:37 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Having issues with Lookup Stage
Replies: 7
Views: 5403

Try changing the lookup Condition Not Met = Continue and LookUp Failed = Continue
by mobashshar
Fri May 20, 2011 1:54 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Need to Delete duplicated records
Replies: 7
Views: 4232

Do this:
1.Use Remove Duplicate Stage.
2.Sort the Input Field in Remove Duplicate stage on eid and date with asc and make sure you use sort and partition on eid and only sort on date input field.
3. Keep the Last Row.

You will get the desired result.
by mobashshar
Thu Apr 28, 2011 10:29 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: current date () - 6 months
Replies: 17
Views: 8446

In transformer stage, Sort the input Date Column in DESC order and using constraint send out the First Six Rows.

If you are running your job in parallel use this in constraint to filter the last 6 months: (((@INROWNUM -1) * @NUMPARTITIONS) + @PARTITIONNUM + 1) <= 6

Hope this helps
by mobashshar
Wed Nov 24, 2010 10:58 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to check the field has numbers in it
Replies: 6
Views: 3121

You can also use AlNum function
by mobashshar
Mon Nov 08, 2010 7:25 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: logic required
Replies: 6
Views: 4436

Keshav.. and then how to get the remaining rows (- first row) ?
by mobashshar
Fri Nov 05, 2010 1:58 pm
Forum: General
Topic: datastage admin trainning needs
Replies: 1
Views: 1114

Just jump in. Start with basic unix and have faith in google :D
by mobashshar
Fri Nov 05, 2010 1:55 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: 7.5.2 Windows to 8.1 Linux Performance Discrepancy
Replies: 11
Views: 3994

Are you using Server or Parallel jobs?
by mobashshar
Wed Nov 03, 2010 2:04 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: EE 8.5 under VMWare
Replies: 5
Views: 2565

I successfully installed IIS 8.5 on XP Pro VM and WinServer 2003 VM. I am going to try it out on SuSE VM next.. Will update you guys accordingly.