The following definition lets you use MAI-OC on a JES2 system:
LOGON1 APPLID=JES2 &MAXSESS=nn &NUMLNES=nn &NUMRJE=nn &NUMTPBF=nn &MLBFSIZ=256 &TPBFSIZ=256
LINE1 UNIT=SNA
RMT1 LUTYPE1,BUFSIZE=256,LINE=1,CONSOLE, * NOCMPCT,NOCOMP,SETUPHDR, * SETUPINF,WAITIME=1, * NUMPR=0,NUMRD=0,LUNAME=NMMAO001
In this example, an MAI-OC session started on LU NMMAO001 is automatically assigned to workstation RMT1. If the LUNAME parameter on the RMT1 statement is omitted, a user creating an MAI-OC session can specify the required workstation name in user data on the MAILOGON command, for example:
MAILOGON JES2 DATA=RMT1