[NEWSboard IBMi Forum]
  1. #1
    Registriert seit
    May 2002
    Beiträge
    37

    ip-adresse bei Outq

    Hallo Zusammen,

    kann ich irgendwo einen Report für eine Auswertung ziehen,
    wo ich sehen kann, welche IP-adresse welcher OUTQ zugeordnet.

    Danke

    Gruss

    Robert

  2. #2
    Registriert seit
    Dec 2000
    Beiträge
    450
    Hallo Robert,

    API QDCRDEVD ist da hilfreich.

    Gruß
    Bruno

  3. #3
    Registriert seit
    May 2002
    Beiträge
    2.643

    IP Adresse

    Hallo Robert,
    dazu habe ich folgendes gefunden:


    __

    Someone asked me the other day if it was possible to get the IP address of a workstation. What I found out was that not only is that possible, but you can also find out the IP address of any attached device. It's all done using the QDCRDEVD API. It took me more time to find the information on the API at the IBM Web site than it did to write the function to return the IP address. I've included the code at the end of this article.

    The function is really simple once you have the parameters for the API figured out. The name of the device is the only parameter passed into the function. The function then calls the QDCRDEVD and returns the IP address from the data received. I have added some really simple error handling so that the IP address will be "ERROR" if the QDCRDEVD API does not execute properly.

    As I mentioned, this same process can be used to determine the IP address of virtually any network device. The function could be modified easily to return IP addresses for other devices. I only needed the workstation devices so I didn't bother with the rest.

    There are a few limitations to the QDCRDEVD API that you should be aware of before using it. The first one is that the device name must use all uppercase letters (QPADEV0001, not qapdev0001). If you have lowercase letters, it will return an error. Also, the API will not work at all with a device connected via pass-through (STRPASTHR), and it will not work for PC jobs that are calling RPG and/or CL commands.

    There is a plethora of other information available about the device(s) in the datastream returned from QDCRDEVD. If you are interested, go to the IBM Information Center and search for QDCRDEVD.

    --Jeff Olen
    jeff@olenconsulting.com

    Code for RTVIPADR siehe Anhang

    Gruss TASASIK

  4. #4
    KM is offline [professional_User]
    Registriert seit
    Apr 2003
    Beiträge
    1.012
    Hallo Robert,

    ich hab da mal eine sehr gute Freeware gefunden, mit der man RMTOUTQs verwalten kann. Ich dieser Verwaltung sieht man auch sofort, welche IP-Adresse welcher OUTQ zugeordnet ist. Suche doch im Web mal nach WRKRMTWTR.

    Gruß,
    KM

  5. #5
    Registriert seit
    May 2002
    Beiträge
    2.643

    Link

    Hallo Robert,
    hier den Link für diese Freeware:

    http://home.columbus.rr.com/jbmmdietz/iseries.html

    Gruss TARASIK

Similar Threads

  1. OUTQ Beschreibung sichern und wiederherstellen
    By SL in forum IBM i Hauptforum
    Antworten: 4
    Letzter Beitrag: 07-12-06, 10:46
  2. Kopien von neuen Spools einer OUTQ
    By linguin in forum IBM i Hauptforum
    Antworten: 13
    Letzter Beitrag: 17-05-06, 13:42
  3. OKI Nadeldrucher unter V4R5 mit IP Adresse
    By Eric in forum NEWSboard Drucker
    Antworten: 0
    Letzter Beitrag: 25-09-05, 21:56
  4. WINS bei AS400 abschalten bzw. unterbinden
    By cc in forum IBM i Hauptforum
    Antworten: 3
    Letzter Beitrag: 13-10-04, 22:49
  5. 2 Netzwerkkarten aber nur 1 IP Adresse ?
    By rcide in forum IBM i Hauptforum
    Antworten: 3
    Letzter Beitrag: 27-08-04, 13:04

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • You may not post attachments
  • You may not edit your posts
  •