Telnetis 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. Youcan start an alternate job
on System Ausing System Request option 11. Use the Telnet command to establish
a session to System C. Youcan get to another system (System D, for example) by
starting another Telnetsession from System B or System C.
An alternative to using the alternate job is to use a group job. Agroup job is one of
up to 16 interactive jobs that are associated in a group with the same workstation
device and user. Toset 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 Telnetsession to System B.
Telnet SYSTEMB
4. Return to your home system by pressing the ATTNKey. Pressing the ATTN key
shows you the Send TelnetControl Functions menu.
5. On the command line for the Send TelnetControl Functions menu, type:
TFRGRPJOB GRPJOB(home)
This returns you to your original job.
Other group jobs and Telnetsessions 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
Youcan 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/IPConfiguration and Reference V4R4