Specifying the listing file: SYSPRINT

If you specify the PRINT option, and you do not issue SYSPRINT FILEDEF before the ASMAHL command, the ASMAHL command issues the following FILEDEF command:
FILEDEF SYSPRINT PRINTER
If you specify the DISK option (which is the default), and you do not issue SYSPRINT FILEDEF before the ASMAHL command, the ASMAHL command issues the following FILEDEF command:
FILEDEF SYSPRINT DISK fn LISTING m1 (RECFM VB BLOCK 13300

where fn is the file name specified on the ASMAHL command. If the assembler source file (SYSIN input) is not on disk or is on a read-only disk, the file mode m is set to the first available read/write disk. If the source file is on a read/write disk, the mode letter m is set to the mode of that read/write disk. For example, if the source file is on a read/write B disk, the file mode m1 is set to “B1”.

You can issue a FILEDEF command for SYSPRINT before the ASMAHL command to direct the listing to the terminal, printer, or a disk file. See PRINT (CMS) for details about the CMS options for SYSPRINT.