Storing key value pairs in environment of an application ser

Posted by Kai Siegele on 07-Feb-2018 09:05

Hallo,

for each application server I want to store some specifc values. For that purpose I have opened the application server using fathom. I have modified the configuration switched to the Environment Variables and added the key value pair MailSender=ksi@spi.de to the environment.

Now I want to retrieve the value in an ABL-procedure. Has anyone an idea how to do? Unfortunetely I have not found any hints in the documentation.

Kind regards

Kai Siegele

All Replies

Posted by Brian K. Maher on 07-Feb-2018 09:10

Hi Kai,
 
I think that OS-GETENV(“MailSender”) would get what you want.
 
Brian

Posted by Kai Siegele on 07-Feb-2018 09:24

Hallo Brian,

thanks for your quick reply.

That was my first idea too but unfortunately i have got an empty string (?). I already have given MailSender="ksi@spi.de"

and MailSender=ks@spi.de a try, both without success.

Have I made a mistake?

Kind regards

Kai Siegele

Posted by Brian K. Maher on 07-Feb-2018 09:30

Hi Kai,
 
Are you using ClassicAppServer or PASOE?
 
Brian

Posted by Kai Siegele on 08-Feb-2018 01:27

Hallo Brian,

it's the ClassicAppServer.

Kind regards

Kai

Posted by Kai Siegele on 05-Mar-2018 06:36

Hallo Brian,

we have solved the problem. When inserting a ~ just before the @ getting the content with OS-GETENV everything works.

Kind regards

Kai

This thread is closed