On Sat, 2 Apr 2011 11:14:42 +0200, Monika Amiss wrote: > >I'm wondering if there is a way to get the size of a temporary QSAM-Dataset >programmatically >without opening and seeking to the end of the file. The program, which needs >the size information >is written in C (and so can call Assembler) and runs in z/OS-Batch. I played >around with fstat() >but did not get my results. > If a UNIX file meets your needs (it might, since QSAM supports UNIX files nowadays), try allocating your temporary to a UNIX file. fstat() is more likely to work with a UNIX file.
-- gil ---------------------------------------------------------------------- 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

