Telnet is used to establish a session from System A to System B. You also want to
go to System C and remain connected to System B. You can start an alternate job
on System A using System Request option 11. Use the Telnet command to establish
a session to System C. You can get to another system (System D, for example) by
starting another Telnet session from System B or System C.
An alternative to using the alternate job is to use a group job. A group job is one of
up to 16 interactive jobs that are associated in a group with the same workstation
device and user. To set up a group job, do the following:
1. Change the current job to a group job using the Change Group Attributes
(CHGGRPA) command.
CHGGRPA GRPJOB(home)
2. Start a group job for System B using the Transfer to Group Job (TFRGRPJOB)
command.
TFRGRPJOB GRPJOB(SYSTEMB) INLGRPPGM(QCMD)
3. Establish a Telnet session to System B.
Telnet SYSTEMB
4. Return to your home system by pressing the ATTN Key. Pressing the ATTN key
shows you the Send Telnet Control Functions menu.
5. On the command line for the Send Telnet Control Functions menu, type:
TFRGRPJOB GRPJOB(home)
This returns you to your original job.
Other group jobs and Telnet sessions can be started similarly.
The TFRGRPJOB GRPJOB(*SELECT) command can be used to select which
group job you want. For example, if group jobs are started with the names
SYSTEMB, SYSTEMC, SYSTEMD, and SYSTEME, the TFRGRPJOB
GRPJOB(*SELECT) command shows the following display:
Transfer to Group Job
System: SYS198
Active group job ...: HOME
Text .........:
Type option, press Enter.
1=Transfer to group job
----------------------Suspended Group Jobs-----------------------
Opt Group Job Text
_ SYSTEME
_ SYSTEMD
_ SYSTEMC
_ SYSTEMB
Bottom F3=Exit F5=Refresh F6=Start a new group job F12=Cancel
You can then use Telnet to establish a session with each system from the
appropriate job. The group job scenario would look like this:
228 OS/400 TCP/IP Configuration and Reference V4R4