Hi David,
We are keeping the suggested workaround/solution here to help others in this regards.
We would like to suggest the following approach to achieve the desired results as discussed above:
1. Write one RPG function (e.g. LogCitrixTrueClientIPAddress) having one input parameter for Citrix Client IP address.
i) Write one Message object (e.g. LogIPAddress) with one input parameter for Citrix Client IP address. This should dump the parameter value as part of the message text.
ii) Call this Message object (e.g. LogIPAddress) from RPG function (e.g. LogCitrixTrueClientIPAddress) with Dialog Message type - passing the IP address as input parameter.
2. Call the RPG function (e.g. LogCitrixTrueClientIPAddress) at the startup of main application before making a call to any System-I server function.
So, the Message Object text (including Citrix Client IP address) will be written into Job Log and then spool file - which can be used for auditing purposes.
Seems couple of ways to get Citrix Client IP address, one of them would be here - https://stackoverflow.com/questions/2450857/is-there-a-way-to-retrieve-the-computer-name-of-a-xenapp-client.
Aforementioned workaround/solution should help in this regards with minimal efforts.
Thank you.
Regards,
Arun Painuly
CA Technologies