

Reporting Facility Commands › NOTE Command
NOTE Command
(Areas 1,2A,2B,3,4A,4B)
The NOTE command enables you to insert comments or documentation into the source program.
The format of the NOTE command is as follows:
►►─ NOTE ─┬───────────────┬───────────────────────────────────────────────────►◄
└─ Any comment ─┘
Note the following:
- NOTE commands print during the compilation only if you specify OPTION LIST ON. You can place the NOTE commands at any point within the source program. However, do not place your NOTE commands inside other commands.
- NOTE commands do not influence compilation, but serve only as comments.
- Any combination of characters is permissible within the NOTE command. Termination of the comment occurs at the end of the source record on which the NOTE command occurs. The Reporting Facility automatically resumes extraction of character strings at the beginning of the next source record.
- Multiple NOTE commands produce longer comments and graphic displays.
Example
NOTE*********************************************************
NOTE *
NOTE *
NOTE THIS IS AN EXAMPLE OF HOW TO *
NOTE FORM A COMMENT BLOCK WITHIN *
NOTE A REPORTING FACILITY PROGRAM. *
NOTE *
NOTE *
NOTE*********************************************************
Copyright © 2014 CA.
All rights reserved.
 
|
|