TAL Programmer's Guide
Running Programs
Running and Debugging Programs
16–2 096254 Tandem Computers Incorporated
MEM Pages Option
You can use the MEM (memory) option in the RUN command to increase the number
of memory pages for your program’s data. For the MEM value, specify an integer in
the range 1 through 64. For example, you can specify 40 memory pages in the RUN
command:
RUN myprog /MEM 40/
If you omit the MEM option or if the MEM value is less than the compile-time or bind-
time memory-pages value (described next), the system uses the larger value.
Compile-Time Memory-Pages Value. In your source file or in the compilation command,
you can use the DATAPAGES directive to increase the number of memory pages. For
example, you can specify 33 memory pages in your source file:
?DATAPAGES 33
In your source file, you can also increase the number of memory pages by calling the
C-series NEWPROCESS procedure or the D-series CREATE_PROCESS_ procedure
and passing a memory-pages parameter.
If you do not specify the number of memory pages or if you specify an insufficient
value, BINSERV allocates sufficient pages for global data and two times the space
needed for local data.
Bind-Time Memory-Pages Value. In Binder, you can use SET command options to set the
memory-pages value as described in the Binder Manual.
NOWAIT Option
If you use the NOWAIT option, the program runs in NOWAIT mode, and the TACL
product does not pause while your program runs. Instead, TACL displays a
command input prompt after sending the startup message to the new process. You
can specify the NOWAIT option in the RUN command as follows:
RUN myprog /LIB mylib, NOWAIT/
If you omit the NOWAIT option, the program runs in WAIT mode, and the TACL
product pauses while the program runs.