I am trying to set up a SASSBSTR job to issue /SHUTDOWN,Z3. Why am I receiving this error message?
SCM2-10 /SHUTDOWN MAY BE ENTERED FROM CA-7 MASTER TERMINAL ONLY.
Release:12.0, 12.1
The /SHUTDOWN command requires the batch terminal issuing the command must be defined as either master or alternate console.
Below is an example of defining a batch terminal as an alternate console in the CA 7 Initialization File.
GROUP,NAME=BTERM01,DEVICE=BATCH,LNAME=BLINE1
LINE,NAME=BLINE1,BUFSIZE=3120,TNAME=BTERM1
TERM,NAME=BTERM1,DEVICE=BATCH,NLINE=60,LINLEN=137,CONS=ALTRN <---(CONS=ALTRN or MASTR)
CA 7 will need to be brought down and restarted with TYPE=ERST to implement this change.
The SASSBSTR job that performs the shutdown needs to include the PARM=n (ex. PARM=1 for BTERM1) on the EXEC statement to ensure it is routed to the batch terminal defined as MASTR or ALTRN (unless all BTERMn are set up this way).