Chapter
10
Setting Up A TN5250 Connection/Device Via A Telnet Session
Setting Up A TN5250 Connection/Device Via A Telnet Session
In a telnet session, the command "list tn" shows the configured values. To set
up a TN5250 connection/device via a telnet session, use the commands
"store TN..." and the following:
NOTE: The ethernet sessions can be configured either by a web browser or
1. Use cmd WRKCTLD *VWS, choice 5, display, enter to list the number of
virtual devices this controller.
2. Use cmd DSPSYSVAL QAUTOVRT. Note the number of auto-configured
virtual devices permitted on the system. This number must be greater
than one.
3. Use cmd DSPYSYVAL QCHRID. This is the system language (code
page) available.
4. Use cmd WRKTCPSTS *IFC to determine the IP address of the iSeries.
This value is used in setting the ethernet TN5250 devices.
User Supplied Values
iSeries: For this session, use the IP value from (step 4 above).
Device description: This is the name of the virtual device.
Auto connect:
•
If true (enabled) then queue and device automatically attach.
•
If not true (disabled) the command "tn dest dxprn start/stop" allows
individual sessions to start or stop.
NOTE: Leave other values at their default descriptions.
Example of telnet session commands:
store tn dest d8prn iSeries 192.168.168.34
store tn dest d8prn devicedesc palletform
store tn dest d8prn autoconnect
reset
This example creates a device/queue named "palletform" on the
iSeries with IP 192.168.168.34.
162
by telnet.