Purpose
PUNCH specifies the file that contains the source code generated by PP2.
NOPUNCH specifies that PP2 suppress source code generation.
Usage Notes
| Default | Abbreviation for PUNCH | Abbreviation for NOPUNCH | Mutually Exclusive |
|---|---|---|---|
| PUNCH | PU | NOPU | PUNCH and NOPUNCH |
If PUNCH is specified but no file is specified, the print file defaults to different types of files, depending on the environment. The following table lists the file types.
| Environment | Type of File |
|---|---|
| z/OS | File with a ddname of SYSPUNCH |
| Workstation-attached | An output file with the source input file name and a file extension appropriate to the source language. If a file name is specified without an extension, PP2 uses the defaults explained in the next table. |
If a file name is specified with no extension, the default extensions are:
| Language | Default Extension |
|---|---|
| COBOL | .cob |
| C | .c |
| PL/I | .pli |