You can generate a dynamic console name (e.g. "CONSOL NAME(CONS"convar")"), just make sure that the user running the job is authorized to the console names generated dynamically (job number, time, etc.).
ITschak On Tue, Dec 19, 2017 at 11:31 AM, Tony Thigpen <[email protected]> wrote: > I am using CONSOLE ACTIVATE in batch jobs to issue messages to the > operator. > > Most of the time, it works flawlessly, but if two jobs are running at the > same time, one of the jobs receives an error on the ACTIVATE ane the > message is never issued. > > I am using running the rexx using IKJEFT01. Both jobs are under the same > userid. > > /* JOBZSMSG job processing response REXX */ > trace off > "CONSOLE ACTIVATE" > pull info > ii = words(info) > who = word(info,ii) > cmd = "$D M,D=OSCAR."who",'"info"'" > "CONSOLE SYSCMD("Cmd")" > say cmd > "CONSOLE DEACTIVATE" > exit 0 > > Anybody have any suggestions? > > -- > Tony Thigpen > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN > -- ITschak Mugzach *|** IronSphere Platform* *|** Automatic ISCM** (Information Security Contiguous Monitoring) **| * ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
