ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

When to use COPYRIGHT statement

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • When to use COPYRIGHT statement

    So when do you use the COPYRIGHT statement in your RPG code (and CL code)? Do you use it for your commercially sold software? I would assume yes. What about your in-house code? Just wondering. And it would make sense to me to put the copyright in an INCLUDE file for consistency. Thanks.

    Code:
    dcl-opt copyright('(C) My Company 2023')
    Code:
    COPYRIGHT  TEXT('(C) My Company 2023')
    ​​
    Ringer

  • #2
    I think it can be useful to include versioning information in the Copyright as it can help in checking whether the program version matches the source.

    Comment

    Working...
    X