RecordFormat (Dataset property)

From m204wiki
Revision as of 16:47, 20 May 2011 by JAL2 (talk | contribs) (Created page with "This <var>RecordFormat</var> enumeration property indicates the physical record format of the input or output blocks. It is only settable while the object is in the <var>Closed</...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This RecordFormat enumeration property indicates the physical record format of the input or output blocks. 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.

RecordFormat syntax

%recfm = %dataset:recordFormat %dataset:recfm = %recfm

Syntax terms

%recfm A RecordFormat enumeration variable to receive the value indicating

the dataset record format or to be used to set the dataset's record format.

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

Usage Notes

  • RecordFormat is a bit of a misnomer in that it describes both the block and the record format.
  • If RecordFormat is never set for a dataset before it is opened, the open process will attempt to determine an appropriate record format for the dataset.
  • For input datasets, the record format will usually be set from the input file attributes, whether or not the RecordFormat property had been set.