JES regards an MAI-OC session as a session with an RJE workstation. This means that data sent to JES is regarded as input from a remote console, so any authorized JES command may be sent and the results returned to the window.
However, JES does limit the scope of commands that can be entered from a remote console. Generally, with the provision of the appropriate operands on commands and the correct authorization in JES, commands can be entered to perform any JES display-type function. However, commands can only change the status of jobs, and so on, owned by the workstation. Of course, the OPSYS OCS command can be used to enter commands, if required.
JES commands are available to shorten responses to commands, for example, to remove the leading time stamps). Their use should be considered to make the display as neat as possible.
JES2, and JES3 if so configured, do not send a salutation message to a workstation when it logs on. This means that there is no indication that an MAI-OC session request has completed. Use the SHOW MAI command to determine when the session is established.
JES does not have a logoff command. Use the MAIDISC command to terminate a JES session.