× 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.



Well...Batman...there are a number of ways to determine this.

Perhaps the easiest is to:

Type CFGTCP on a command line <enter>
Option 1: Work with TCP/IP Interfaces

Look at the IP addresses in the first column. One (or all) of those are
accessible to you via FTP, TELNET, etc...

If you do not have authority to do that you can run this program (you'll
have to compile it of course...):

/*==================================================================*/
/* To compile: */
/* */
/* CRTCLPGM PGM(XXX/TESTCONN) SRCFILE(XXX/QCLSRC) */
/* */
/*==================================================================*/
PGM
DCL VAR(&DEVICENAME) TYPE(*CHAR) LEN(10)
DCL VAR(&IPADDRESS) TYPE(*CHAR) LEN(15)
DCL VAR(&RECEIVER) TYPE(*CHAR) LEN(892)
DCL VAR(&RCVRLENGTH) TYPE(*CHAR) LEN(4)
DCL VAR(&FORMATNAME) TYPE(*CHAR) LEN(8) +
VALUE('DEVD0600')
DCL VAR(&ERRORCODE) TYPE(*CHAR) LEN(4) +
VALUE(X'00000000')

/* CHANGE VALUE OF &RCVRLENGTH TO BINARY VALUE */
CHGVAR VAR(%BIN(&RCVRLENGTH)) VALUE(892)

/* RETRIEVE NAME OF AS/400 DEVICE THIS JOB IS RUNNING ON */
RTVJOBA JOB(&DEVICENAME)



/* RETRIEVE IP ADDRESS OF CLIENT PC TO SEND SAVE FILE TO */
CALL PGM(QDCRDEVD) PARM(&RECEIVER &RCVRLENGTH +
&FORMATNAME &DEVICENAME &ERRORCODE)

CHGVAR VAR(&IPADDRESS) VALUE(%SST(&RECEIVER 878 15))

SNDPGMMSG MSG('The IP Address of Your PC is:' *BCAT +
&IPADDRESS)
ENDPGM: ENDPGM




-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Adam West
Sent: Wednesday, May 21, 2008 8:04 AM
To: midrange-l@xxxxxxxxxxxx
Subject: FTP Problem

can't seem to locate the IP address. I ran a utility that tells you the

system IP but it times out. I have done this successfully in the past. Is

there a way to get the IP address for FTP?


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.