IPL Statement
The IPL statement specifies the initial program this task will load when Thoroughbred Basic starts. An IPL file contains only one IPL statement, which must occupy the next to last line in the file. It must be placed between the DEV statements and the END statements.
Overview of the IPL statement
Section titled “Overview of the IPL statement”The IPL statement has the following format:
IPL {partnum},reserved,{terminal},progname
- IPL
- begins the IPL statement.
- partnum
- is the partition number. The only valid value is 1.
- reserved
- is a parameter reserved for Thoroughbred Basic internal use. Thoroughbred Basic will ignore a numeric specification.
- terminal
- is the DEV statement name in this IPLINPUT file that defines the terminal to associate with this task. This name must match the DEV statement name. Thoroughbred Basic will change this name, and the name specified in the DEV statement, to the appropriate task ID.
- progname
- is the program to run when this task is initiated. The default is to leave the task in Thoroughbred Basic Console Mode with no program loaded.
Example of the IPL statement
Section titled “Example of the IPL statement”IPL 1,2,T0,**PSD
The partition number is 1. The value of the reserved parameter is 2, but Thoroughbred Basic will ignore this specification. The terminal associated with this task is T0. When Thoroughbred Basic starts, it will load and run the **PSD program.
From the Customization and Tuning Guide: System Files, version 8.9.1. Open this page in the PDF