How to fix the Oracle error PCB-00210: DISPLAY-1 only allowed with PIC G and PIC N variables “string”?

In this post, you’ll learn more about the Oracle ErrorPCB-00210: DISPLAY-1 only allowed with PIC G and PIC N variables “string” with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

PCB-00210: DISPLAY-1 only allowed with PIC G and PIC N variables “string”

Reason for the Error PCB-00210: DISPLAY-1 only allowed with PIC G and PIC N variables “string”

Cause: A variable declared with DISPLAY-1 in the usage clause without PIC G or PIC N in the picture clause was used in a SQL statement.

How to fix the Error PCB-00210: DISPLAY-1 only allowed with PIC G and PIC N variables “string” ?

You can fix this error in Oracle by following the below steps

Action: Replace DISPLAY-1 with DISPLAY or change the picture clause to use PIC N or PIC G.

Tags :

Leave Your Comment