WHAT IS BTSO
BTSO is an acronym for Batch Time Sharing Option. This facility permits users to execute a broad spectrum of purchased and/or site-written batch interactive applications. Unlike ETSO, which executes applications in the Advantage CA-Roscoe address space and has to monitor or supervise the entire execution, BTSO "attaches" a new address space for the application and allows the program to execute on it's own in a separate address space. Advantage CA-Roscoe intercepts only terminal reads and writes (TGETS AND TPUTS), so it can pass information back and fourth between the user and the application.
BTSO CONTROL BLOCKS
BTSO relies on three control blocks to pass the information back between ROSCOE and the user.
ETSM is the main BTSO control block. It resides in CSA and contains information such as the maximum users and the timeout value. It also contains a pointer to each ETSU or user control block.
ETSU or BTSO user control block resides in CSA, contains the job name, program, and pointers to the ETSB control blocks.
ETSB control block points to the buffers that pass TPUTS and TGETS back and fourth between the batch address space and Roscoe. The ETSB are present only while a TPUT or TGET is active. The number of ETSBs will grow and shrink according to the TPUT and TGET activity.
BTSO SETUP
CALLING A BTSO JOB
RTBETSO expects one of two different kinds of inputs:
Notes:
STATUS of BTSO
The RTB monitor will allow users to view the status of BTSO. To activate the RTB monitor, you must first include a RUN=RTB statement in the Advantage CA-Roscoe SYSIN stream.
The RTB monitor provides you with:
ETSM address
MAXUSERS= value
TIMEOUT= value
Current number of users
Maximum number of users since last IPL
Displays of the currently active programs executing under BTSO