Mike Bell wrote:
And what happens when the filesize is larger than largeint?  That is only
2GB for normal pc signed field.

Nothing. I mentioned DOS system, with partition limited to 2GB, and filesize limited to 4GB (size >2GB isavailable on network drives, i.e. on Netware). Function returns 32-bit (unsigned) value

What happens if the file is open and being extended at that point in time -
PC expects complete ownership of any file you reference.

AFAIK the information can be accessed even if the file is open. BTW: DOS was single-program, so multiple opens in fact require network. Nevermind, I could accept "file is busy" status in such case. I accept it when I do I-like-Info on ISPF/PDF screen, 3.4 DSLIST, on my advanced, sophisticated, shining z/OS.

I expect these limitations on the PC - they are not acceptable on Z/os.

Especially in simple COBOL-written batch program using DD with DISP=OLD, or MOD, or NEW. <vbg>
Let's leave all the open files, VSAM RLS etc. to *Advanced* services.
I'd like to know the file size when starting my simple COBOL program, just to tell "File size is nnn MBytes" to the sysout. Let me know, what is the function name ? <vbg>




--
Radoslaw Skorupka
Lodz, Poland

----------------------------------------------------------------------
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

Reply via email to