Search found 18 matches

by VineelPrem
Tue Aug 27, 2013 8:43 am
Forum: General
Topic: unable to run clear.file command fron a datastage job
Replies: 6
Views: 3602

Thanks ray for the reply
by VineelPrem
Mon Aug 26, 2013 1:22 pm
Forum: General
Topic: unable to run clear.file command fron a datastage job
Replies: 6
Views: 3602

Hi Chulett . I am just trying to automate a process which cleans the job logs periodically . Was trying to do it from a script
by VineelPrem
Wed Aug 14, 2013 2:12 pm
Forum: General
Topic: unable to run clear.file command fron a datastage job
Replies: 6
Views: 3602

unable to run clear.file command fron a datastage job

Hi
I am having trouble running a script whioch has command clear.file RT_LOG from Execute stage .
The output i get in the log is

: line 33: clear.file: command not found
128
by VineelPrem
Wed Jul 31, 2013 4:40 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: default value to -911
Replies: 7
Views: 3284

Re: default value to -911

You could set the Lookup condition to CONTINUE . Then for the matched Lookups the Lookup key value( MD_id ) becomes 0 nad non matched lookups <> 0 . Then with a transformer filer the Nonlooks and set the MD_id =-911 .Funnel both the Lookups and nonlooks with a funnel stage
by VineelPrem
Wed Feb 27, 2013 3:46 pm
Forum: General
Topic: Writing SQL Query as Source in DataStage
Replies: 12
Views: 14005

Hi Chulett .
Any specific reasons for this ? I suppose it has got nothing to do with performance.I generally build my sql manually and supply it to the stage . Is this a wrong practice ??
by VineelPrem
Wed Feb 27, 2013 3:36 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Junk character inserted with Extended ascii in Netezza
Replies: 3
Views: 3564

Re: Junk character inserted with Extended ascii in Netezza

hi raju ,
APT_STRING_PADCHAR. I usually set its value to 0*20 (space).and trim space if necessary ,thus keeping my string clean
by VineelPrem
Tue Feb 26, 2013 10:55 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to capture no of rows processed on link in parallel job
Replies: 18
Views: 7325

Thanks Vamshi
vamsi.4a6 wrote:You can also try below command on unix prompt


dsjob -linkinfo <project> <job> <stage> <link>
by VineelPrem
Tue Feb 26, 2013 10:52 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to capture no of rows processed on link in parallel job
Replies: 18
Views: 7325

Hi chulett we are still on 8.5 . I am using the dsjob utility to capture information and parse it .
by VineelPrem
Tue Feb 26, 2013 10:50 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to capture no of rows processed on link in parallel job
Replies: 18
Views: 7325

Thanks for the info vcmburney.Thats interesting . But we are still on 8.5 .
by VineelPrem
Mon Feb 25, 2013 2:52 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to capture no of rows processed on link in parallel job
Replies: 18
Views: 7325

Hi Chulett,
I have to insert the no of rows each DS job Inserts/update/Deletes to the target tables to another table which keeps track of all the DS job info
Thanks
by VineelPrem
Mon Feb 25, 2013 1:53 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to capture no of rows processed on link in parallel job
Replies: 18
Views: 7325

Thanks for the quick response Prasson . Did u mean routine or just a custom transform ? It would be great if you can help me out with that routine,
Thanks
by VineelPrem
Mon Feb 25, 2013 1:18 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to strip zeros from decimal value
Replies: 1
Views: 1780

Re: How to strip zeros from decimal value

this function will get rid of zeroes .
DecimalToString(Input_string,"suppress_zero")
by VineelPrem
Mon Feb 25, 2013 12:53 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to capture no of rows processed on link in parallel job
Replies: 18
Views: 7325

How to capture no of rows processed on link in parallel job

Hello all, I had trouble calculating no of rows processed on a link in a parallel job . i searched the forum and could not find any solution.I see that that there is a DSGetLinkInfo() function in server job . Is there any function for parallel jobs ?? Thanks in advance for your response Regards Prem
by VineelPrem
Thu Aug 09, 2012 3:05 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Getting error while writing a dataset
Replies: 5
Views: 5045

Re: Getting error while writing a dataset

I did encounter this problem a couple of times even though there were permissions .I dont know what causes the problem but changing the update policy to Use Existing(Discard schema & records) got rid of this error .