On 2/22/2012 9:23 AM, John Dawes wrote:
I have several hundred volumes to put online/offline and I thought I could try 
it in batch mode.  I dug up an old JCL which I tried but the job failed because 
of  the following:
READY
  CONSOLE SYSCMD(V (AA50),ONLINE)
IKJ55303I THE CONSOLE COMMAND HAS TERMINATED.+
IKJ55303I AN ERROR OCCURRED DURING CONSOLE INITIALIZATION.  THE MCSOPER RETURN 
CODE WAS X'00000004' AND THE REASON CODE WAS X'00000000'.
READY
END

According to the manual, RC=4 on MCSOPER ACTIVATE means, "Environmental error. For REQUEST=ACTIVATE, the console was already active."

You most-likely already had an EMCS console by the same name active in your TSO/ISPF session. To test this, go back to READY, issue 'CONSOLE DEACTIVATE' and then resubmit your job using the TSO SUBMIT command. See what happens.

--
Edward E Jaffe
Phoenix Software International, Inc
831 Parkview Drive North
El Segundo, CA 90245
310-338-0400 x318
[email protected]
http://www.phoenixsoftware.com/

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to