BSTR-16  CA-7 UNABLE TO START BATCH TERMINAL
search cancel

BSTR-16  CA-7 UNABLE TO START BATCH TERMINAL

book

Article ID: 277335

calendar_today

Updated On:

Products

CA 7 Workload Automation

Issue/Introduction

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   

 

Environment

z/OS 2.4

CA 7 Workload Automation 12.1

Cause

There are several causes for the message BSTR-16:

 

  • The PARM value on the SASSBSTR execute statement specified a relative batch terminal that does not exist (for example, PARM=7 was specified but only four batch terminals are defined in the product's initialization file).
  • The control record in the Communications data set indicates the specified batch terminal is already in use. This may be due to an erroneous RESET reply to the CA-7.252 WTOR, or a /START may have been issued from a CA 7 terminal.
  • No batch terminals are defined to CA 7.

Resolution

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