Multiple choice technology mainframe

Which of the following syntax for CONST clause is correct?

  1. 1 #MESSAGE (A50) 'CONST' WE APPRECIATE YOUR BUSINESS

  2. 1 #MESSAGE (A50) CONST<‘WE APPRECIATE YOUR BUSINESS’>

  3. 1 #MESSAGE (A50) <CONST> 'WE APPRECIATE YOUR BUSINESS’

  4. 1 #MESSAGE (A50) CONST ‘WE APPRECIATE YOUR BUSINESS’

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

The correct Natural syntax for CONST clause uses angle brackets around the constant value: CONST<'text'>. Option B correctly shows this format with the value enclosed in angle brackets. Options without angle brackets or with misplaced quotes are incorrect - Natural requires the angle bracket syntax for constants to distinguish them from variables and string literals.