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 value of the field from the parameter set!
Anyone know how to get the value?
DSGetParamInfo not working with a parameter set
Moderators: chulett, rschirm, roy
DSGetParamInfo not working with a parameter set
_______________________________________
"If I had asked people what they wanted they would have said faster horses"
Henry Ford
"If I had asked people what they wanted they would have said faster horses"
Henry Ford
-
- Participant
- Posts: 64
- Joined: Fri Feb 05, 2010 5:29 am
- Location: India, UK
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.
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.
_______________________________________
"If I had asked people what they wanted they would have said faster horses"
Henry Ford
"If I had asked people what they wanted they would have said faster horses"
Henry Ford