You can assign a different autocomment for each file that
you edit in the editor. When you invoke the autocomment feature, an
initial base autocomment is provided. You can modify this base autocomment
while using the autocomment feature; this only changes the base autocomment
for the current file.
To modify the base autocomment, complete the following steps:
- In the editor, right-click to open the pop-up menu.
- Select to
open the Change Flag Insertion dialog box.
- In the Base Flag field, type the
new base portion of the autocomment that you want to use.
Tip: To invoke autocomment using a base comment that contains
spaces, enclose the base comment with double quotation marks. For
example, to invoke autocomment with a base comment of
&N,
type:
autoComment on "&N"
The
&N user
variable represents the name of the z/OS® UNIX System Services project. Project
level user variables are supported in autocomment commands; file level
user variables are not supported.
- From the Language
Profile drop-down list, select one of the following language
profiles that you want to use:
- HLASM - profile for assembler files
- C - profile for C files
- CPP - profile for C++ files
- BUILD - profile for build script files
- PLI - profile for PL/I files
- ST - profile for SabreTalk files.
- JAVA - profile for Java™ files
- COBOL - profile for COBOL files
- Other - custom profile that you created
- Click OK to save your selections.
A comment appears in the status line to indicate that the
autocomment feature is started. For example:AutoComment ON - Profile:CPP Comment:/*JDoe_04*/.
Your
new base comment is now used.