Oracle Message PCB-00200 - Cannot equivalence PIC N or PIC G variable string

ERRORCannot equivalence PIC N or PIC G variable string
CAUSEA PIC N/G variable, an implicit VARCHAR group item with a PIC N/G elementary item, or a group item with a PIC N/G elementary item was used in an EXEC SQL VAR statement. This is not allowed.
ACTIONDo not use the PIC N variable in an EXEC SQL VAR statement. If you want an equivalence to an Oracle type using an EXEC SQL VAR statement, use a PIC X variable, instead of a PIC N variable.