From: Campbell, J. <jca...@in...> - 2007-07-16 17:56:29
|
I am trying to use the PZ file parser to parse a fixed length file that looks like the following: HEADER: Contains a date I RECORD (starts a customer set (only occurs once ber customer)) M RECORD (might end a customer set can occur multiple times / customer) A RECORD (Might occur multiple times for each M record) FOOTER: Contains a total record count Example: H20070630 ITEST R USER M0002811 ITEST R USER2 M0002801 M0002803 A2007060120070531 M0002804 M0002811 T000000002 However - the PZMAP requires that I have a header, a footer and 'something' in the middle. In this case the something is actually more 'records' that have specific information. I don't think that the PZMAP file allows for this because a "COLUMN" object is required between a header and footer, which doesn't work in my case because I have different records with different fields. Whats an attack plan using PZ Reader for a file of the nature. I could set it up with the I records as the 'customer header' and have a parser for that and then new parsers for the other body records that would exist - but that seems overly complicated and given the simplicity of the reader layout, I want to think there is a more elegant solution. Any help appreciated. Joe Campbell -- Transparency is not the same as looking straight through a building:=20 it's not just a physical idea, it's also an intellectual one. =20 -- Helmut Jahn Joe Campbell=20 ING Direct jca...@in... IT Development - 302-255-3516 ***************************************************************************= ** This email may contain confidential or privileged information. If you belie= ve you have received the message in error, please notify the sender and delet= e=20 the message without copying or disclosing it. ***************************************************************************= ** |