Need Advice on Build Stage

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
zulfi123786
Premium Member
Premium Member
Posts: 730
Joined: Tue Nov 04, 2008 10:14 am
Location: Bangalore

Need Advice on Build Stage

Post by zulfi123786 »

Hi,

I have implemented encryption and decryption in parallel routines but the process runs slow as it has to pick up the key from disk also the transformer does not free the memory of returned pointer so the job aborts on very high volume. To enhance the speed I am planning to have a build stage where the per record disk read would be eliminated by a single read before the per record loop.

However there is a small challenge where I would need an expert advice.

1. Using the routines, the user may encrypt multiple columns in one transformer how to allow multiple columns to be encrypted in build stage as the metadata for the input port is static.

2. The encryption routine takes input argument of any datatype and the decryption routine give back exact same datatype and no explicit type conversion are required, how to have this in build stage as the metadata is predefined

Thanks
- Zulfi
eostic
Premium Member
Premium Member
Posts: 3838
Joined: Mon Oct 17, 2005 9:34 am

Post by eostic »

Can you accomplkish what you need to via java? The java integration stage is far more generic in the ability to determine column names at run time.

Alternatively, a complete custom Operator, perhaps.....

Ernie
Ernie Ostic

blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
zulfi123786
Premium Member
Premium Member
Posts: 730
Joined: Tue Nov 04, 2008 10:14 am
Location: Bangalore

Post by zulfi123786 »

Hi Ernie,

Thanks for the suggestion, Custom operator approach might be perceivable.

At a high level could you please highlight the steps involved in building the custom operator so that I may get direction to proceed further.

Thanks
- Zulfi
Post Reply