The following job (JOB0001) is submitted to demand a job (JOB0002) via Batch Terminal
//JOB0001 jobcard
//stepname EXEC CA7BTI
//SYSIN DD *
/LOGON user
DEMAND,JOB=JOB0002
/LOGOFF
/*
The JOB0001 fails with a RC=08
$HASP373 JOB0001 STARTED - INIT
IEF403I JOB0001 - STARTED - TIME=hh.mm.ss
+CA-7.INCD - COMMDS ON ...
+CA-7.BSTR-21 BATCH TERMINAL # 2 ALLOCATED.
+ BSTR-16 CA-7 UNABLE TO START BATCH TERMINAL
+CA-7.BSTR-22 BATCH TERMINAL # 2 RELEASED.
- --TIMINGS
-JOBNAME STEPNAME PROCSTEP RC EXCP CONN TCB S
-JOB0001 stepname BTERM 08
IEF404I JOB0001 - ENDED - TIME=00.01.06
z/OS 2.4
CA 7 Workload Automation 12.1
There are several causes for the message BSTR-16:
Check the Batch terminals defined in the Initialization file and define more batch terminals if necessary.
For example
GROUP,NAME=BTERM01,DEVICE=BATCH,LNAME=BLINE1
LINE,NAME=BLINE1,BUFSIZE=3120,TNAME=BTERM1
TERM,NAME=BTERM1,DEVICE=BATCH,NLINE=60,LINLEN=137