session(session_number | session_name)
Where:
session_number | is the session number. Session numbers 1 to 99 are valid. session_number may be a variable containing a valid session number. |
session_name | is the session name. session_name may be a variable containing a valid session name. If you are using a session name, the session must be running when the command is executed or an error occurs. |
The session command switches sessions while a script is processing. A script continues processing in the same session until a session command switches the script to another session.
Examples
session(1)
session(2)
session("mainframe2")
session($SESSION)
See Also:
TN3270 Plus is continually being improved. To learn more about the latest enhancements, please review our Version History web page.