Copyright (COPYRIGHT)

Where allowed to run:
  • Batch ILE CL module (*BMOD)
  • Interactive ILE CL module (*IMOD)
Threadsafe: Yes
Parameters
Examples
Error messages

The Copyright (COPYRIGHT) command defines the text of a copyright statement to be added to a CL module.

Restrictions:

Top

Parameters

Keyword Description Choices Notes
TEXT Copyright text Character value Required, Positional 1
Top

Copyright text (TEXT)

Specifies the copyright text to be inserted into the module.

'copyright-text'
Specify the text to be used for the copyright statement. The text will be used exactly as specified. The maximum length allowed is 256 characters.
Top

Examples

Example 1: Setting the Copyright Text for a CL Module

COPYRIGHT   TEXT('Copyright ACME Corp. 1995.  All rights reserved.')

This command specifies the copyright text for the module being created. This text will be displayed when a user runs the Display Module (DSPMOD) command, specifying DETAIL(*COPYRIGHT), for the module.

Top

Error messages

None

Top