Create a flat file dictionary with the following definitions.
Header
OrdHdr
OrdLin
Trailer
Choose the Delimiter Record Parser.
Create a Record reference to Header (Occurs 1) and name it HDR
Create a sub Record Reference to OrdHdr(Occurs unlimited) and name it 000
Create a sub record Reference to OrdLin(Occurs unlimited) and name it recordWithNoID
Create a Record Refernce below the HDR to Trailer (occurs 1) and name it TLR
Also in the Settings tab, set the Default Record to OrdLin refering to the above dictionary.
Thanks for the response. However, my problem is that the file is not delimited, it’s fixed-length, and as you saw in my original post, each type of record in the file has a different length.
I was able to make it work by doing pretty much the same thing you explained and by padding each line in the file to 457 characters before parsing. I would like, however, not to have to do the padding.