A snippet from multiple sessions help topic:
To save your entire active session layout, select *File > Save As Multiple
Sessions...* from any active emulator session to create a new multiple
sessions file. This action will save all windows, all Tab Group contents
(including order), window sizes, window locations, and session IDs. A saved
multiple sessions file may be edited through the Create or Modify Multiple
Sessions File editor.
Which creates a .BCHX file containing a description of the five sessions I
have configured to run as tabs in the same window. How do I use that file
to automatically start all those sessions from the command line?
Here's the contents of my .BCHX file:
[Profile]
ID=BCHX
Version=2
[Batch]
Run1=bchx5250
C:\Users\jcallahan\Documents\IBM\iAccessClient\Emulator\ificmbl38e.hod -s=D
-w=1 -t=3 -p=328,91 -d=1263,898
Run2=bchx5250
C:\Users\jcallahan\Documents\IBM\iAccessClient\Emulator\ificmbl38d.hod -s=C
-w=1 -t=2 -p=328,91 -d=1263,898
Run3=bchx5250
C:\Users\jcallahan\Documents\IBM\iAccessClient\Emulator\ificmbl38b.hod -s=B
-w=1 -t=1 -p=328,91 -d=1263,898
Run4=bchx5250
C:\Users\jcallahan\Documents\IBM\iAccessClient\Emulator\ificmbl38p.hod -s=E
-w=1 -t=4 -p=328,91 -d=1263,898
Run5=bchx5250
C:\Users\jcallahan\Documents\IBM\iAccessClient\Emulator\ificmbl38a.hod -s=A
-w=1 -t=0 -p=328,91 -d=1263,898
What I'd really like is for the five sessions to start together when I
click a desktop icon, much like Client Access for Windows did when a
multiple session batch was setup.
Right now, I start those configured 5250 sessions I need for steps:
start IBMi Client Access Solutions by clicking on a desktop icon,
then click on Session Manager link,
then Shift Select all the sessions I want to start,
then click the Start Button
The documentation doesn't give an example that explains how to do so- or if
it does, it does so in a manner that isn't sufficiently clear for me to
understand (and I've been working with IBM midrange documentation since
1980).
No way I can roll this out to end users if the sessions won't start in one
click.
Jack
As an Amazon Associate we earn from qualifying purchases.