[Info-vax] fixing a saveset's attributes: attachment, not ftp
Michael Moroney
moroney at world.std.spaamtrap.com
Mon Jun 22 12:23:11 EDT 2015
David Froble <davef at tsoft-inc.com> writes:
>Michael Moroney wrote:
>But, can someone, speaking slowly and using small words so I can
>understand just what the following is doing?
>> $! try to find the blocksize from within the saveset...
>> $ BlockSize = 0
>> $ BBH_L_BLOCKSIZE = %x28*8
>> $ BlockSize = F$Cvui(BBH_L_BLOCKSIZE, 32, Record)
>Just curious ....
DCL is extracting from the first block of the file, the substring starting
at bit %x28*8 (or, in other words, Byte %x28) and extending for 32 bits
(or 4 bytes, or the size of a standard 32 bit int) to the DCL symbol
BlockSize. Apparently, this is where BACKUP stores the block size (in
bytes) of the saveset.
I just looked at a couple backup savesets and this field contains 00007E00
in both of them. This is the usual value of 32256 for BACKUP saveset
block sizes.
More information about the Info-vax
mailing list