Ends the macro and forces the session running this macro to close
ExitSession ( )
None
This is the same as using the File>Exit (PC TO HOST) or File>Close (WEB TO HOST) command from the menu. It is recommended that the user be at the mainframe logon screen when this macro command is executed.
Parentheses are optional. This is a PASSPORT command.
Example
Sub
ZMain()
ExitSession
End Sub