× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: Re: API to retrieve TCPIP address of the client?
  • From: rob@xxxxxxxxx
  • Date: Fri, 8 Jun 2001 17:18:05 -0500


I did some more reading Chris.  And perhaps you have a point.  Maybe we are
trying to let 5250 be the end all / be all.  Perhaps a Client/Server or
browser based application would be better suited.  The nice thing about the
5250 is the ability to custom menus for a user, easier training, etc.  But
perhaps we just need to think how to accomplish these same goals with
alternative methods of accessing AS/400 data.

Rob Berendt

==================
A smart person learns from their mistakes,
but a wise person learns from OTHER peoples mistakes.


                                                                                
                                    
                    Chris Rehm                                                  
                                    
                    <javadisciple@earth        To:     MIDRANGE-L@midrange.com  
                                    
                    link.net>                  cc:                              
                                    
                    Sent by:                   Subject:     Re: API to retrieve 
TCPIP address of the client?        
                    owner-midrange-l@mi                                         
                                    
                    drange.com                                                  
                                    
                                                                                
                                    
                                                                                
                                    
                    06/08/2001 04:36 PM                                         
                                    
                    Please respond to                                           
                                    
                    MIDRANGE-L                                                  
                                    
                                                                                
                                    
                                                                                
                                    





Well, if the intent is to retrieve a file from the AS/400 based on a
selection made via file, there might be a couple of other considerations.
What if the client doesn't have an IP address? I think you'd want to
check and see if you are being run by a dumb tube before you run your
app. Then you need to push your file, which will require the workstation
to be ready to receive it by running some hosting app (ftp, CA, etc.).

I would think it would be a lot simpler to write a pc based app (say, in
Java) that fetches the file list, and then issues an ftp request from
that app. But that's all guesswork from someone who just doesn't know
the real problem.

One reason I like the idea of using Java for such a task is that the
same app that makes the SQL request to fetch the list of files can also
thread the ftp request and save the file to the local machine, so any
machine which can run the app, is qualified to run it. No need to worry
about requesting IP addresses or if the PC making the request can
receive a pushed file.

Hatzenbeler, Tim wrote:

> i'm sure you are aware of this, but just incase... you'll need an ftp
> server running on your pc's so it can accept the file your as/400 will
> be sending it...
>
> if anybody else has a better way? I would love to know about it....
> tim
>
>       -----Original Message-----
>       From:  ron hawkins [SMTP:hwarangron@home.com]
>       Does anybody know how to retrieve the tcpip address of a pc
>       attached to the
>       400? I need to do it programatically - that is the user selects
>       a record
>       from a subfile and the program will FTP the file (represented by
>       the record
>       in the subfile) down to the PC.
>

--
Chris Rehm
javadisciple@earthlink.net


+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to
MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator:
david@midrange.com
+---




+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.