Command reference / CL
COPYRIGHT
Copyright
Defines the copyright statement text that is added to an ILE CL module.
Allowed environments: *BMOD, *IMOD.
Use within a CL program.
Positional parameters: 1.
Restrictions
- Valid only within an ILE CL module.
- Must follow the PGM command and precede every other command except DCL, DCLF and DCLPRCOPT.
- Only the first COPYRIGHT command is used; the compiler warns about any additional ones.
Parameters
TEXT
Copyright text
The copyright text, inserted into the module exactly as given, up to 256 characters. This parameter is required.
Examples
COPYRIGHT TEXT('Copyright ACME Corp. 1995. All rights reserved.')
Sets the copyright text for the module being created. DSPMOD with DETAIL(*COPYRIGHT) displays it.
Generated from os/cl/catalog/COPYRIGHT.json and os/cl/help/COPYRIGHT.json.