In this section: |
You can create a procedure with a system editor. When creating a procedure, you must follow these rules:
Reference: |
It is good practice to include comments in a procedure for the benefit of others who may use it. It is particularly recommended that you use comments in a procedure heading to supply the date, the version, and other relevant information. Two styles of comments are available:
You can place a comment in a procedure in the following ways:
-RUN -*Version 3 06/10/00
The following example places WebFOCUS-style comments at the beginning of a procedure.
-* Version 1 08/26/02 HRINFO Procedure TABLE FILE CENTHR . . .
The following example places C-style comments in a procedure.
TABLE FILE GGSALES /* this is a multi-line comment that will not interfere with processing and will be ignored until the comment is closed with */ SUM /* Another comment */ DOLLARS . . .