Page 1 of 1

VB Cobol file in DS

Posted: Sun Apr 09, 2006 1:42 pm
by vijayrc
Hi,
I'm using Complex Flat File stage for using a Variable Block COBOL file.
I PFTP'ed the file to the DS Server and data looks good. But when I try to View Data, I am hitting a roadblock with various errors. A newbie here :roll: , can anyone just guide me on how to get a COBOL Variable Block file to be used in DS. Thanks in advance. VijayRC

Posted: Sun Apr 09, 2006 2:52 pm
by ArndW
Could you tell us what the "various errors" are/were? Is a variable block file one with different record types?

Posted: Sun Apr 09, 2006 3:23 pm
by vijayrc
Yes..This VB file has 4 different record layouts. The file layout is as follows: First few bytes are common across record types and then based on record types, the length varies. I don't exactly remember the 'errors', but can tell you later.
-VJ
ArndW wrote:Could you tell us what the "various errors" are/were? Is a variable block file one with different record types? ...

Posted: Mon Apr 10, 2006 1:33 am
by ArndW
DataStage should be able to handle this type of file, so knowing what errors you are getting would help.