Or use something like:

//START    EXEC PGM=IEFBR14,COND=(0,NE,WAIT)
//MOUNTMON COMMAND 'START MOUNTMON'
//*


On Wed, Feb 22, 2012 at 9:23 AM, John Dawes <[email protected]> wrote:

> G'Day,
>
> 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'000000
>
> 00'.
>
> READY
>
> END
>
> Here is the job which I executed.  :
>
> //*
> //STEP01   EXEC PGM=IKJEFT01,DYNAMNBR=999
> //SYSPRINT DD  SYSOUT=*
> //SYSTSPRT DD  SYSOUT=*
> //SYSTSIN  DD  *
>  CONSOLE SYSCMD(V (AA50),ONLINE)
>
> Could someone please correct my mistake?
>
> Thanks in advance.
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN
>

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

Reply via email to