[tt]Webrabbit,
Yes, line sequential works. Pardon me; besides the periods, I chopped “Line Sequential” off the example too. When Line Sequential is coded, the X'0D0A' (CRLF) is treated as the end of line/record delimiter like usual. I’ve successfully used this with Record Sequential files as well, note that a Record Sequential REWRITE in conjunction with “,BTAM” caused exceptions at execution time. Compilers; Micro Focus COBOL2 Version 3.0.23 & Fujitsu COBOL97 Version 6.1L10, no others in use at this loc. .
The only reference to this context (of BTAM) I have found to date is contained in Fujitsu’s Cobol 97 User’s Guide for Windows (cob_ug.pdf as provided with PowerCobol 6) Chapter Seven; File Processing, High-Speed File Processing, which provides very little (and somewhat inaccurate) detail.
This is why the “Try” of my previous post. Although I first discovered and utilized this to handle a situation where large quantities of X’08’s thru X’0C’s and the resultant zero-byte insertion had became a major pain, it is still to my knowledge, an undocumented extension. Any use of such mandates careful application and proper verification of results. Even so, this has become standard methodology for handling X’09’ tabs (pc type) here.
If anyone knows of additional documentation, please post the particulars, like title/author/vendor.
Thank you,
Steve[/tt]