VB Cobol file in DS

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
vijayrc
Participant
Posts: 197
Joined: Sun Apr 02, 2006 10:31 am
Location: NJ

VB Cobol file in DS

Post 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
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Could you tell us what the "various errors" are/were? Is a variable block file one with different record types?
vijayrc
Participant
Posts: 197
Joined: Sun Apr 02, 2006 10:31 am
Location: NJ

Post 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? ...
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

DataStage should be able to handle this type of file, so knowing what errors you are getting would help.
Post Reply