Posted: Mon Jun 23, 2003 7:25 am Post subject: Security Exit
Novice
Joined: 25 Apr 2003 Posts: 24
Hi,
I have implemented a security exit on one of my channel. In the security exit I am reading a userid and password required for connection from a file. Is there any way that I can pass the file name as an argument to the securty exit program and if "yes" how do I pass the argument and how do I define that in the "define channel .... scyexit(???)".
I dont want to hardcode the filename in the security exit as I can be using the same exit for a different channel.
I have 2 channels which communicate with 2 different entities. The username and password provided by them is different. I am storing this username and password in a file and soring that filename in a environment variable. Now what I need is whether I can pass this environment variable as an argument to this security exit program and if so how do I do define it when creating the channel definition.
where "channelexit" is the c executable and "MQMDH001" is the function.
Now I want to know how can I pass the argument(environment variable) to this channel definition so that the program reads appropriate password file depending upon the env variable passed.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum