On 10/7/2012 6:14 PM, Paul Gilmartin wrote:
Does BFTEK=A apply to output, or only to input?
Input only; otherwise life would be too easy <g>
If an empty segment is allowed as an interior segment, a programmer
could inflate a logical record with an arbitrary number of empty
segments. Ugh!
I ran some more test, and the results were interesting:
1) PUT VBS with 00040100, 00040300, and 00040200 produced three
records of 00040000 - flags got turned off. GET with and without
the logical record interface sees three null records.
I zapped the data set to restore the segment bits I really wanted:
2) GET VBS sees three records.
3) GET VBS with BFTEK=A sees none of them.
I'd much rather see 002 abends for 1) and 3)
So a minimal documentation change should read that a short SDW,
with QSAM, will give funny results, and should not be used.
Gerhard Postpischil
Bradford, VT
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN