× 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: what's my IP addr on AS400 -- using DHCP
  • From: "Michael Kenney" <kenney@xxxxxxxxxxx>
  • Date: Wed, 24 Jun 1998 09:04:55 -0400




Jerry
  There is an API  QDCRDEVD Which will retrieve the device description. It
is  documented
in the Technical Corner of  September 97 issue of NEWS400.  Below is also a
prior correspondence
on this matter from this LISTSERV

------------- Cut
---------------------------------------------------------------------------
--------------------------------------

Patrick

At 07:29 AM 10/24/97 +0000, you wrote:

>Thanx.  Here's my version and it doesn't work.  I get all zeroes at
>position 878.  I pass it QPADEV0001 which telneting to my system.  Help.
>
>             PGM        PARM(&DEVD &IP)
>             DCL        VAR(&DEVD) TYPE(*CHAR) LEN(10)
>             DCL        VAR(&IP) TYPE(*CHAR) LEN(15)
>             DCL        VAR(&RECEIVER) TYPE(*CHAR) LEN(892)
>             DCL        VAR(&LENGTH) TYPE(*CHAR) LEN(4)
>             DCL        VAR(&ERRLENGTH) TYPE(*CHAR) LEN(4)
>             CHGVAR     VAR(%BIN(&LENGTH)) VALUE(892)
>             CHGVAR     VAR(%BIN(&ERRLENGTH)) VALUE(0)
>     CALL       PGM(QDCRDEVD) PARM(&RECEIVER &LENGTH DEVD0600 &DEVD
>                        &ERRLENGTH)
>             CHGVAR     VAR(&IP) VALUE(%SST(&RECEIVER 878 15))
>SNDPGMMSG &RECEIVER
>SNDPGMMSG &IP
>       ENDPGM

Well, that looks exactly the same. I wonder if you have the necessary PTF's
installed that activate this feature. The recent message from Jeffrey
Stevens lists them.

Cheers

Vernon Hamberg
Systems Software Programmer
Old Republic National Title Insurance Company
400 Second Avenue South
Minneapolis, MN 55401
(612) 371-1111 x480






Jerome Draper <jdraper@wco.com> on 06/23/98 07:00:40 PM








> I have a DHCP NT server assigning IP addresses and I want to find out
what
> the assigned IP address is after I signon to the AS400 with TCP/IP.  Is
> there a CL variable?

> jerry

Michael Kenney
University of Windsor
Windsor  ON   N9B 3P4
Canada
(519)253-3000 extension  2754
KENNEY@UWINDSOR.CA


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