User`s guide

DIBOL
The /LIST option has different meanings depending on where you place it in the
command line. The /LIST option produces a listing on the line printer when
/LIST follows the DIBOL command.
For example, the following command produces a line printer listing after
compiling a DIBOL source file:
.DIBOL/LIST MYPROG
When the /LIST option follows the file specification, it produces a listing file.
For example, the following command produces the listing file DK:MYPROG.LST
after compiling a DIBOL source file:
.DIBOL MYPROG/LIST
You can specify a device name with the /LIST option. To do so, use the following
format:
/LIST:device-name
If the device is a file-structured device, RT–11 stores the listing file on that device,
assigning it the same name as the input file with a LST file type. The following
command produces a listing on the terminal:
.DIBOL/LIST:TT: A
The next command creates a listing file called A.LST on DU1:
.DIBOL/LIST:DU1: A
If the /LIST option contains a name and file type to override the default of LST,
the system generates a listing file with that name. The following command,
for example, compiles A.DBL and B.DBL together, producing on device DK files
A.OBJ and FILE1.OUT:
.DIBOL/LIST:FILE1.OUT A+B
Another way to specify /LIST is to type it after the file specification to which it
applies. To produce a listing file with the same name as a particular input file,
you can use a command similar to this one:
.DIBOL A+B/LIST:DU1:
The command shown above compiles A.DBL and B.DBL together, producing files
DK:A.OBJ and DU1:B.LST.
If you specify a file name on a /LIST option following a file specification in the
command line, it has the same meaning as when it follows the command. The
following two commands have the same results:
.DIBOL A/LIST:B
.DIBOL/LIST:B A
Both commands generate as output files A.OBJ and B.LST.
RT–11 Command Descriptions 73