IBM Support

Finding the Virtual Display Station (*VRT) TCP/IP Address on IBM i OS

Troubleshooting


Problem

This document explains how you can find the currently assigned TCP/IP address for a given Virtual Display Station (*VRT) device.

Resolving The Problem

This document explains how you can find the currently assigned TCP/IP address for a given Virtual Display Station (*VRT) device.

Example: Suppose that you want to know the TCP/IP address of the PC where user JOHN started a Telnet session. Do the following:
1 You must find the interactive jobs for user JOHN to know what devices the user is currently using. From the operating system command line type the following:

WRKUSRJOB USER(JOHN) STATUS(*ACTIVE) JOBTYPE(*INTERACT)

Press the Enter key.
2 If the user is currently signed on, you will see something like the following:

Work with User Jobs XXXXXXXX
03/15/06 10:14:37
Type options, press Enter.
2=Change 3=Hold 4=End 5=Work with 6=Release 7=Display message
8=Work with spooled files 13=Disconnect


Opt Job User Type -----Status----- Function
QPADEV000P JOHN INTER ACTIVE MNU-MAIN
QPADEV0007 JOHN INTER ACTIVE CMD-WRKUSRJOB
3 Display the device description of the device for which you want to know the currently assigned TCP/IP address. From the operating system command line, type the following:

DSPDEVD DEVD(QPADEV000P)

Press the Enter key.
4 You will see something similar to the following (the parameter and TCP/IP address are highlighted in blue):

                         Display Device Description                  XXXXXXXX
                                                            03/15/06  10:18:53
Device description . . . . . . . . :   QPADEV000P
Option . . . . . . . . . . . . . . :   *BASIC
Category of device . . . . . . . . :   *DSP

Device class . . . . . . . . . . . :   *VRT
Device type  . . . . . . . . . . . :   3477
Device model . . . . . . . . . . . :   FC
Internet address . . . . . . . . . :   192.168.89.67
Online at IPL  . . . . . . . . . . :   *NO
Attached controller  . . . . . . . :   QPACTL01
Keyboard language type . . . . . . :   SSB
Character identifier . . . . . . . :   697    284
Allow blinking cursor  . . . . . . :   *YES
Print device . . . . . . . . . . . :   *SYSVAL
Output queue . . . . . . . . . . . :   *DEV

                                                                       More...
Press Enter to continue

F3=Exit   F11=Display keywords   F12=Cancel   F15=Display associated device

Note: You can find the devices that are in use by interactive jobs by running any of the following commands from the operating system command line:

WRKACTJOB
WRKSBSJOB
WRKJOB

[{"Type":"MASTER","Line of Business":{"code":"LOB68","label":"Power HW"},"Business Unit":{"code":"BU070","label":"IBM Infrastructure"},"Product":{"code":"SWG60","label":"IBM i"},"ARM Category":[{"code":"a8m0z0000001f0AAAQ","label":"Communications-\u003ETelnet"}],"ARM Case Number":"","Platform":[{"code":"PF012","label":"IBM i"}],"Version":"All Versions"}]

Historical Number

408929572

Document Information

Modified date:
01 November 2024

UID

nas8N1015069