Owner`s manual

Page 7-4 Chapter 7
7.2.3Forcing Input to Jobs
The FORCE command gives you a way of sending input to another job. To send one
line of input to another job, use the FORCE command followed by the jobname and the
input. For example:
FORCE SANDI LOG DSK2:22,2
The line above logs SANDI into the computer under account DSK2:[22,2]. You can also
send several lines of input to a job by entering a carriage return after the jobname. For
example:
FORCE SANDI
After that point, all lines of text that follow (up to a blank line) will be sent to the specified
job (a blank line is a carriage return alone on a line). For example:
FORCE SANDI
LOGON ; Log in SANDI
SANDI ; Input user name
RUN REMIND ; Run a user program
; Blank line above ends FORCE
The SETJOB command performs the FORCE statement automatically, as well as any
other AMOS commands you wish to include in your job initialization command file!
7.2.4Allocating Memory to Jobs
If you are going to allocate memory within the system initialization command file, use
the FORCE and MEMORY commands. For example:
FORCE SANDI MEMORY 32K
Be careful not to use the MEMORY command to allocate memory to the job the system
initialization command file is coming up under—this will cause the processing of the
system initialization command file to stop.
Automatic re-assignment of all available memory only occurs after a job has been give
ZERO bytes of memory. Be careful not to assign a job a small, non-zero amount of
memory (such as MEMORY 1K), since that partition will be too small to load in and
execute a program (such as MEMORY itself), and a larger partition will not be
automatically assigned.
After FORCEing a MEMORY command to a job, use the WAIT command to give AMOS
time to finish the memory allocation before going on to the next command in the system
initialization command file. Specify the name of the job to whom you are FORCEing
memory. For example:
System Operator’s Guide to the System Initialization Command File, Rev. 03