This document explains how to add batch terminals to CA 7. Batch terminals are used by program SASSBSTR (also known as the Batch Terminal Interface (BTI)) to execute CA 7 commands and provide the output from processing the commands in SYSPRINT. Up to 8 batch terminals can be defined and used in CA 7.
If you have fewer than 8 batch terminals defined, you may want to increase the number available for command processing in CA 7. To define a new batch terminal, you will need to:
DCB=(RECFM=FB,LRECL=80,BLKSIZE=80 x n)
NOTE:n is a user-defined value.
The BATCHIN data set has to have enough space to hold all commands entered as SYSIN in the SASSBSTR program. Usually 5 tracks is sufficient.
NOTE: The block size on the input data set must match BUFSIZE on the LINE statement in the initialization file.
DCB=(RECFM=VB,LRECL=137,BLKSIZE=137 x n + 4)
NOTE:n is a user-defined value.
The BATCHOUT data set should be allocated large enough to hold the output from the commands that are processed. Best practices says to have at least one batch terminal with the BATCHOUT data set very large to hold all the output from a global RESOLV or generic job listing in CA 7 (this will vary by site). If the BATCHOUT data set is not large enough to hold all the output from the commands entered, you will receive a BSTR-17 message. This file should be no smaller than 10 cylinders.
GROUP,NAME=BTERM02,DEVICE=BATCH,LNAME=BLINE2
LINE,NAME=BLINE2,BUFSIZE=3120,TNAME=BTERM2
TERM,NAME=BTERM2,DEVICE=BATCH,NLINE=60,LINLEN=137
GROUP,NAME=BTERM01,DEVICE=BATCH,LNAME=BLINE1
LINE,NAME=BLINE1,BUFSIZE=3120,TNAME=BTERM1
TERM,NAME=BTERM1,DEVICE=BATCH,NLINE=60,LINLEN=137
GROUP,NAME=BTERM0n,DEVICE=BATCH,LNAME=BLINEn
(where n is the number for this batch terminal)
S CA7ONL,TYPE=ERST
If you use dynamic BTI management, you may also need to change the POOL= keyword on the PARM for the BTI procedure if you want to have this batch terminal included in the available pool.