>Basically, my problem was that I had an "invoke data map" command >where the name of the data map itself was less than 8 characters. >With fixed length format the record looked like this: >5A0010D3ABCA000000D7F2C4E2D4E3F140404040404040404040... (with >spaces (x40) padding to the end of the record)
Note that the case of your fixed length record will fail should that file ever be sent to and processed on a platform that does not have a concept of "logical record length" that is tied to a file. Then, the structured field length is the only means that an AFP data stream interpreter has left to find out where the next logical record starts. In the above case, the next record after the IDM record would start at offset 17 from the X'5a', which is a blank (X'40') and this most probably yields an error. -- Peter Hunkeler CREDIT SUISSE AG ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

