All of this simply proves the inherent superiority of using z/OS UNIX directories and files. There is no such thing a LRECL or RECFM. So you can make the LRECL any value you need, subject to it being long enough for the longest "logical record" in the file. The RECFM can be F or V as desired. If F, then QSAM will return blank padded records if the data is less than the LRECL. If V, QSAM will create a valid LLBB describing the record.
In all fairness, I must admit this fails miserably for data which is not textual. Unless you use FILEDATA=RECORD. Which is kinda, sorta like VB in normal files. Except that the record length is a fullword instead of a halfword. And does not include the length of the fullword, but only the length of the data. Which seems much more logical to me than LLBB. On Mon, Apr 22, 2013 at 11:30 AM, Elardus Engelbrecht < [email protected]> wrote: -- This is a test of the Emergency Broadcast System. If this had been an actual emergency, do you really think we'd stick around to tell you? Maranatha! <>< John McKown ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
