Reading Windows Registry Key

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
gateleys
Premium Member
Premium Member
Posts: 992
Joined: Mon Aug 08, 2005 5:08 pm
Location: USA

Reading Windows Registry Key

Post by gateleys »

Hi,
Is it possible to read the Windows registry key(s) using DS7.0? For example, a password that is set in the Win registry, so it can be used as a parameter while running a job.
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Microsoft has published a registry API that can be used from Visual Basic and C/C++, but there is none for DataStage to read and interpret the file's contents. But you can always bind in an external program that you write in one of those languages - the easiest way is to create an external .exe program which you call from DS.
gateleys
Premium Member
Premium Member
Posts: 992
Joined: Mon Aug 08, 2005 5:08 pm
Location: USA

Post by gateleys »

Thanks Arnd, I will try it and let you guys know about my progress.

gateleys
Post Reply