The DS2 language does not support the DATA step statements ATTRIB, FORMAT, INFORMAT, LABEL, LENGTH, and others. Variable attributes should be defined with the DECLARE statement and HAVING clause.
Error messages like the following are generated when ATTRIB or LENGTH statements are specified within PROC DS2 code:
Including FORMAT, INFORMAT, or LABEL statements generate syntax errors instead. These keywords are used with the HAVING clause in a DECLARE statement.
This issue is fixed in Rev. 940_18w30.