HLASM Programmer's Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


COMPAT

HLASM Programmer's Guide
SC26-4941-06

Read syntax diagramSkip visual syntax diagram
   .-NOCOMPAT------------------------------.   
>>-+---------------------------------------+-------------------><
   |         .-,-------------------.       |   
   |         V   .-NOCASE-.        | (1)   |   
   '-COMPAT(---+-+--------+------+-+-----)-'   
               | '-CASE---'      |             
               | .-NOLITTYPE-.   |             
               +-+-----------+---+             
               | '-LITTYPE---'   |             
               | .-NOMACROCASE-. |             
               +-+-------------+-+             
               | '-MACROCASE---' |             
               | .-NOSYSLIST-.   |             
               +-+-----------+---+             
               | '-SYSLIST---'   |             
               | .-NOTRANSDT-.   |             
               '-+-----------+---'             
                 '-TRANSDT---'                 

Notes:
  1. Choose at least one option.
Default
NOCOMPAT
Abbreviations
CPAT(CASE, NOCASE, LIT, NOLIT, MC, NOMC, SYSL, NOSYSL,TRS,NOTRS) / NOCPAT

MC as a COMPAT abbreviation means "MACROCASE", but for PCONTROL, means "MCALL".

Parameter of ACONTROL statement
You can specify the COMPAT (or NOCOMPAT) option as a parameter of the ACONTROL statement. For further details, refer to the "ACONTROL instruction" in the HLASM Language Reference.
CASE
Instructs the assembler to maintain uppercase alphabetic character set compatibility with earlier assemblers. It restricts language elements to uppercase alphabetic characters A through Z if they were so restricted in earlier assemblers.
NOCASE
Instructs the assembler to allow a mixed-case alphabetic character set.
LITTYPE
Instructs the assembler to return "U" as the type attribute for all literals.
NOLITTYPE
Instructs the assembler to provide the correct type attribute for literals once they have been defined.
MACROCASE
Instructs the assembler to convert (internally) lowercase alphabetic characters (a through z) in unquoted macro operands to uppercase alphabetic characters (A through Z).
Note: A quoted macro operand begins and ends with an apostrophe. Operands containing an apostrophe that do not begin and end with apostrophes are considered unquoted.
NOMACROCASE
Instructs the assembler not to convert (internally) lowercase alphabetic characters (a through z) in unquoted macro operands.
SYSLIST
Instructs the assembler to treat sublists in SETC symbols as compatible with earlier assemblers. SETC symbols that are assigned parenthesized sublists are treated as character strings, not sublists, when passed to a macro definition in an operand of a macro instruction.
NOSYSLIST
Instructs the assembler not to treat sublists in SETC symbols as character strings, when passed to a macro definition in an operand of a macro instruction.
TRANSDT
Instructs the assembler to extend use of the translation table, as specified by the TRANSLATE assembler option, to any C-type character Self-Defining Terms.
NOTRANSDT
Instructs the assembler not to translate any C-type character Self-Defining Terms.
NOCOMPAT
Instructs the assembler to allow lowercase alphabetic characters a through z in all language elements, to treat sublists in SETC symbols as sublists when passed to a macro definition in the operand of a macro instruction, and to provide the correct type attribute for literals once they have been defined.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014