Search found 18 matches

by surfsup
Tue Sep 06, 2016 2:37 am
Forum: General
Topic: Pass encrypted variable to job
Replies: 10
Views: 6677

Thanks - I've used these magic settings ($PROJDEF), but I obviously misunderstood $ENV. Though now I'm equally not sure how to use it. Inside a job, whether an environment value is retrieved from the shell or project definition is irrelevant, right? So it would only make sense to use whenever changi...
by surfsup
Mon Sep 05, 2016 9:07 am
Forum: General
Topic: Pass encrypted variable to job
Replies: 10
Views: 6677

Don't think so - I've never used $ENV, but if I understand correctly, it sets the default parameter to the value of the environment variable at compile time. Subsequently, if a value would need to be changed the job would have to be recompiled in the right environment. This wouldn't work.
by surfsup
Fri Sep 02, 2016 2:31 pm
Forum: General
Topic: Pass encrypted variable to job
Replies: 10
Views: 6677

Variables are not "known" since I'd need to replicate parameter set functionality without using parameter sets (e.g. a new parameter set value set requires 4 new project variables and the calling sequence cannot be recompiled/ edited - the value is retrieved at run-time from the environmen...
by surfsup
Fri Sep 02, 2016 6:06 am
Forum: General
Topic: Pass encrypted variable to job
Replies: 10
Views: 6677

The tech note is at this address http://www-01.ibm.com/support/docview.wss?uid=swg1JR47902 , but I since found out it is only present in v11 (this is the reason why it wasn't working on v9). I am trying to find a way to duplicate the parameter set functionality (for non-technical reasons that I will...
by surfsup
Fri Sep 02, 2016 2:00 am
Forum: General
Topic: Pass encrypted variable to job
Replies: 10
Views: 6677

Pass encrypted variable to job

Hi folks, Due to non-technical reasons, I am trying to pass the value of an encrypted environment variable to a DataStage job from within a calling sequence. The environment variable name is not known at design time and therefore is not a parameter to the job. I found an obscure technote that DS is ...
by surfsup
Tue Aug 05, 2014 4:58 am
Forum: IBM QualityStage
Topic: override string similarity function
Replies: 3
Views: 5281

Hi Rj, This was just an example; there are any number of possible individual errors that appear in the source and provisioning for all their various combinations in the standardisation phase would be much more costly (both in time and resources) than enhancing the standardisation function (I don't e...
by surfsup
Mon Aug 04, 2014 3:45 am
Forum: IBM QualityStage
Topic: override string similarity function
Replies: 3
Views: 5281

override string similarity function

Howdy, I know this is a long shot and probably not possible (in an IBM approved manner), but is there any way to override the string comparison function used in the classification? E.g. Word of HERTFORDSHIRE has a tolerance of 700, but it will not match against IERTFORDSHIRE. It will happily match a...
by surfsup
Thu Jul 19, 2012 7:20 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Modify Stage specification Parameterization
Replies: 8
Views: 5431

It's unlikely the source data will have a column called nothing, but "nowarn" also works.
by surfsup
Thu Jul 19, 2012 6:49 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Non-greedy pattern matching?
Replies: 3
Views: 2952

How about being just slightly more specific with your mask? "0N'.'0N1A0N" in conjunction with the MatchField() function should work with a full (five piece) scientific notation number. If the numbe ... I can't see your full point and I may be missing something, but it doesn't seem as stra...
by surfsup
Thu Jul 19, 2012 3:18 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Non-greedy pattern matching?
Replies: 3
Views: 2952

Non-greedy pattern matching?

Howdy, For reasons too convoluted to explain, I need to interpret numbers written in scientfic notation and I need to do that in basic. I'd need to extract the sign, the base, the exponent sign and the exponent. To somewhat duplicate the functionality of QS, I initially thought of using pattern matc...
by surfsup
Wed Apr 18, 2012 8:17 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: capture stored procedure output
Replies: 5
Views: 2788

Re: capture stored procedure output

How are you calling the stored procedure? What have you done so far? What's the procedure signature?

Can you use an output parameter instead of a return code and map to that instead?
by surfsup
Thu Feb 23, 2012 6:50 am
Forum:
Topic: Migrate data item bindings
Replies: 4
Views: 2210

Migrate data item bindings

Howdy, I'm trying to simplify the work required for data lineage so now I'm looking at ways to automatically derive the lineage from datastage jobs. I have three sources: - design time information; - operational (run time) information; - user defined information. The design information is gathered c...
by surfsup
Thu Aug 26, 2010 2:24 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Default format is ignored
Replies: 0
Views: 1238

Default format is ignored

Hi, I am trying to convert a decimal to string using the "string_from_decimal" modify function and write that to a file. The only trick is that the separator needs to be a comma (",") and has to be without leading/ trailing zeros. I see three choices. The last one works but is le...
by surfsup
Tue Jul 27, 2010 7:22 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Pivot 7.5.1 documentation
Replies: 2
Views: 2427

Pivot 7.5.1 documentation

Hi all, I remember on version 8, there are two pivot stages: Pivot and Pivot Enterprise. However in the documentation, only Pivot Enterprise is documented. This was not an issue as I always used Pivot Enterprise. However, now I have to develop a job in 7.5.1 and need to look something up. I tried to...