access website from as/400
0 pts.
0
Q:
access website from as/400
Our as/400 is accessable from the internet. How can we assess a website from a command line or a CL program on the as/400?
ASKED: Mar 24 2005  4:59 PM GMT
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
0
0 pts.
0
A:
 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0
  • AddThis Social Bookmark Button
I don't believe that is possible.
Last Answered: Mar 28 2005  11:39 AM GMT by TennPgmr   0 pts.
0
0
Discuss This Answer:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _



_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

jaicee   0 pts.  |   Mar 28 2005  4:57PM GMT

I’m curious as to what you are trying to accomplish. It sound like i might be doing something similar soon. I have to communicate with one of our customers (who also has an AS/400). They need to check our stock from dumb terminals instead of logging into our website.

While i’m not familiar with this yet, it looks like we’ll be doing what’s called an HTTP request which will use RPG programs to do CGI calls. The customer will send a request for item availability and our system will send a reply as to whether or not the item’s in stock.

I don’t have the mechanics down yet, but if this is similar to what you’re trying to do, i may have an answer soon.

 

jaicee   0 pts.  |   Apr 7 2005  7:00PM GMT

I’m still working on this but there is a redbook from IBM that explains how to do this kind of thing.

Who Knew You Could Do That with RPG IV
 <a href="http://publib-b.boulder.ibm.com/Redbooks.nsf/RedbookAbstracts/sg245402.html?Open" title="http://publib-b.boulder.ibm.com/Redbooks.nsf/RedbookAbstracts/sg245402.html?Open" target="_blank">http://publib-b.boulder.ibm.com/Redbooks…</a>

It doesn’t look all that hard either. Look up Socket programming and CGI programming (two different ways to the same end).

 

Programmer80   0 pts.  |   Apr 26 2005  4:16PM GMT

I found the answer for anyone who needs to access a web page from teh as400. Enter the following command: STRPCCMD PCCMD(’c:progra~1intern~1iexplore.exe <a href="http://WWW.GOOGLE.COM" title="http://WWW.GOOGLE. " target="_blank">WWW.GOOGLE.COM</a>‘)

 
0