I am getting error in CL program when trying to declare tablewith "Graphic field". Type "GRAPH"
DCLF FILE(MYTABLE)
- CPD085C 40 Graphic field not allowed for variable &DESC.
Is there any way around this?
OS: V7R4M0
I am getting error in CL program when trying to declare tablewith "Graphic field". Type "GRAPH"
DCLF FILE(MYTABLE)
Is there any way around this?
OS: V7R4M0
Copyright © 2021 Jogjafile Inc.
CL doesn't handle graphic types, you can find workarounds in the message full help :
ALWGRAPHIC(*YES)will create aCHAR(x)that will be large enough to contain any binary value ofDESC. If you have to useDESC(compare, modify, ...), it would be better to use a language that knows graphic types.