Search found 17 matches

by jeawin
Wed Apr 25, 2012 11:51 am
Forum: General
Topic: Getting a parameter from a parameter set in a routine
Replies: 10
Views: 5372

Re: Getting a parameter from a parameter set in a routine

Hi Janos, I don't think I can help, because I can't see anything wrong with your code. Are you sure the parameter set is set up correctly? Can you see the values in it from a normal DataStage job? What does it say in the log when you execute the routine from a job? Are there any warnings? If it abor...
by jeawin
Fri Sep 17, 2010 4:42 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How can I subtract one month of a date in a SERVER JOB?
Replies: 8
Views: 5391

I have a routine to add days, months or years to a date, which correctly handles month end dates (for instance 28/02 + 1 month = 31/03). It will obviously need tweaking to subtract dates, but the principle is there. If you are interested send me a personal email address and I'll send you the DataBas...
by jeawin
Fri Sep 17, 2010 7:42 am
Forum: General
Topic: DSGetParamInfo not working with a parameter set
Replies: 3
Views: 4930

Thanks Ankur and Craig, my syntax was indeed wrong: psPasswords = DSGetParamInfo (DSJ.ME, "psPasswords", DSJ.PARAMVALUE) should have been: DB_Password = DSGetParamInfo (DSJ.ME, "psPasswords.IPSS_Password_Parm", DSJ.PARAMVALUE) This now works - case closed - thanks again.
by jeawin
Fri Sep 17, 2010 1:29 am
Forum: General
Topic: DSGetParamInfo not working with a parameter set
Replies: 3
Views: 4930

DSGetParamInfo not working with a parameter set

I am trying to pick up the value of an encrypted password from a parameter set by using the DSGetParamInfo command within a routine. Unfortunately all this does is return: psPasswords=(As pre-defined). The "(As pre-defined)" is as shown in the job control => parameters window, not the valu...
by jeawin
Wed May 06, 2009 11:33 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Converting text to First Letter Capitalisation
Replies: 19
Views: 24127

Hi all, just to say thanks for your input - much appreciated.

Jean
by jeawin
Wed Apr 29, 2009 9:43 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Converting text to First Letter Capitalisation
Replies: 19
Views: 24127

Correct, without using the Basic Transformer...
by jeawin
Tue Apr 28, 2009 1:52 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Converting text to First Letter Capitalisation
Replies: 19
Views: 24127

Converting text to First Letter Capitalisation

In good old Server Edition, in the derivation of a transformer stage, you just did an OCONV using the MCT conversion To Produce Text With First Letter Capitalisation.

Anyone know of a nice simple way of doing this in Enterprise Edition?
by jeawin
Mon Dec 03, 2007 7:10 am
Forum: General
Topic: parameters
Replies: 2
Views: 2393

No it's not necessary, job will compile and run with null parameter defaults.
by jeawin
Mon Jul 23, 2007 8:20 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: how to do full outer join
Replies: 10
Views: 4943

For even greater flexibility you can put data into a hash file or files and then write a pre- or post-transform routine to open the file(s) and merge the data, if necessary into a completely different field (column) format! Just make sure you have sensible key fields.
by jeawin
Mon Jul 23, 2007 8:08 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Change param values from within a job
Replies: 8
Views: 4327

There is a routine around which will let you set a parameter value from within a transform by having the following derivation: RoutineName(in.ParameterName:"={Parameter value}") or RoutineName("{ParameterName}={Parameter value}") or RoutineName("{ParameterName}=":StageV...
by jeawin
Wed Apr 25, 2007 8:08 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Can we export joblog to a file
Replies: 27
Views: 16123

No, the jobs are not automated, though can obviously be scheduled. The Metrics job has the following parameters: CATEGORY: Enter one or more categories here PATH: Full path name to output csv file directory FNAME: Output CSV file name The Monitor Details job has the following parameters: CATEGORY: E...
by jeawin
Wed Apr 25, 2007 2:03 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Can we export joblog to a file
Replies: 27
Views: 16123

I have written two DataStage jobs that reproduce the Director log, and also the same details as shown in the Monitor window. Both of these are saved to CSV files on the Server. The files can then be FTP'd or whatever onto your PC. Here are examples of the output: http://i172.photobucket.com/albums/w...
by jeawin
Tue Mar 13, 2007 9:15 am
Forum: Enhancement Wish List
Topic: Open Designer job that is locked - do not go to Open Job win
Replies: 3
Views: 3961

Open Designer job that is locked - do not go to Open Job win

Designer: if trying to open a job that is locked do NOT go to the window to open another job, simply show a message stating the job is locked.

In very large projects it is possible to wait for ages for the window to open another job to appear. And I have never used the resulting OPEN option!!
by jeawin
Tue Mar 13, 2007 9:06 am
Forum: Enhancement Wish List
Topic: Deselect all option in Designer, View, Column Display window
Replies: 2
Views: 4276

Deselect all option in Designer, View, Column Display window

Designer: 'Deselect ALL' option in Column Display window when doing a View Data on a file stage
by jeawin
Wed Aug 02, 2006 8:31 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Duplicate records in a Hash File !!!
Replies: 6
Views: 4412

Thanks ArndW. I have already cleared the file so we could continue. I really only posted this out of interest.