Controls whether an output listing is created and, optionally, provides an output file specification for the listing. Format /LIST[=file-spec] /NOLIST file-spec Specifies an output file specification for the listing file. The default device and directory are the current device and directory. The default file type is .LIS. No wildcard characters are allowed in the file specification.
1 – Example
$ MESSAGE/LIST=MSGOUTPUT COBOLMSG This MESSAGE command compiles the message source file COBOLMSG.MSG and creates the output listing MSGOUTPUT.LIS in your current directory.