These preferences are available from the
page.
The following preferences enable you to specify code changes when you use
when a program is open in the editor.
General preferences
- Keyword case style
- Specify your preferences for the case style of the COBOL keywords.
- No preference - no case style changes will be applied.
- Prefer lowercase - all COBOL keywords converted to lowercase.
- Prefer uppercase
- all COBOL keywords converted to uppercase.
- Identifier case style
- Specify your preferences for the case style of the COBOL identifiers.
- No preference - no case style changes will be applied.
- Prefer lowercase - all COBOL identifiers converted to lowercase.
- Prefer uppercase
- all COBOL identifiers converted to uppercase.
Identification Division preferences
- Identification Division header keyword
- Specify your preferences for the style of the IDENTIFICATION keyword:
- No preference - no code style changes will be applied.
- Prefer 'IDENTIFICATION' - formatting with code clean up changes ID to IDENTIFICATION.
- Prefer 'ID'
- formatting with code clean up changes IDENTIFICATION to ID.
Data Division preferences
- Data item qualification separator
- Specify the prefix to use in field names - either OF or IN (A-COUNT of A-WORK-1):
- No preference - no code style changes will be applied.
- Prefer 'OF' - formatting with code clean up changes the prefix in field names to OF.
- Prefer 'IN' - formatting with code clean up changes the prefix in field names to IN.
- PICTURE clause
- Specify your preferences for the style of the PICTURE keyword:
- No preference - no code style changes will be applied.
- Prefer 'PIC' - formatting with code clean up changes all instances of PICTURE with PIC.
- Prefer 'PICTURE' - formatting with code clean up changes all instances of PIC with PICTURE.
- USAGE clause
- Specify whether to use the USAGE keyword:
- No preference - no code style changes will be applied.
- Remove when optional - formatting with code clean up removes the USAGE keyword and the IS keyword when they are optional.
- BINARY data format
- Specify your preferences for indicating BINARY data:
- No preference - no code style changes will be applied.
- Prefer 'BINARY' - formatting with code clean up sets the binary data format keyword to BINARY.
- Prefer 'COMP' - formatting with code clean up sets the binary data format keyword to COMP.
- Prefer 'COMP-4' - formatting with code clean up sets the binary data format keyword to COMP-4.
- COMP data format
- Specify your preferences for indicating COMP data:
- No preference - no code style changes will be applied.
- Prefer 'COMP' - formatting with code clean up changes all instances of COMPUTATIONAL with COMP.
- Prefer 'COMPUTATIONAL' - formatting with code clean up changes all instances of COMP with COMPUTATIONAL.
Procedure Division preferences
- Operator style
- Specify whether to use symbols for operators:
- No preference - no code style changes will be applied.
- Prefer symbols - formatting with code clean up replaces keywords for operators with symbols.
- THEN clause
- Specify whether to use the THEN keyword:
- No preference - no code style changes will be applied.
- Remove when optional - formatting with code clean up removes the THEN keyword when it is optional.