DSXchange: DataStage and IBM Websphere Data Integration Forum
View next topic
View previous topic
Add To Favorites
Author Message
celso.pupio
Participant



Joined: 20 Aug 2018
Posts: 4
Location: Brasília/Brazil
Points: 58

Post Posted: Thu Jan 02, 2020 8:29 am Reply with quote    Back to top    

DataStage® Release: 11x
Job Type: Parallel
OS: Unix
Hi, guys.

I have a CFF stage to read a 400 bytes fixed block COBOL file.

The records have some end filler bytes. Example: 230 data bytes and 170 filler bytes, according to the book/file definitions.

When I set the fields on the Records tab, if I define 170 bytes for the filler, the second record "goes into" the first one. But if I define just 1 byte, the reading works correctly.

Anyone knows why it happens?


Other question: in certainly position of the record, a column has 8 character bytes - PIC X(8), but some records seems to have an non display data.

On TSO, the fields is like this ("hex on"):

Code:
........
00000000
00000000

The cobol guy said that it's because of non initialized variables or initialized with LOW-VALUES when generating the file.

I could read these records when I set the field as DECIMAL-15 on CFF (layout PIC 9(15) COMP-3), but it will not work with the records that has characters.


Is there some way to handle this cases on DataStage?

Thanks.
Display posts from previous:       

Add To Favorites
View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2002 phpBB Group
Theme & Graphics by Daz :: Portal by Smartor
All times are GMT - 6 Hours