BlockSize (Dataset property)

From m204wiki
Revision as of 16:40, 20 May 2011 by JAL2 (talk | contribs) (Created page with "==BlockSize (Dataset property)== This numeric property indicates the block size for the dataset. It is only settable while the object is in the <var>Closed</var> state. An attemp...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

BlockSize (Dataset property)

This numeric property indicates the block size for the dataset. It is only settable while the object is in the Closed state. An attempt to set it while the dataset is not closed results in request cancellation.

BlockSize syntax

%blksz = %dataset:BlockSize %dataset:BlockSize = %blksz

Syntax terms

%blksz A variable to receive the blocksize of the dataset or

to be used to set the dataset's blocksize.

%dataset A reference to an instance of a Dataset object.

Usage Notes

  • Blocksize can be set to any value from 1 to 32767.
  • If Blocksize is never set for a dataset before it is opened, the open process will attempt to determine an appropriate blocksize for the dataset.
  • For input datasets, the blocksize will usually be set from the input file attributes, whether or not the Blocksize property had been set.