Hi
CAn any 1 tell me how to get the IP address of the AS400 machine in CL program.Are there any API for this.I need to pass this IP to run a java program thrugh CL..
Thankx in advance
Supriyob
Software/Hardware used:
AS400
ASKED:
September 1, 2009 11:00 AM
UPDATED:
October 22, 2009 1:34 AM
Just a minor comment… One reason a program might need to know the local IP address is to insert it as text in an outbound message of some sort. A particular case is IBM’s Site Protector product (originally from ISS). It requires the host IP address be embedded as text in the event message from the System i to the Site Protector agent. It took a bit of thought to get the APIs in the proper sequence when I had to do that, and it sure wasn’t done in CL. It’s rare that any program needs to know where it’s coming from instead of where it’s going to.
I think it can be done with V5R4 ILE CL; I don’t see why not, though I haven’t tried. I suspect that those who can do it would use a different language.
Tom