Import error in cff stage for a comp value

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
anandsh16
Premium Member
Premium Member
Posts: 17
Joined: Tue Dec 12, 2006 3:34 am

Import error in cff stage for a comp value

Post by anandsh16 »

Hi
While reading a mainframe file i am getting below error

>##E TOIX 000227 09:10:51(002) <cffRequest,0> Trouble importing field "FILLER_3"; data: {0 { 0 0 { 0 0 { 0 0 { 0 0 {

The filler_3 is defined as
07 FILLER PIC S9(09) COMP VALUE 6380.

record options are
data format = text
character set = EBCDIC

After importing the copybook, FILLER_3
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Unlike the other COMPutational fields, the simple "COMP" is not standardized and depends upon the compiler writer. It is likely that we have a BCD encoding, so S9(9) COMP would take up 5 bytes. As fillers are usually just placeholders, and in your case contain the same value for each row due to the "VALUE 6380." part of the COBOL PICture, just declare the column as PIC X(5) and see if the file is legible.
Post Reply