DRL TASK (octal 63) - spawn a special batch activity.

Usage:

drl    task
zero   L(SSA buffer),L(file list)

Where:

SSA buffer
is a 965-word buffer in the slave program that provides 960 words for writing to the $S file. The format of this buffer is described in the GCOS8 TSS Reference Manual.
file list
is a list of files for which PATs must be copied to the SSA buffer. All files listed must be in rewound condition and exist in the user's AFT except for the files L* and *L. If these files are not in the AFT, are not in the files list, and are defined by the system subroutine library descriptors .CRLST and .CRALB respectively, they will be provided by TASK. Neither L* nor *L will appear in the user's AFT if provided by TASK.

Description:

DRL TASK spawns batch jobs from TSS. It first copies the PATs for the files in the file list into the designated SSA buffer. The buffer contents are then used to write the various segments of the swap file. The system memory allocator then takes control and enters the batch activity at memory allocation level. Upon completion of the spawned activity, the DRL is again entered. The first three blocks of $S are read back to the user's SSA buffer. TASK then uses the current PATs now in the buffer to make any necessary updates in the PATs for the files in the user file list.

If the user enters a "break" or attempts a disconnect while the spawned activity is executing, it will be ignored until TASK has completed the final phase of its execution.

Upon return, the A-register contains one of the following codes.

0
No error. In this case, the Q-register contains the current status of the batch activity.
1
Undefined file.
2
No SNUMB.
3
Duplicate SNUMB.
4
No program number available.
5
Activity name undefined.
6
Illegal user limit (time, size, etc.)
7
Bad status on $S read or write.
8
No file space available for pushdown file.
9
No $S file provided in file list.

Copyright © 2000, Thinkage Ltd.