How can we quickly determine the number of output blocks a file will need on a CMS disk?

2006-06-20 Thread Richard Corak
mapped = blocksize/4 /* # of blks mapped by a single ptr blk */ Recall that for RECFM F a pointer to the next level block requires 4 bytes, but for RECFM V 12 bytes are needed (4 bytes for block number, 4 bytes for last record for that block, 4 bytes for the offset into that block). So, I th

Re: How can we quickly determine the number of output blocks a file will need on a CMS disk?

2006-06-20 Thread Phil Smith III
Mike Walter <[EMAIL PROTECTED]> wrote: >Well, this has been an interesting day. One of our commands to copy files >into production failed to copy a critical file because the output disk was >too full to handle the file. Your DISKSIZE doesn't appear to be dealing with the 2-byte record length p

Re: How can we quickly determine the number of output blocks a file will need on a CMS disk?

2006-06-19 Thread Schuh, Richard
needs? :) Regards, Richard Schuh -Original Message- From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Rich Greenberg Sent: Monday, June 19, 2006 4:37 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: How can we quickly determine the number of output blocks a file

Re: How can we quickly determine the number of output blocks a file will need on a CMS disk?

2006-06-19 Thread Rich Greenberg
On: Mon, Jun 19, 2006 at 05:56:31PM -0500,Mike Walter Wrote: } Well, this has been an interesting day. One of our commands to copy files } into production failed to copy a critical file because the output disk was } too full to handle the file. Just a WAG here Mike, but if the file has more sh

How can we quickly determine the number of output blocks a file will need on a CMS disk?

2006-06-19 Thread Mike Walter
Well, this has been an interesting day.  One of our commands to copy files into production failed to copy a critical file because the output disk was too full to handle the file. We've been using a "DISKSIZE EXEC" for years (posted to the post a long time ago) to determine the number of blocks a