>>-#--pragma--comment-------------------------------------------> >--(--+-+-compiler--+--------------------------+--)------------>< | +-date------+ | | '-timestamp-' | '-+-copyright-+--+---------------------+-' '-user------' '-,--"--characters--"-'
Description
Emits a comment into the program or service program object. This can be shown by DSPPGM or DSPSRVPGM with DETAIL(*COPYRIGHT). This pragma must appear before any C code or directive (except for the #line directive) in a source file.
Parameters
Valid settings for the comment pragma can be:
Notes on Usage
The copyright and user comment types are virtually the same for the ILE C/C++ compiler. One has no advantage over the other.
The maximum number of characters in the text portion of a #pragma comment(copyright) or #pragma comment(user) directive is 256.
The maximum number of #pragma comment directives that can appear in a single compilation unit is 1024.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.