Cobol table definiton error for PIC 9(20).

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
sravanthi
Participant
Posts: 83
Joined: Fri Jun 02, 2006 5:37 am

Cobol table definiton error for PIC 9(20).

Post by sravanthi »

Hi,

We have a cobol file defintion with column having PIC 9(20).When i try to import this definiton it is showing an error:

PIC Numeric is too long (number of precision and scale is allowed up to 18)

Please advice!
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

The largest integer supported (BigInt) has 18 digits. You will need to read this field as X(20).
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply