Using DNS name in FTP command in CL Program

szeb

Member
Hello List,

My post is not exactly a JDE issue, but I need to send a file via FTP within a JDE application.

I am trying to use a DNS name instead of actual IP address in a FTP command in a CL program.

I defined a DNS name in a variable name and put this variable name in the PARM INTNETADR. Error message CPD0074 "Value '..dns name..' for INTNETADR exceeds 15 characters." was encountered. I think the system is expecting an IP address.

I do not see any other PARM to put this DNS name under. Is there a way to use DNS name in the FTP command?

Thanks in advance for your help!


BSZE
JDE World A7.3 CUM8
AS/400 V5R2M0
 
The parameter is RMTSYS for DNS names, and INTNETADR for IP addresses. Make sure the DNS name is in your HOST file or DNS server or else it won't be able to resolve the name.
 
Back
Top