Error DQ836E - YOUR PICTURE OR HEADING CLAUSE IS MISPLACED
search cancel

Error DQ836E - YOUR PICTURE OR HEADING CLAUSE IS MISPLACED

book

Article ID: 36546

calendar_today

Updated On:

Products

Datacom DATACOM - AD Datacom/AD Datacom/DB

Issue/Introduction

Using the following valid syntax but getting error DQ836E:

ORDER-ENT-DT 'ORDER DATE' PICTURE '99/99/99'
DQ836E - YOUR PICTURE OR HEADING CLAUSE IS MISPLACED

Environment

Release: All supported releases.

Cause

The error can occur when a PICTURE clause is specified on a character field, it can only be used on numeric fields. In this case the date field is defined as character not numeric.

Resolution

Either remove the PICTURE clause for the field defined as character or redefine the field as numeric.