autoComment 開啟
autoComment On 指令會呼叫現行檔案的自動註解特性。
語法
autoComment On [<language_profile_name> |DEFAULT][<base_auto_comment>]提示: autoComment 指令區分大小寫; 引數不區分大小寫。
引數
- <language_profile_name>
- 指定您要使用的語言設定檔名稱。提示: 建議您使用 DEFAULT ,而不是在呼叫自動註解時指定語言設定檔。 如果您使用 DEFAULT,則會根據副檔名,將預設語言設定檔指派給檔案。
- 預設值
- 根據副檔名,將預設語言設定檔指派給現行檔案。 例如,如果檔案具有 .asm 副檔名,則 HLASM 語言設定檔會套用至選取的檔案。附註: 如果無法判斷現行檔案類型的副檔名關聯,依預設會使用 C 語言設定檔。
- <base_auto_comment>
- 指定您要使用之自動註解的基本部分。 如果您未指定基本自動註解,則會發生下列其中一項:
- If you specified the <language_profile_name>, a blank auto comment is used.
- If you did not specify the <language_profile_name>, the last autocomment used in the current editor session is used; if no auto comments have been used in the current session, a blank autocomment is used.
提示: 若要使用包含空格的基本註解來呼叫自動註解,請以雙引號括住基本註解。 例如,若要使用基本註解 &N來呼叫自動註解,請指定下列指令:
&N 使用者變數代表 z/OS® UNIX® System Services 專案的名稱。 在自動註解指令中支援專案層次使用者變數; 不支援檔案層次使用者變數。autoComment on "&N"