Diría que el problema esta en que el as400 no se ha indicado ningun DNS en la configuración de TCP/IP. Utiliza el mandato CHGTCPDMN.
Salu2 2008/2/19, Pedro Molina <[EMAIL PROTECTED]>: > > Hola Alex !! > > Pues fíjate que al darle ping desde el eSeries lo hago así PING RMTSYS( > WWW.GOOGLE.COM <http://www.GOOGLE.COM>) y me devuelve un error SISTEMA > PRINCIPAL DESCONOCIDO, WWW.GOOGLE.COM <http://www.GOOGLE.COM> > > Pero por otra parte con una utilidad que pusieron en el foro, si puedo > abrir paginas desde el eSeries, está raro no? > > Salu2!! > > > > ------------------------------ > Date: Tue, 19 Feb 2008 15:30:13 +0100 > From: [EMAIL PROTECTED] > To: [email protected] > Subject: Re: A los entendidos en la materia de iSockets > > Que te retorna cuando haces ping? > > PING RMTSYS(WWW.GOOGLE.COM <http://www.google.com/>) > Verifying connection to host system > www.l.GOOGLE.COM<http://www.l.google.com/>at address > 209.85.135.99. > PING reply 1 from 209.85.135.99 took 25 ms. 256 bytes. TTL 247. > PING reply 2 from 209.85.135.99 took 24 ms. 256 bytes. TTL 247. > PING reply 3 from 209.85.135.99 took 24 ms. 256 bytes. TTL 247. > PING reply 4 from 209.85.135.99 took 22 ms. 256 bytes. TTL 247. > PING reply 5 from 209.85.135.99 took 24 ms. 256 bytes. TTL 247. > Round-trip (in milliseconds) min/avg/max = 22/23/25. > Connection verification statistics: 5 of 5 successful (100 %). > > > La utilidad que comentas no la conozco en concreto, pero si el i5 está > correctamente conectado a InterNet (y con el ping lo certificarás) no tienes > que tener problemas con los sockets en RPG. > > -- > Fins aviat... > Àlex Corretgé > > http://bloc.corretge.cat/ > > > > 2008/2/19 Pedro Molina <[EMAIL PROTECTED]>: > > Hola foreros !! > > Por casualidad alguno de ustedes ha utilizado los API's de una utilidad > creada por Robert Cossi, ahi hay un programa que se llama GETGOOGLE y es > para conectarse a una pagina HTML de google,de hecho esta es la descripcion > de lo que hace el programa: > GETGOOGLE - This program illustrates how to use iSockets > to read a given html page from a given domain. > Google.com <http://google.com/> is used as the domain name, but any > domain > that uses index.html as its homepage may be accessed. > You can change the domain and the home page easily > enough by modifying the szPage field and the call > to the OpenURL statement. > > Once the page is retrieved, the HTML is written out to > the joblog using the iSockets' JOBLOG() subprocedure. > > > pero al correr el programa me da el siguiente error: > > *call getgoogle > OpenURL(**www.google.com:80* <http://www.google.com/>*) > > inet_addr(**www.google.com* <http://www.google.com/>*) failed. errno(3021) > El valor especificado para > el argumento no es correcto. > Attempting gethostbyname(**www.google.com* <http://www.google.com/>*) > > gethostbyname(**www.google.com* <http://www.google.com/>*) failed. > errno(0) No hay ningún error. * > > Obviamente la utilidad está hecha en RPG, talvez alguien en el foro ha > utilizado este programa y me pueda decir que me hace falta para que este > programa se ejecute con exito. > > Salu2 !! > > ------------------------------ > Discover the new Windows Vista Learn > more!<http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE> > > __________________________________________________ > Forum.HELP400 es un servicio más de NEWS/400. > © Publicaciones Help400, S.L. - Todos los derechos reservados > http://www.help400.es > _____________________________________________________ > > Para darte de baja visita la siguente URL: > http://listas.combios.es/mailman/listinfo/forum.help400 > > > > > > > ------------------------------ > Connect to the next generation of MSN Messenger Get it now! > <http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline> > > __________________________________________________ > Forum.HELP400 es un servicio más de NEWS/400. > © Publicaciones Help400, S.L. - Todos los derechos reservados > http://www.help400.es > _____________________________________________________ > > Para darte de baja visita la siguente URL: > http://listas.combios.es/mailman/listinfo/forum.help400 > -- Mi blog sobre as400 http://www.ajut400.com
__________________________________________________ Forum.HELP400 es un servicio m&#225;s de NEWS/400. &#169; Publicaciones Help400, S.L. - Todos los derechos reservados http://www.help400.es _____________________________________________________ Para darte de baja visita la siguente URL: http://listas.combios.es/mailman/listinfo/forum.help400

